Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376321 - Libreoffice 3.4.2.2 doesn't compile with gcc 4.6.1
Summary: Libreoffice 3.4.2.2 doesn't compile with gcc 4.6.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-25 09:58 UTC by Falmer
Modified: 2011-07-25 11:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Falmer 2011-07-25 09:58:46 UTC
The new (masked) version 3.4.2.2 of Libre Office does not compile with gcc 4.6.1.

Error message seems the same as with 3.4.1:

dmake:  Error code 1, while making '/var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/solver/340/unxlngx6.pro/inc/340minor.mk'
dmake:  '/var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/solver/340/unxlngx6.pro/inc/340minor.mk' removed.
Entering /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/extras/source/premium/templates/common/labels

dmake:  /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/solenv/inc/settings.mk:  line 76:  Error: -- Include file /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/solver/340/unxlngx6.pro/inc/340minor.mk, not found
mkout -- version: 1.8
deliver -- version: 275594
deliver -- version: 275594
mkout -- version: 1.8
mkout -- version: 1.8
Module 'beanshell' delivered successfully. 1 files copied, 1 files unchanged
Module 'MathMLDTD' delivered successfully. 3 files copied, 0 files unchanged
Module 'testautomation' delivered successfully. 31 files copied, 0 files unchanged

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/extras/source/templates/layout
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/soltools/mkdepend
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/hsqldb
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/translate_toolkit
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/stax
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/stlport

 it seems you are using a threaded build, which means that the
 actual compile error is probably hidden far above, and could be
 inside any of these other modules:
     stlport soltools hsqldb extras stax
 please re-run build inside each one to isolate the problem.
-----------------------------------------------------------------------

rm -Rf /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/translate_toolkit/unxlngx6.pro # optional module 'clean'
/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2
source ./LinuxX86-64Env.Set.sh
cd translate_toolkit
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
make: *** [all] Fehler 1
emake failed

 * ERROR: app-office/libreoffice-3.4.2.2 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 8784:  Called die
 * The specific snippet of code:
 *       emake || die
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.4.2.2',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.4.2.2'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-3.4.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.4.2.2/temp/environment'.
 * S: '/var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2'

To see the emerge:

[ebuild     U #] app-office/libreoffice-3.4.2.2 [3.3.2] USE="binfilter* cups dbus gtk ldap opengl python%* templates (-aqua) -custom-cflags -debug -eds -gnome -gstreamer* -java -kde (-kdeenablefinal) -mysql% -nsplugin -odk -offlinehelp% -pch% -webdav% (-bash-completion%*)" LINGUAS="de -af -ar -as -ast -be% -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -dgo -dz -el -en -en_GB -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -lo -lt -lv -mai -mk -ml -mn -mni -mr -my -nb -ne -nl -nn -nr -nso% -oc -or -pa_IN -pl -pt -pt_BR -ro -ru -rw -sat -sd -sh -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu (-be_BY%) (-en_US%) (-gd%) (-ky%) (-ms%) (-ns%) (-om%) (-pap%) (-ps%) (-sa_IN%) (-si%) (-ti%)" 0 kB

For the environment:

 emerge --info
Portage 2.1.10.7 (default/linux/amd64/10.0, gcc-4.6.1, glibc-2.13-r4, 3.0.0-gentoo x86_64)
=================================================================
System uname: Linux-3.0.0-gentoo-x86_64-with-gentoo-2.0.3
Timestamp of tree: Mon, 25 Jul 2011 05:15:01 +0000
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.6.1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo enlightenment
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://de-mirror.org/distro/gentoo/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/enlightenment"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cups cxx dbus dri dvd esd fortran gdbm gif gnutls gpm gtk iconv icu ipv6 jpeg jpeg2k kerberos ldap mmx modules mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python readline session slang smp sqlite sse sse2 sse3 ssl sysfs tcl tcpd threads tiff tk unicode vanilla xattr xinerama xml xorg zlib" ALSA_CARDS="hdsp hdspm" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-25 10:22:08 UTC
Full build log please.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-25 11:06:07 UTC
Nevermind. Found the crash too. Added the patch.