Opened 13 years ago

Closed 13 years ago

#31060 closed defect (invalid)

boost-1.47 fails to build with rogue /opt/local/bin/libtool present

Reported by: lkraider (Paul Eipper) Owned by: adfernandes (Andrew Fernandes)
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: tvb377@…
Port: boost

Description

From the main.log:

:info:build     "ccache" "/usr/bin/g++-4.2" -dynamiclib -Wl,-single_module -install_name "/opt/local/lib/libboost_wave-mt.dylib"  -o "stage/lib/libboost_wave-mt.dylib" "bin.v2/libs/wave/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/instantiate_cpp_exprgrammar.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/instantiate_cpp_grammar.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/instantiate_cpp_literalgrs.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/instantiate_defined_grammar.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/instantiate_predef_macros.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/instantiate_re2c_lexer.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/instantiate_re2c_lexer_str.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/token_ids.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/wave_config_constant.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/cpplexer/re2clex/aq.o" "bin.v2/libs/wave/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/cpplexer/re2clex/cpp_re.o" "bin.v2/libs/date_time/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/libboost_date_time-mt.dylib" "bin.v2/libs/thread/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/libboost_thread-mt.dylib" "bin.v2/libs/filesystem/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/libboost_filesystem-mt.dylib" "bin.v2/libs/system/build/darwin-4.2.1/release/address-model-64/architecture-x86/threading-multi/libboost_system-mt.dylib"      -headerpad_max_install_names -Wl,-dead_strip -no_dead_strip_inits_and_terms -arch x86_64 
:info:build 
:info:build ...failed updating 49 targets...
:info:build ...skipped 49 targets...
:info:build ...updated 1453 targets...
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/boost/work/boost_1_47_0" && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/boost/work/boost_1_47_0/b2 -d2 --layout=tagged --debug-configuration --user-config=user-config.jam -sBZIP2_INCLUDE=/opt/local/include -sBZIP2_LIBPATH=/opt/local/lib -sEXPAT_INCLUDE=/opt/local/include -sEXPAT_LIBPATH=/opt/local/lib -sZLIB_INCLUDE=/opt/local/include -sZLIB_LIBPATH=/opt/local/lib variant=release threading=single,multi link=static,shared architecture=x86 address-model=64 link=shared " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for boost): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for boost is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/boost/main.log

If I run that last command on a terminal it executes correctly, so I am not sure what the error is about.

Attachments (1)

main.log (1.0 MB) - added by lkraider (Paul Eipper) 13 years ago.

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by lkraider (Paul Eipper)

Attachment: main.log added

comment:1 Changed 13 years ago by jmroot (Joshua Root)

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

Please remember to cc the maintainer.

comment:2 Changed 13 years ago by tvb377@…

Cc: tvb377@… added

Cc Me!

comment:3 Changed 13 years ago by tvb377@…

You seem to have installed some program as /opt/local/bin/libtool that gets selected by bjam but is incompatible with /usr/bin/libtool.

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: boost-1.47 failed to buildboost-1.47 fails to build with rogue /opt/local/bin/libtool present

Agreed, MacPorts ports do not install /opt/local/bin/libtool; remove it, clean boost, and try again.

comment:5 Changed 13 years ago by lkraider (Paul Eipper)

Yes sirs, you are correct. Somehow I had symlinks from libtool -> glibtool inside there. Removing them fixed the issue. Thank you.

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

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.