Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 474898

Summary: app-office/libreoffice-4.1.0.1 fails to compile: mtvelements.hxx:70:111: error: invalid type in declaration before ‘;’ token
Product: Gentoo Linux Reporter: Douglas J Hunley <doug.hunley>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
/etc/portage/package.env/libreoffice
/etc/portage/env/noopts.conf

Description Douglas J Hunley 2013-06-26 20:12:27 UTC
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
Comment 1 Douglas J Hunley 2013-06-26 20:16:10 UTC
Created attachment 352016 [details]
build.log

the build.log from a failed compile
Comment 2 Douglas J Hunley 2013-06-26 20:17:16 UTC
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
Comment 3 Douglas J Hunley 2013-06-26 20:17:59 UTC
Created attachment 352020 [details]
/etc/portage/package.env/libreoffice

you can see here, i'm using the noopts.conf file to reset CFLAGS/CXXFLAGS
Comment 4 Douglas J Hunley 2013-06-26 20:18:33 UTC
Created attachment 352022 [details]
/etc/portage/env/noopts.conf

this resets the CFLAGS/CXXFLAGS
Comment 5 Jory A. Pratt gentoo-dev 2013-06-27 02:57:18 UTC

*** This bug has been marked as a duplicate of bug 474710 ***