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

Bug 142053

Summary: Open Office Build Fails when moving USE flag from -gtk to gtk
Product: Gentoo Linux Reporter: Randy Barlow <randy>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: normal CC: randy
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---

Description Randy Barlow 2006-07-28 20:16:59 UTC
I changed my system USE variable from -gtk to gtk and ran emerge --update --deep --newuse world.  Everything built correctly except for Open Office, which fails in an unusual way.  Here is the last bit of output from the failure:

g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:> for instructions.
dmake:  Error code 1, while making
'---* *---'

ERROR: Error 65280 occurred while making
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.3 failed.
Call stack:, line 1539:   Called dyn_compile, line 939:   Called src_compile
  openoffice-2.0.3.ebuild, line 251:   Called die

Here is the emerge --info output.

rpbarlow@booty ~ $ emerge --info
Portage 2.1-r1 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
System uname: 2.6.17-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
CFLAGS="-O3 -mtune=i686 -pipe -march=pentium3"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -mtune=i686 -pipe -march=pentium3"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
USE="x86 X aac acpi aim alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts browserplugin bzip2 calendar cdb cdparanoia cdr cli crypt cups dlloader dri eds emboss encode exif fbcon ffmpeg fftw foomaticdb fortran ftp gdbm gif gimp glut gphoto2 gpm gstreamer gtk hal imap imlib ipv6 isdnlog java javascript jpeg jpeg2k kde kdeenablefinal libcaca libg++ libwww mad mikmod mmx mmx2 motif mp3 mpeg msn mysql mysqli ncurses nls offensive ogg opengl oscar oss pam pcre pdf pdflib perl php png posix ppds pppd python qt qt3 qt4 quicktime readline reflection samba scanner sdl session slp spell spl sse ssl symlink tcpd tetex tiff tokenizer truetype truetype-fonts type1-fonts usb v4l videos vorbis win32codecs wxgtk1 xml xmms xorg xv yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv"

Thanks, and let me know if you need any more info!
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-29 00:59:33 UTC
Uhm, more likely you've run out of RAM... Can you reproduce it, i.e. does it fail at *exactly* the same place again?
Comment 2 Randy Barlow 2006-07-29 07:58:43 UTC
I don't think this is the issue - it does indeed fail at exactly the same place everytime.  The machine has 512 MB of RAM with an additional 512 MB swap.  Shouldn't that be enough to compile OO?

Richard Fish from the gentoo-user mailing list suggested trying less aggressive CFLAGS, and also pointed out that my CHOST is set to 386 instead of 686.  I will try the less aggressive USE flags as soon as the current attempt to build it again finishes (most likely in failure :()  Thanks!
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-29 08:29:05 UTC
Well, your compiler gets killed. That has nothing in common w/ gtk USE flag really. Try w/ more swap.
Comment 4 Randy Barlow 2006-07-30 13:02:22 UTC
Using less aggressive CFLAGS seems to have fixed the problem.  I used CFLAGS="-O2 -march=pentium3 -pipe" sudo emerge openoffice.  Thanks!