[MacPorts] #49145: thrift @0.9.2_1 (devel) Build failed
#49145: thrift @0.9.2_1 (devel) Build failed ----------------------------------------+-------------------------------- Reporter: radegast13@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: thrift, boost, unit, test, | Port: thrift ----------------------------------------+-------------------------------- OS X El Capitan Xcode Version 7.0.1 (7A1001) {{{ :info:build 3 warnings generated. :info:build /bin/sh ../../../libtool --tag=CXX --mode=link /usr/bin/clang++ -Wall -Wextra -pedantic -pipe -Os -arch x86_64 -stdlib=libc++ -std=c++11 -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o processor_test processor/ProcessorTest.o processor/EventLog.o processor/ServerThread.o libprocessortest.la ../../../lib/cpp/libthrift.la ../../../lib/cpp/libthriftnb.la -L/opt/local/lib -levent /opt/local/lib /libboost_unit_test_framework-mt.a -lssl -lcrypto -lpthread :info:build libtool: link: /usr/bin/clang++ -Wall -Wextra -pedantic -pipe -Os -arch x86_64 -stdlib=libc++ -std=c++11 -Wl,-headerpad_max_install_names -arch x86_64 -o .libs/processor_test processor/ProcessorTest.o processor/EventLog.o processor/ServerThread.o -L/opt/local/lib ./.libs/libprocessortest.a ../../../lib/cpp/.libs/libthrift.dylib ../../../lib/cpp/.libs/libthriftnb.dylib -levent /opt/local/lib /libboost_unit_test_framework-mt.a -lssl -lcrypto -lpthread :info:build clang: error: no such file or directory: '/opt/local/lib /libboost_unit_test_framework-mt.a' :info:build make[4]: *** [processor_test] Error 1 :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_thrift/thrift/work/thrift-0.9.2/lib/cpp/test' :info:build make[3]: *** [all-recursive] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_thrift/thrift/work/thrift-0.9.2/lib/cpp' :info:build make[2]: *** [all-recursive] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_thrift/thrift/work/thrift-0.9.2/lib' :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_devel_thrift/thrift/work/thrift-0.9.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_devel_thrift/thrift/work/thrift-0.9.2' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_thrift/thrift/work/thrift-0.9.2" && /usr/bin/make -w all :info:build Exit code: 2 :error:build org.macports.build for port thrift returned: command execution failed :debug:build Error code: CHILDSTATUS 83452 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 thrift: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port thrift for details: }}} -- Ticket URL: <https://trac.macports.org/ticket/49145> MacPorts <https://www.macports.org/> Ports system for OS X
#49145: thrift @0.9.2_1 (devel) Build failed ---------------------------+----------------------- Reporter: radegast13@… | Owner: naoya.n@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: thrift | ---------------------------+----------------------- Changes (by mf2k@…): * cc: radegast13@… (removed) * cc: blair@… (added) * keywords: thrift, boost, unit, test, => * owner: macports-tickets@… => naoya.n@… Comment: In the future, please Cc the port maintainers ({{{port info --maintainers thrift}}}), if any. As reporter, you do not need to Cc yourself. -- Ticket URL: <https://trac.macports.org/ticket/49145#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49145: thrift @0.9.2_1 (devel) Build failed ---------------------------+----------------------- Reporter: radegast13@… | Owner: naoya.n@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: thrift | ---------------------------+----------------------- Comment (by radegast13@…): Replying to [comment:2 mf2k@…]:
In the future, please Cc the port maintainers ({{{port info --maintainers thrift}}}), if any. As reporter, you do not need to Cc yourself.
Ok. Thank you. -- Ticket URL: <https://trac.macports.org/ticket/49145#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49145: thrift @0.9.2_1 (devel) Build failed ---------------------------+----------------------- Reporter: radegast13@… | Owner: naoya.n@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: thrift | ---------------------------+----------------------- Comment (by gdr@…): I also hit this problem, which is: {{{ clang: error: no such file or directory: '/opt/local/lib /libboost_unit_test_framework-mt.a' }}} in the directory {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_thrift/thrift/work/thrift-0.9.2/lib/cpp/test }}} In boost @1.59.0_2+no_single+no_static+python27 there is no `libboost_unit_test_framework-mt.a` — there is only `libboost_unit_test_framework-mt.dylib` -- Ticket URL: <https://trac.macports.org/ticket/49145#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49145: thrift @0.9.2_1 (devel) Build failed ---------------------------+----------------------- Reporter: radegast13@… | Owner: naoya.n@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: thrift | ---------------------------+----------------------- Comment (by gdr@…): I worked around the problem by uninstalling boost and then reinstalling it with the `-no_static` option: {{{ port uninstall boost port install boost -no_static +python27 port install thrift }}} It seems a shame that Macports doesn't get this right by itself. -- Ticket URL: <https://trac.macports.org/ticket/49145#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#49145: thrift @0.9.2_1 (devel) Build failed ---------------------------+----------------------- Reporter: radegast13@… | Owner: naoya.n@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: thrift | ---------------------------+----------------------- Comment (by radegast13@…): Replying to [comment:6 gdr@…]:
I worked around the problem by uninstalling boost and then reinstalling it with the `-no_static` option: {{{ port uninstall boost port install boost -no_static +python27 port install thrift }}} It seems a shame that Macports doesn't get this right by itself.
Thank you! It works! -- Ticket URL: <https://trac.macports.org/ticket/49145#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts