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

Bug 424345

Summary: app-office/libreoffice-3.5.5.2 - /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/include/g++-v4/bits/random.tcc:2553:49: internal compiler error: Segmentation fault
Product: Gentoo Linux Reporter: Karel De Vriendt <Karel.De-Vriendt>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fabio.coatti, office
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
build environment

Description Karel De Vriendt 2012-07-01 08:15:32 UTC
-----------------------------------------------------------------------
        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.5.5.2/work/libreoffice-core-3.5.5.2/connectivity/source/drivers/hsqldb

 it seems that the error is inside 'connectivity', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.5.5.2/work/libreoffice-core-3.5.5.2
source ./Env.Host.sh
cd connectivity
rm -Rf /var/tmp/portage/app-office/libreoffice-3.5.5.2/work/libreoffice-core-3.5.5.2/connectivity/unxlngx6.pro # optional module 'clean'
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
make[1]: *** [build] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.5.5.2/work/libreoffice-core-3.5.5.2'
make: *** [source-env-and-recurse] Error 2
 * ERROR: app-office/libreoffice-3.5.5.2 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 9452:  Called die
 * The specific snippet of code:
 *       make build || die
 * 
 * If you need support, post the output of `emerge --info '=app-office/libreoffice-3.5.5.2'`,
 * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-3.5.5.2'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.7  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.7.0.5"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-3.5.5.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.5.5.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-office/libreoffice-3.5.5.2/work/libreoffice-core-3.5.5.2'
 * S: '/var/tmp/portage/app-office/libreoffice-3.5.5.2/work/libreoffice-core-3.5.5.2'

>>> Failed to emerge app-office/libreoffice-3.5.5.2, Log file:

>>>  '/var/tmp/portage/app-office/libreoffice-3.5.5.2/temp/build.log'


Reproducible: Always

Steps to Reproduce:
1. emerge =app-office/libreoffice-3.5.5.2
2.
3.
Actual Results:  
See "description"

Expected Results:  
Successful completion

antec ~ # emerge --info
Portage 2.3.4-r4 (unavailable, gcc-4.6.2, glibc-2.13-r4, 3.4.4-gentoo x86_64)
=================================================================
System uname: Linux-3.4.4-gentoo-x86_64-Intel-R-_Core-TM-_i5-2400S_CPU_@_2.50GHz-with-gentoo-2.2.0
Timestamp of tree: Sat, 30 Jun 2012 18:00:01 +0000
app-shells/bash:          4.2_p24
dev-java/java-config:     2.1.12-r1000
dev-lang/python:          2.7.3-r1000, 3.2.3-r1000
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.2.0-r1
sys-apps/openrc:          0.10.2-r2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.5
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.6.2-r1
sys-devel/gcc-config:     1.5
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /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/udev/rules.d"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="X a52 aac acl alsa amd64 berkdb bzip2 cdda cdparanoia cdr consolekit cracklib crypt cups cxx dbus dri dvd dvdr dvdread exif ffmpeg flac gdbm gif gnome-keyring gpm gstreamer gtk hddtemp iconv id3 java jpeg lame libnotify lm_sensors lock mad mmx modules mp3 mpeg mudflap multilib musepack ncurses nls nptl nsplugin ogg opengl openmp pam pcre perl png policykit python raw readline sse sse2 ssl startup-notification taglib tcpd thunar tiff truetype udev unicode vorbis wavpack xml xorg zlib" ALSA_CARDS="hda-intel" 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_ABIS="2.7 3.2" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Comment 1 Karel De Vriendt 2012-07-01 08:17:00 UTC
Created attachment 316837 [details]
Build log
Comment 2 Karel De Vriendt 2012-07-01 08:17:41 UTC
Created attachment 316839 [details]
build environment
Comment 3 Karel De Vriendt 2012-07-01 08:19:10 UTC
 it seems that the error is inside 'connectivity', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.5.5.2/work/libreoffice-core-3.5.5.2
