Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139183 - openoffice 2.0.3 fails to compile
Summary: openoffice 2.0.3 fails to compile
Status: VERIFIED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-04 07:16 UTC by ProTech
Modified: 2006-07-24 02:25 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 ProTech 2006-07-04 07:16:55 UTC
build error:

Making: ../../../../unxlngi6.pro/slo/SlideSorterView.obj
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I/var/tmp/portage/openoffice-2.0.3/work/ooo-build-ooc680-m7/build/ooc680-m7/solver/680/unxlngi6.pro/inc/offuh -I../inc -I../../inc -I../../../../inc -I../../../../unx/inc -I../../../../unxlngi6.pro/inc -I. -I/var/tmp/portage/openoffice-2.0.3/work/ooo-build-ooc680-m7/build/ooc680-m7/solver/680/unxlngi6.pro/inc/stl -I/var/tmp/portage/openoffice-2.0.3/work/ooo-build-ooc680-m7/build/ooc680-m7/solver/680/unxlngi6.pro/inc/external -I/var/tmp/portage/openoffice-2.0.3/work/ooo-build-ooc680-m7/build/ooc680-m7/solver/680/unxlngi6.pro/inc -I/var/tmp/portage/openoffice-2.0.3/work/ooo-build-ooc680-m7/build/ooc680-m7/solenv/unxlngi6/inc -I/var/tmp/portage/openoffice-2.0.3/work/ooo-build-ooc680-m7/build/ooc680-m7/solenv/inc -I/var/tmp/portage/openoffice-2.0.3/work/ooo-build-ooc680-m7/build/ooc680-m7/res -I/var/tmp/portage/openoffice-2.0.3/work/ooo-build-ooc680-m7/build/ooc680-m7/solver/680/unxlngi6.pro/inc/stl -I/var/tmp/portage/openoffice-2.0.3/work/ooo-build-ooc680-m7/build/ooc680-m7/solenv/inc/Xp31 -I/opt/sun-jdk-1.4.2.10/include -I/opt/sun-jdk-1.4.2.10/include/linux -I/opt/sun-jdk-1.4.2.10/include/native_threads/include -I/usr/include     -I. -I../../../../res -I. -Os -fno-strict-aliasing -Wuninitialized   -fvisibility=hidden -pipe -O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -fexceptions -fno-enforce-eh-specs   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOC680=OOC680   -DSD_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../../../unxlngi6.pro/slo/SlideSorterView.o /var/tmp/portage/openoffice-2.0.3/work/ooo-build-ooc680-m7/build/ooc680-m7/sd/source/ui/slidesorter/view/SlideSorterView.cxx
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-ooc680-m7/build/ooc680-m7/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

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

gaya ~ # emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.15
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="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.fsn.hu/pub/linux/distributions/gentoo/ http://gentoo.inf.elte.hu/ http://gentoo.inode.at http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LINGUAS="hu en"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac aalib acpi alsa apache2 avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups devmap dga dlloader doc dri dts dv dvb dvd dvdr edl eds emacs emboss encode fam fbcon ffmpeg firefox flac foomaticdb freetype gdbm gecko-sdk gif glitz gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog java jce jpeg libcaca libg++ libwww mad matroska mikmod mmx mmxext mono motif mozsvg mozxmlterm mp3 mpeg ncurses nls nptl nsplugin ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline real reflection rtc samba sdl session spell spl sse ssl svg symlink tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vcd vorbis win32codecs xanim xml xmms xorg xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_hu linguas_en userland_GNU video_cards_fglrx video_cards_radeon video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

There is enougth space in the /var directory.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-07-04 08:41:35 UTC
When you try it again, does it fail in the same line?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-04 09:06:45 UTC
Out of memory/disk space, most likely.

*** This bug has been marked as a duplicate of 20600 ***
Comment 3 ProTech 2006-07-05 07:40:13 UTC
I tried to recompile the ebuild today too. The problem is reproduceable. The problem happens in the same place, in the SlideSorterView.cxx file.

I compiled succesfully lot of versions of openoffice.org with this machine. The last was 2.0.2-r2. The processor is not overclocked, there is enougth free space left in the /var dir. The machine has 512MB memory with 128MB swap.

It's looks like OutOfMemory situation. From dmesg:

