Openoffice 3.1.0 repeatedly failed to emerge. The symptom was configure bailing out, looking for an <boost/shared_ptr.hpp>. "find /usr/include -name shared_ptr.hpp" found it immediately at /usr/include/boost-1_37/boost/shared_ptr.hpp. Looking at the path found, obviously #include <boost/shared_ptr.hpp> won't work. After doing "eselect boost set 1", the build is proceeded. Reproducible: Always Steps to Reproduce: 1. emerge openoffice 2. 3. Actual Results: checking which boost to use... external checking boost/shared_ptr.hpp usability... no checking boost/shared_ptr.hpp presence... no checking for boost/shared_ptr.hpp... no configure: error: boost/shared_ptr.hpp not found. install boost make: *** [stamp/build] Error 1 * * ERROR: app-office/openoffice-3.1.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 5131: Called die * The specific snippet of code: * make || die "Build failed" * The die message: * Build failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-office/openoffice-3.1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.1.0/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" Expected Results: openoffice emerges silently and updated to the new version. as mentioned, "eselect boost set 1" fixed the problem for me. Presumably this should be done by the boost ebuild.
*** This bug has been marked as a duplicate of bug 269517 ***