Opened 10 years ago

Closed 10 years ago

#45468 closed defect (fixed)

nload 0.7.2 build failure (clang linker failure)

Reported by: lhl@… Owned by: raphael-st (Raphael Straub)
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: yosemite mavericks Cc:
Port: nload

Description

Doing a clean reinstall/migration w/ MacPorts 2.3.2 for OS X Yosemite 10.10, all my packages reinstalled without issues except for nload. I am using the XCode CLI tools-only.

Here's my version of clang:

Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix

It's using the nload-0.7.2.tar.gz package:

:debug:fetch fetch phase started at Sun Oct 19 13:44:11 PDT 2014
:notice:fetch --->  Fetching distfiles for nload
:debug:fetch Executing org.macports.fetch (nload)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Sun Oct 19 13:44:11 PDT 2014
:notice:checksum --->  Verifying checksums for nload
:debug:checksum Executing org.macports.checksum (nload)
:info:checksum --->  Checksumming nload-0.7.2.tar.gz
:debug:checksum Calculated (md5) is 5b851ecf898edcd1f465946745e95eb6
:debug:checksum Correct (md5) checksum for nload-0.7.2.tar.gz
:debug:checksum Calculated (sha1) is fe1f6e93a9233b55a61580a23e94edc965583fa3
:debug:checksum Correct (sha1) checksum for nload-0.7.2.tar.gz
:debug:checksum Calculated (rmd160) is e4e7cee98de4b83106998f4552f4e1e0071f61f4
:debug:checksum Correct (rmd160) checksum for nload-0.7.2.tar.gz

And here's the relevant error:

:debug:build build phase started at Sun Oct 19 13:44:17 PDT 2014
:notice:build --->  Building nload
:debug:build Executing org.macports.build (nload)
:debug:build Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nload/nload/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nload/nload/work/nload-0.7.2" && /usr/bin/make -j4 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nload/nload/work/nload-0.7.2" && /usr/bin/make -j4 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nload/nload/work/nload-0.7.2'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nload/nload/work/nload-0.7.2'
:info:build Making all in docs
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nload/nload/work/nload-0.7.2/docs'
:info:build make[2]: Nothing to be done for `all'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nload/nload/work/nload-0.7.2/docs'
:info:build Making all in src
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nload/nload/work/nload-0.7.2/src'
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT device.o -MD -MP -MF .deps/device.Tpo -c -o device.o device.cpp
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT devreader.o -MD -MP -MF .deps/devreader.Tpo -c -o devreader.o devreader.cpp
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT devreaderfactory.o -MD -MP -MF .deps/devreaderfactory.Tpo -c -o devreaderfactory.o devreaderfactory.cpp
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT form_field.o -MD -MP -MF .deps/form_field.Tpo -c -o form_field.o form_field.cpp
:info:build mv -f .deps/devreader.Tpo .deps/devreader.Po
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT graph.o -MD -MP -MF .deps/graph.Tpo -c -o graph.o graph.cpp
:info:build mv -f .deps/devreaderfactory.Tpo .deps/devreaderfactory.Po
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
:info:build mv -f .deps/form_field.Tpo .deps/form_field.Po
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT opt_window.o -MD -MP -MF .deps/opt_window.Tpo -c -o opt_window.o opt_window.cpp
:info:build mv -f .deps/device.Tpo .deps/device.Po
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT screen.o -MD -MP -MF .deps/screen.Tpo -c -o screen.o screen.cpp
:info:build mv -f .deps/graph.Tpo .deps/graph.Po
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT setting.o -MD -MP -MF .deps/setting.Tpo -c -o setting.o setting.cpp
:info:build mv -f .deps/screen.Tpo .deps/screen.Po
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT settingfilter.o -MD -MP -MF .deps/settingfilter.Tpo -c -o settingfilter.o settingfilter.cpp
:info:build mv -f .deps/setting.Tpo .deps/setting.Po
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT settingstore.o -MD -MP -MF .deps/settingstore.Tpo -c -o settingstore.o settingstore.cpp
:info:build mv -f .deps/opt_window.Tpo .deps/opt_window.Po
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT statistics.o -MD -MP -MF .deps/statistics.Tpo -c -o statistics.o statistics.cpp
:info:build mv -f .deps/settingfilter.Tpo .deps/settingfilter.Po
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT stringutils.o -MD -MP -MF .deps/stringutils.Tpo -c -o stringutils.o stringutils.cpp
:info:build mv -f .deps/main.Tpo .deps/main.Po
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT traffic_window.o -MD -MP -MF .deps/traffic_window.Tpo -c -o traffic_window.o traffic_window.cpp
:info:build mv -f .deps/statistics.Tpo .deps/statistics.Po
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT window.o -MD -MP -MF .deps/window.Tpo -c -o window.o window.cpp
:info:build mv -f .deps/stringutils.Tpo .deps/stringutils.Po
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -DSYSCONFDIR='"/opt/local/etc"'  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall -MT devreader-bsd.o -MD -MP -MF .deps/devreader-bsd.Tpo -c -o devreader-bsd.o devreader-bsd.cpp
:info:build mv -f .deps/traffic_window.Tpo .deps/traffic_window.Po
:info:build mv -f .deps/settingstore.Tpo .deps/settingstore.Po
:info:build mv -f .deps/devreader-bsd.Tpo .deps/devreader-bsd.Po
:info:build mv -f .deps/window.Tpo .deps/window.Po
:info:build /usr/bin/clang++  -pipe -Os -arch x86_64 -stdlib=libc++ -Wall  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -s -o nload device.o devreader.o devreaderfactory.o form_field.o graph.o main.o opt_window.o screen.o setting.o settingfilter.o settingstore.o statistics.o stringutils.o traffic_window.o window.o devreader-bsd.o     -lform -lncurses 
:info:build ld: warning: option -s is obsolete and being ignored
:info:build ld: internal error: atom not found in symbolIndex(__Z10fromStringIiET_RKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE) for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[2]: *** [nload] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nload/nload/work/nload-0.7.2/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nload/nload/work/nload-0.7.2'
: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_net_nload/nload/work/nload-0.7.2'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nload/nload/work/nload-0.7.2" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port nload returned: command execution failed
:debug:build Error code: CHILDSTATUS 62438 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for nload: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port nload for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nload/nload/main.log

Change History (5)

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

Owner: changed from macports-tickets@… to raphael@…

comment:2 Changed 10 years ago by raphael-st (Raphael Straub)

Status: newassigned

comment:3 Changed 10 years ago by raphael-st (Raphael Straub)

I updated nload to version 0.7.4 in r127071. Please tell me if this helps. I cannot test it myself as I do not have access to a computer that runs Yosemite.

comment:4 Changed 10 years ago by raphael-st (Raphael Straub)

Keywords: mavericks added

The Mavericks buildbot reports the same error. This seems to be a problem with newer clang++ and libc++ versions.

comment:5 Changed 10 years ago by raphael-st (Raphael Straub)

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