Opened 14 months ago

Last modified 14 months ago

#67035 assigned defect

gr-osmosdr fail to build with +iio in macOS 10.15.7

Reported by: YesNo801 Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gr-osmosdr

Description (last modified by ryandesign (Ryan Carsten Schmidt))

command to install and build:

$ sudo port install gr-osmosdr +iio

...

Fetching archive for gr-iio
...
--->  Fetching distfiles for gr-osmosdr
--->  Verifying checksums for gr-osmosdr
--->  Extracting gr-osmosdr
--->  Applying patches to gr-osmosdr
--->  Configuring gr-osmosdr

Error: Failed to configure gr-osmosdr: consult Error: Processing of port gr-osmosdr failed

Attachments (2)

f1-CMakeError.log (3.9 KB) - added by YesNo801 14 months ago.
f2-main.log (663.1 KB) - added by YesNo801 14 months ago.

Download all attachments as: .zip

Change History (3)

Changed 14 months ago by YesNo801

Attachment: f1-CMakeError.log added

Changed 14 months ago by YesNo801

Attachment: f2-main.log added

comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: gr-osmosdr removed
Owner: set to michaelld
Status: newassigned

The relevant error from the main.log might be:

CMake Error at lib/plutosdr/CMakeLists.txt:30 (target_link_libraries):
  Attempt to add link library "/opt/local/lib/libgnuradio-iio.dylib" to
  target "gnuradio-osmosdr" which is not built in this directory.
  This is allowed only when policy CMP0079 is set to NEW.

Though I also see this which looks a little weird since the port does declare a dependency on gmp (and mpir):

-- Checking for module 'gmp'
--   Found gmp, version 6.2.1
-- Could NOT find GMP (missing: GMPXX_LIBRARY GMP_LIBRARY GMP_INCLUDE_DIR)
-- GMP not found; this is not a problem if MPIR can be found.
-- Checking for module 'mpir >= 3.0'
--   No package 'mpir' found
-- Found MPIR: /opt/local/lib/libmpirxx.dylib 
-- MPIR found
-- Found MPLIB: /opt/local/lib/libmpirxx.dylib 
Note: See TracTickets for help on using tickets.