Opened 8 years ago

Closed 8 years ago

#54010 closed defect (fixed)

gr-osmosdr @20170227_1 (science, comms): Fails to build on OSX 10.12.4

Reported by: andrewmh20 (Andrew) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: gr-osmosdr gr-baz gr-fcdproplus

Description

When attempting to build osmosdr the build fails with the following error:

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

The log file shows:

:info:build ld: symbol(s) not found 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 54847 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 got a similar error for gr-baz:

:info:build ld: symbol(s) not found 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-baz.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-baz/gr-baz/work/build'
:info:build make[1]: *** [lib/CMakeFiles/gnuradio-baz.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-baz/gr-baz/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-baz/gr-baz/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-baz/gr-baz/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build gr-baz: command execution failed
:debug:build Error code: CHILDSTATUS 55358 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"

And another similar one for gr-fcdproplus

:info:build ld: symbol(s) not found 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-fcdproplus.3.7.2.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-fcdproplus/gr-fcdproplus/work/build'
:info:build make[1]: *** [lib/CMakeFiles/gnuradio-fcdproplus.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-fcdproplus/gr-fcdproplus/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-fcdproplus/gr-fcdproplus/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-fcdproplus/gr-fcdproplus/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build gr-fcdproplus: command execution failed
:debug:build Error code: CHILDSTATUS 56162 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"

Change History (4)

comment:1 Changed 8 years ago by michaelld (Michael Dickens)

This is a known issue; l'm working on it. Something to do with the recent log4cpp update. See also [05583ab2ca0bdb709f04144bbd40526fb627c6b4/macports-ports].

Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Cc: michaelld removed
Owner: set to michaelld
Port: gr-fcdproplus added; gr-fdproplus removed
Status: newassigned

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

In 91dd35333bbcbd39eeaabf17ba037eeed20d9304/macports-ports:

log4cpp: Remove static variable declaration

Remove appenderMapStorageInitializer static variable, because: (1) that's not how it should be declared; and (2) it's not used internal to log4cpp & thus probably should not be externally either. Rev-bump for change to take effect.

Addresses ticket #54010 .

comment:4 Changed 8 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.