source ./Env.Host.sh
cd connectivity
rm -Rf /var/tmp/portage/app-office/libreoffice-3.5.5.2/work/libreoffice-core-3.5.5.2/connectivity/unxlngx6.pro # optional module 'clean'
build

When I do this, everything seems to build OK
Comment 4 Karel De Vriendt 2012-07-01 12:48:21 UTC
Exact place where the error occurs changes with every run. Do not understand. 
______________________________________________________________________________


        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.5.5.2/work/libreoffice-core-3.5.5.2/oovbaapi/prj

 it seems that the error is inside 'oovbaapi', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------
Comment 5 Fabio Coatti 2012-07-02 11:56:02 UTC
Same problem here, gcc 4.6.3 (I suspect someissue with gcc)
Portage 2.2.0_alpha114 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r2, 3.4.4 x86_64)
=================================================================
System uname: Linux-3.4.4-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.1
Timestamp of tree: Mon, 02 Jul 2012 05:35:01 +0000
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.12
dev-lang/python:          2.6.8, 2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.5, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo gamerlay-stable funroll-loops overlay
Installed sets: @kde
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -msse4a -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"             
CXXFLAGS="-march=native -mtune=native -O2 -msse4a -pipe"                                                                                                                                        
DISTDIR="/usr/portage/distfiles"                                                                                                                                                                
FCFLAGS="-O2 -pipe"                                                                                                                                                                             
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"                                                                                                                                   
FFLAGS="-O2 -pipe"                                                                                                                                                                              
GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://gentoo.mneisen.org/ http://gentoo.supp.name/"                                                                                                    
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it en"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/funroll-loops /usr/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac aalib acl acpi aim alsa amd64 amr amrnb amrwb apache2 apng ares asf ass audiofile avahi bash-completion berkdb bidi bl bluetooth branding bri bzip2 cairo caps cdda cdparanoia cdr cjk cli consolekit cracklib crypt cups curl cxx dba dbus declarative device-mapper dga dirac directfb divx divx4linux dri dts dv dvb dvd dvdnav dvdr dvdread edl embedded emboss enca encode ethereal exif expat faac faad fam fame fbcon ffmpeg fftw firefox flac fontconfig force-cgi-redirect fortran ftp garmin gd gdbm gif gimp gmedia gmp gnutls gpm gps gsm gtk iconv icq icu id3tag idn ifp ilbc imagemagick imap innodb ipod iproute2 ipv6 ithreads jabber java javascript jpeg kde kontact kvm ladspa lcms ldap libcaca libnotify libv4l2 live lm_sensors lua lvm lxc lzo mad maildir matroska mbox md5sum mdnsresponder-compat mhash mime mjpeg mmap mmx mmxext mng modules mozdevelop mozilla mp3 mp4 mpeg msn mtp mudflap multilib musepack mysql ncurses nemesi nepomuk network nfsv4 njb nls nptl nptlonly nsplugin numa nut nvidia offensive ofx ogg oggvorbis ogm openal openexr opengl openmp oscar pam pango parted pcap pcre pdf php plasma plotutils png pnm policykit ppds pppd pvr qemu qt3support qt4 radio rar readline rtc rtmp rtsp ruby samba sasl schroedinger sdl semantic-desktop session sha512 sl slang slp sms sndfile snmp sox speex spell srt sse sse2 sse4a ssh ssl startup-notification stream svg symlink taglib tcltk tcpd theora threads tiff tk tremor truetype udev udisks unicode upower usb utempter v4l v4l2 vcd vdpau vhosts videos vim-syntax virtualbox vorbis wmf wmp wxwidgets wxwindows x264 xanim xcb xface xft xine xml xorg xosd xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo zlib zoran zpm" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="epjitsu epson epson2" USERLAND="GNU" VIDEO_CARDS="nv nvidia 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 6 Karel De Vriendt 2012-07-07 11:31:15 UTC
Yesterday, during my weekly update, emerging libreoffice succeeded. I have no idea what changed (or was I just lucky?)
Comment 7 SpanKY gentoo-dev 2012-07-18 12:09:09 UTC

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