[MacPorts] #58972: gr-osmosdr: build error

MacPorts noreply at macports.org
Sun Sep 8 04:25:06 UTC 2019


#58972: gr-osmosdr: build error
----------------------+----------------------------
 Reporter:  vamsi765  |      Owner:  michaelld
     Type:  defect    |     Status:  assigned
 Priority:  Normal    |  Milestone:  MacPorts 2.6.0
Component:  ports     |    Version:  2.5.4
 Keywords:  ld error  |       Port:  gr-osmosdr
----------------------+----------------------------
 Building the gr-osmosdr give me the following error:
 {{{
 sudo port install gr-osmosdr
 --->  Computing dependencies for gr-osmosdr
 --->  Fetching archive for gr-osmosdr
 --->  Attempting to fetch gr-osmosdr-
 20170704_7+airspy+bladeRF+docs+fcdproplus+hackrf+rtlsdr+sdrplay+soapysdr+swig+uhd.darwin_18.x86_64.tbz2
 from https://packages.macports.org/gr-osmosdr
 --->  Attempting to fetch gr-osmosdr-
 20170704_7+airspy+bladeRF+docs+fcdproplus+hackrf+rtlsdr+sdrplay+soapysdr+swig+uhd.darwin_18.x86_64.tbz2
 from http://aus.us.packages.macports.org/macports/packages/gr-osmosdr
 --->  Attempting to fetch gr-osmosdr-
 20170704_7+airspy+bladeRF+docs+fcdproplus+hackrf+rtlsdr+sdrplay+soapysdr+swig+uhd.darwin_18.x86_64.tbz2
 from http://ywg.ca.packages.macports.org/mirror/macports/packages/gr-
 osmosdr
 --->  Fetching distfiles for gr-osmosdr
 --->  Verifying checksums for gr-osmosdr
 --->  Extracting gr-osmosdr
 --->  Applying patches to gr-osmosdr
 --->  Configuring gr-osmosdr
 --->  Building gr-osmosdr
 Error: Failed to build gr-osmosdr: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/main.log for
 details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port gr-osmosdr failed
 }}}

 Log:

 {{{
 :info:build ld: file not found: /opt/local/lib/libgnuradio-
 runtime.3.7.12.0.dylib for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[2]: *** [lib/libgnuradio-osmosdr.0.1.5git.dylib] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/work/build'
 :info:build make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/work/build'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/work/build'
 :info:build 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" &&
 /usr/bin/make -j4 -w all VERBOSE=ON
 :info:build Exit code: 2
 :error:build Failed to build gr-osmosdr: command execution failed
 :debug:build Error code: CHILDSTATUS 43367 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 }}}

 I have gnu radio version:
 {{{
 gnuradio
 @3.7.13.5_1+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq
 (active)
 }}}

 But it still somehow looking for older version[3.7.12.0] of gnu radio.

 I have cleaned and build many times, along with gnuradio.

-- 
Ticket URL: <https://trac.macports.org/ticket/58972>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list