I'm getting a compile failure on libreoffice 4.1.0.1 the last two days. /var/tmp/portage/app-office/libreoffice-4.1.0.1/work/libreoffice-4.1.0.1/sc/inc/mtvelements.hxx:70:111: error: invalid type in declaration before ‘;’ token make[1]: *** [/var/tmp/portage/app-office/libreoffice-4.1.0.1/work/libreoffice-4.1.0.1/workdir/unxlngx6.pro/CxxObject/sc/source/core/data/bcaslot.o] Error 1 make: *** [build] Error 2 * ERROR: app-office/libreoffice-4.1.0.1 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 7183: Called die * The specific snippet of code: * make build || die * * If you need support, post the output of `emerge --info '=app-office/libreoffice-4.1.0.1'`, * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-4.1.0.1'`. !!! 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="" and of course, the output of emerge --info =libreoffice-4.1.0.1 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-4.1.0.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-4.1.0.1/temp/environment'. * Working directory: '/var/tmp/portage/app-office/libreoffice-4.1.0.1/work/libreoffice-4.1.0.1' * S: '/var/tmp/portage/app-office/libreoffice-4.1.0.1/work/libreoffice-4.1.0.1' >>> Failed to emerge app-office/libreoffice-4.1.0.1, Log file: >>> '/var/tmp/portage/app-office/libreoffice-4.1.0.1/temp/build.log' Reproducible: Always Steps to Reproduce: 1.emerge libreoffice 2. 3. Actual Results: from /var/tmp/portage/app-office/libreoffice-4.1.0.1/work/libreoffice-4.1.0.1/sc/source/core/data/bcaslot.cxx:30: /var/tmp/portage/app-office/libreoffice-4.1.0.1/work/libreoffice-4.1.0.1/sc/inc/mtvelements.hxx:70:111: error: invalid type in declaration before ‘;’ token Expected Results: compile and emerge successfully
Created attachment 352016 [details] build.log the build.log from a failed compile
Created attachment 352018 [details] emerge --info This output is wrong. It does not show the CFLAGS and CXXFLAGS that are actually being used from package.env
Created attachment 352020 [details] /etc/portage/package.env/libreoffice you can see here, i'm using the noopts.conf file to reset CFLAGS/CXXFLAGS
Created attachment 352022 [details] /etc/portage/env/noopts.conf this resets the CFLAGS/CXXFLAGS
*** This bug has been marked as a duplicate of bug 474710 ***