Out of Memory: Kill process 31593 (cc1plus) score 18087 and children.
Out of memory: Killed process 31593 (cc1plus).
oom-killer: gfp_mask=0x201d2, order=0
 [<c013fc69>] out_of_memory+0xa9/0x100
 [<c0140f65>] __alloc_pages+0x2e5/0x310
 [<c0143732>] __do_page_cache_readahead+0x102/0x1b0
 [<c01438d1>] do_page_cache_readahead+0x71/0x90
 [<c013d02b>] filemap_nopage+0x15b/0x3b0
 [<c014a79b>] do_no_page+0x5b/0x240
 [<c014ac5e>] __handle_mm_fault+0x25e/0x290
 [<c010658a>] do_gettimeofday+0x1a/0xb0
 [<c011487e>] do_page_fault+0x1be/0x5a8
 [<c01146c0>] do_page_fault+0x0/0x5a8
 [<c01038cb>] error_code+0x4f/0x54


Comment 4 Rick Morra 2006-07-17 18:48:22 UTC
Tried to emerge openoffice-2.0.3 four times over the past two days. Received identical error each time:

Making: ../../../../unxlngi6.pro/slo/SlideSorterView.obj
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I/usr/temp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/offuh -I../inc -I../../inc -I../../../../inc -I../../../../unx/inc -I../../../../unxlngi6.pro/inc -I. -I/usr/temp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/stl -I/usr/temp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/external -I/usr/temp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc -I/usr/temp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/unxlngi6/inc -I/usr/temp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/inc -I/usr/temp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/res -I/usr/temp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/stl -I/usr/temp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/inc/Xp31 -I/opt/blackdown-jdk-1.4.2.03/include -I/opt/blackdown-jdk-1.4.2.03/include/linux -I/opt/blackdown-jdk-1.4.2.03/include/native_threads/include -I/usr/include     -I. -I../../../../res -I. -Os -fno-strict-aliasing -Wuninitialized   -fvisibility=hidden -pipe -march=pentium3 -O2 -pipe -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -fexceptions -fno-enforce-eh-specs   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOC680=OOC680   -DSD_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../../../unxlngi6.pro/slo/SlideSorterView.o /usr/temp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/sd/source/ui/slidesorter/view/SlideSorterView.cxx
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 /usr/temp/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


# emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r12 i686)
=================================================================
System uname: 2.6.16-gentoo-r12 i686 Intel(R) Celeron(TM) CPU                1400MHz
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="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /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="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrored.ca/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.mirrors.pair.com/"
LANG="en_US.ISO-8859-1"
LINGUAS="en"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X X509 aavm acl alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 calendar cli crypt cscope cups curl directfb dlloader doc dri emboss encode esd evms2 exif extensions fam fbcon flac foomaticdb fortran gdbm gif gimpprint gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hardenedphp icq idn imagemagick imlib innodb ipv6 isdnlog java javascript jikes jpeg jpeg2k junit kde kerberos lcms ldap libg++ libwww mad mailwrapper mhash mikmod mmx mng motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mysql mysqli ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdf pdflib perl php pic png posix ppds pppd python qt qt3 qt4 quicktime readline real reflection samba sasl sdl session slang spell spl sse ssl svga swat tcltk tcpd tetex tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vorbis win32codecs wmf xml xmlreader xmlwriter xmms xorg xprint xv zip zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en userland_GNU video_cards_nv video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I have 384MB RAM, 512MB swap, and 11GB free on build partition.  It would be quite a coincidence if both ProTech and I run out of memory at the same point each time using different amount of memory, different processors, different CFLAG, and different JDK. Same GCC though!!!
Comment 5 ProTech 2006-07-18 00:32:17 UTC
I created an 1 GB swap file, and I can compile it now. This means 1.6 GB mem+swap.
Comment 6 Wernfried Haas (RETIRED) gentoo-dev 2006-07-24 00:30:38 UTC
(In reply to comment #5)
> I created an 1 GB swap file, and I can compile it now. This means 1.6 GB
> mem+swap.

Same problem here with 640 RAM and 256 swap. Adding another GB of swap helped.
Thanks!
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-07-24 02:25:08 UTC
There's Bug 140867 about this memory-hungry beast, maybe go share your experience there... ;)