Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474898 - app-office/libreoffice-4.1.0.1 fails to compile: mtvelements.hxx:70:111: error: invalid type in declaration before ‘;’ token
Summary: app-office/libreoffice-4.1.0.1 fails to compile: mtvelements.hxx:70:111: erro...
Status: RESOLVED DUPLICATE of bug 474710
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-26 20:12 UTC by Douglas J Hunley
Modified: 2013-06-27 02:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,453.83 KB, text/x-log)
2013-06-26 20:16 UTC, Douglas J Hunley
Details
emerge --info (emerge.info,5.43 KB, text/plain)
2013-06-26 20:17 UTC, Douglas J Hunley
Details
/etc/portage/package.env/libreoffice (libreoffice,35 bytes, text/plain)
2013-06-26 20:17 UTC, Douglas J Hunley
Details
/etc/portage/env/noopts.conf (noopts.conf,226 bytes, text/plain)
2013-06-26 20:18 UTC, Douglas J Hunley
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***