Opened 9 years ago

Closed 4 years ago

#49145 closed defect (fixed)

thrift @0.9.2_1 (devel) Build failed

Reported by: radegast13@… Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: gdr@…, Schamschula (Marius Schamschula), chrstphrchvz (Christopher Chavez)
Port: thrift

Description

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:

Attachments (1)

main.log (34.0 KB) - added by radegast13@… 9 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_thrift/thrift/main.log

Download all attachments as: .zip

Change History (15)

Changed 9 years ago by radegast13@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_thrift/thrift/main.log

comment:1 Changed 9 years ago by radegast13@…

Cc: radegast13@… added

Cc Me!

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

Cc: blair@… added; radegast13@… removed
Keywords: thrift boost unit test removed
Owner: changed from macports-tickets@… to naoya.n@…

In the future, please Cc the port maintainers (port info --maintainers thrift), if any. As reporter, you do not need to Cc yourself.

comment:3 in reply to:  2 Changed 9 years ago by radegast13@…

Replying to 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.

comment:4 Changed 9 years ago by gdr@…

Cc: gdr@… added

Cc Me!

comment:5 Changed 9 years ago 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

comment:6 Changed 9 years ago 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.

comment:7 in reply to:  6 Changed 9 years ago by radegast13@…

Replying to 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!

comment:8 Changed 8 years ago by Schamschula (Marius Schamschula)

Cc: mps@… added

Cc Me!

comment:9 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from naoya.n@… to macports-tickets@…
Status: newassigned

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

Cc: blair removed
Owner: changed from macports-tickets@… to blair

comment:11 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Does this issue still exist with thrift @0.10.0_2?

comment:12 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:13 Changed 5 years ago by mf2k (Frank Schima)

Owner: blair deleted

comment:14 Changed 4 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed

thrift is now at version 0.13.0 and it builds on the 10.11 buildbot. See https://ports.macports.org/port/thrift/summary.

Note: See TracTickets for help on using tickets.