Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142053 - Open Office Build Fails when moving USE flag from -gtk to gtk
Summary: Open Office Build Fails when moving USE flag from -gtk to gtk
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-28 20:16 UTC by Randy Barlow
Modified: 2006-07-30 13:02 UTC (History)
1 user (show)

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 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:http://bugs.gentoo.org/> for instructions.
dmake:  Error code 1, while making
'../../../../unxlngi6.pro/slo/SlideSorterView.obj'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/sd/source/ui/slidesorter/view
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, 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
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O3 -mtune=i686 -pipe -march=pentium3"
CHOST="i386-pc-linux-gnu"
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"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
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"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

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!