Attempting to compile boost versions 1.34.1-r2, 1.35.0-r1 or 1.35.0-r2 fails on fresh installation of portage prefix on Mac OS X 10.5.5. There appears to be a problem with a libtool command generated during the build process. Reproducible: Always Steps to Reproduce: 1. emerge -v boost Actual Results: libtool: unrecognized option `-static' Try `libtool --help' for more information. libtool -static -o "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/libboost_test_exec_monitor.a" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/execution_monitor.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/debug.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/compiler_log_formatter.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/framework.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/plain_report_formatter.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/progress_monitor.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/results_collector.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/results_reporter.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/test_main.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/test_tools.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/unit_test_log.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/unit_test_main.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/unit_test_monitor.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/unit_test_parameters.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/unit_test_suite.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/xml_log_formatter.o" "bin.v2/libs/test/build/darwin-4.2/gentoorelease/link-static/macosx-version-10.4/xml_report_formatter.o" Expected Results: boost libraries installed This appears to be a relatively recent bug (compared to the age of the ebuilds) since I installed portage prefix on another machine 2-3 weeks ago and had no such problems.
looks like it is using GNU libtool somehow, while it is coded to use Apple libtool...
(In reply to comment #1) > looks like it is using GNU libtool somehow, while it is coded to use Apple > libtool... > Thanks for the tip. Using a quick and dirty hack to do the following two things allowed installation to proceed. 1) use Apple libtool 2) add include path for the "cxxabi.h" file No idea how to do these two things properly in the ebuild. I used the $EPREFIX/etc/portage/env/dev-libs/boost file to redefine $PATH and $CPATH
this works with current boost versions
1.34.1-r2 compiles fine for me on OSX-snowleopard now, I tested 1.35.0-r5 and that compiles and installs fine. I lack to knowledge to actually test if boost itself is sane, but the linker issues seem to have resolved