Opened 9 years ago

Closed 9 years ago

#50961 closed defect (worksforme)

gr-osmosdr: GnuRadio version required: >="3.7.8" found: "3.7.7.git"

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

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

Seems to find the wrong gnu radio version, I have 3.7.9.1. installed.

Any suggestions?

log excerpt:

:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/work/build" && /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DENABLE_IQBALANCE=OFF -DENABLE_OSMOSDR=OFF -DENABLE_FCD=ON -DENABLE_FILE=ON -DENABLE_MIRI=OFF -DENABLE_RFSPACE=ON -DENABLE_SOAPY=OFF -DENABLE_REDPITAYA=OFF -DPYTHON_EXECUTABLE=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Headers -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python -DGR_PYTHON_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages -DDOXYGEN_DOT_EXECUTABLE=/opt/local/bin/dot -DDOXYGEN_EXECUTABLE=/opt/local/bin/doxygen -DENABLE_UHD=ON -DGNURADIO_UHD_INCLUDE_DIRS=/opt/local/include -DGNURADIO_UHD_LIBRARIES=/opt/local/lib/libgnuradio-uhd.dylib -DUHD_INCLUDE_DIRS=/opt/local/include/uhd -DUHD_LIBRARIES=/opt/local/lib/libuhd.dylib -DSWIG_EXECUTABLE=/opt/local/bin/swig -DENABLE_HACKRF=ON -DENABLE_FCDPP=ON -DENABLE_RTL=ON -DENABLE_RTL_TCP=ON -DENABLE_BLADERF=ON -DENABLE_AIRSPY=ON -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.11" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/work/gr-osmosdr-164a09fc11cec2d8b15b38e8b512fa542d6cecc7 
:info:configure -- Configuring Boost C++ Libraries...
:info:configure -- Boost version: 1.59.0
:info:configure -- Found the following Boost libraries:
:info:configure --   thread
:info:configure --   system
:info:configure --   chrono
:info:configure --   date_time
:info:configure --   atomic
:info:configure Checking for GNU Radio Module: RUNTIME
:info:configure  * INCLUDES=/opt/local/include
:info:configure  * LIBS=/opt/local/lib/libgnuradio-runtime.dylib;/opt/local/lib/libgnuradio-pmt.dylib
:info:configure GNURADIO_RUNTIME_FOUND = TRUE
:info:configure Checking for GNU Radio Module: BLOCKS
:info:configure  * INCLUDES=/opt/local/include
:info:configure  * LIBS=/opt/local/lib/libgnuradio-blocks.dylib;/opt/local/lib/libgnuradio-runtime.dylib;/opt/local/lib/libgnuradio-pmt.dylib
:info:configure GNURADIO_BLOCKS_FOUND = TRUE
:info:configure Checking for GNU Radio Module: PMT
:info:configure  * INCLUDES=/opt/local/include
:info:configure  * LIBS=/opt/local/lib/libgnuradio-runtime.dylib;/opt/local/lib/libgnuradio-pmt.dylib
:info:configure GNURADIO_PMT_FOUND = TRUE
:info:configure CMake Error at CMakeLists.txt:156 (MESSAGE):
:info:configure   GnuRadio version required: >="3.7.8" found: "3.7.7.git"
:info:configure 
:info:configure 
:info:configure -- Configuring incomplete, errors occurred!
:info:configure See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/work/build/CMakeFiles/CMakeOutput.log".
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/work/build" && /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DENABLE_IQBALANCE=OFF -DENABLE_OSMOSDR=OFF -DENABLE_FCD=ON -DENABLE_FILE=ON -DENABLE_MIRI=OFF -DENABLE_RFSPACE=ON -DENABLE_SOAPY=OFF -DENABLE_REDPITAYA=OFF -DPYTHON_EXECUTABLE=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Headers -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python -DGR_PYTHON_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages -DDOXYGEN_DOT_EXECUTABLE=/opt/local/bin/dot -DDOXYGEN_EXECUTABLE=/opt/local/bin/doxygen -DENABLE_UHD=ON -DGNURADIO_UHD_INCLUDE_DIRS=/opt/local/include -DGNURADIO_UHD_LIBRARIES=/opt/local/lib/libgnuradio-uhd.dylib -DUHD_INCLUDE_DIRS=/opt/local/include/uhd -DUHD_LIBRARIES=/opt/local/lib/libuhd.dylib -DSWIG_EXECUTABLE=/opt/local/bin/swig -DENABLE_HACKRF=ON -DENABLE_FCDPP=ON -DENABLE_RTL=ON -DENABLE_RTL_TCP=ON -DENABLE_BLADERF=ON -DENABLE_AIRSPY=ON -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.11" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/work/gr-osmosdr-164a09fc11cec2d8b15b38e8b512fa542d6cecc7 
:info:configure Exit code: 1
:error:configure org.macports.configure for port gr-osmosdr returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"portconfigure::configure_main org.macports.configure"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:configure Warning: targets not executed for gr-osmosdr: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Please see the log file for port gr-osmosdr for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/main.log

Attachments (1)

main.log (12.1 KB) - added by kgarrels 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by kgarrels

Attachment: main.log added

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to michaelld@…
Summary: gr-osmosdr does not buildgr-osmosdr: GnuRadio version required: >="3.7.8" found: "3.7.7.git"

comment:2 Changed 9 years ago by michaelld (Michael Dickens)

Try the following:

gri=$(port installed "gnuradio*" and active | sed -e 1d -e "s@(active)@@")
sudo port -f deactivate $gri
sudo port activate $gri
sudo port clean gr-osmosdr
sudo port install gr-osmosdr

and see if that works. If not, I'll dig into the code.

comment:3 Changed 9 years ago by michaelld (Michael Dickens)

Resolution: worksforme
Status: newclosed

Fixed off-ticket. The issue was cruft files residing in /opt/local/lib/cmake/gnuradio . Cruft happened.

Note: See TracTickets for help on using tickets.