Summary: | openoffice 2.0.3 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ProTech <prot3ch> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED DUPLICATE | ||
Severity: | normal | CC: | rjm40 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
ProTech
2006-07-04 07:16:55 UTC
When you try it again, does it fail in the same line? Out of memory/disk space, most likely. *** This bug has been marked as a duplicate of 20600 *** 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 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!!! I created an 1 GB swap file, and I can compile it now. This means 1.6 GB mem+swap. (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! There's Bug 140867 about this memory-hungry beast, maybe go share your experience there... ;) |