Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249965 - OpenOffice-3x fails to build with 'std::bad_alloc' error
Summary: OpenOffice-3x fails to build with 'std::bad_alloc' error
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-05 19:55 UTC by Andrey Aleksandrovich
Modified: 2008-12-11 15:35 UTC (History)
0 users

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 Andrey Aleksandrovich 2008-12-05 19:55:27 UTC
emerge --info
Portage 2.1.4.5 (selinux/2007.0/amd64/hardened, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-hardened-r9 x86_64)
=================================================================
System uname: 2.6.25-hardened-r9 x86_64 AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55
Timestamp of tree: Sat, 29 Nov 2008 01:45:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildsyspkg ccache collision-protect distlocks loadpolicy metadata-transfer parallel-fetch sandbox selinux sesandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://192.168.66.2/pub"
LANG="ru_UA.UTF-8"
LC_ALL=""
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay/svn"
SYNC="rsync://192.168.66.2/gentoo-portage"
USE="3dnow X alsa amd64 berkdb branding cli cracklib crypt dbus dri fortran gdbm gpm hal hardened iconv isdnlog kde midi mmx mudflap ncurses nls nptl nptlonly nvidia opengl openmp pam pcre perl pic pppd python readline reflection selinux session spl sse sse2 ssl tcpd threads unicode utf8 xorg zlib" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS









Here is the end of build output:

------------------------------
Making: ../unxlngx6.pro/lib/libpackage2.so
g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -Wl,--version-script ../unxlngx6.pro/misc/component_package2.map -L../unxlngx6.pro/lib -L../lib -L/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solenv/unxlngx6/lib -L/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solver/300/unxlngx6.pro/lib -L/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solenv/unxlngx6/lib -LNO_JAVA_HOME/lib64 -LNO_JAVA_HOME/jre/lib/amd64 -LNO_JAVA_HOME/jre/lib/amd64/server -LNO_JAVA_HOME/jre/lib/amd64/native_threads -L/usr/lib64 ../unxlngx6.pro/slo/package2_version.o -o ../unxlngx6.pro/lib/libpackage2.so ../unxlngx6.pro/slo/CRC32.o ../unxlngx6.pro/slo/ByteChucker.o ../unxlngx6.pro/slo/ByteGrabber.o ../unxlngx6.pro/slo/Inflater.o ../unxlngx6.pro/slo/Deflater.o ../unxlngx6.pro/slo/ZipEnumeration.o ../unxlngx6.pro/slo/ZipFile.o ../unxlngx6.pro/slo/ZipOutputStream.o ../unxlngx6.pro/slo/XUnbufferedStream.o ../unxlngx6.pro/slo/ZipPackage.o ../unxlngx6.pro/slo/ZipPackageBuffer.o ../unxlngx6.pro/slo/ZipPackageEntry.o ../unxlngx6.pro/slo/ZipPackageFolder.o ../unxlngx6.pro/slo/ZipPackageFolderEnumeration.o ../unxlngx6.pro/slo/ZipPackageSink.o ../unxlngx6.pro/slo/ZipPackageStream.o ../unxlngx6.pro/slo/wrapstreamforshare.o ../unxlngx6.pro/slo/zipfileaccess.o ../unxlngx6.pro/slo/ManifestReader.o ../unxlngx6.pro/slo/ManifestWriter.o ../unxlngx6.pro/slo/ManifestImport.o ../unxlngx6.pro/slo/ManifestExport.o ../unxlngx6.pro/slo/Base64Codec.o ../unxlngx6.pro/slo/UnoRegister.o -luno_cppu -lucbhelper4gcc3 -luno_cppuhelpergcc3 -lcomphelp4gcc3 -luno_sal -lz -ldl -lpthread -lm
rm -f ../unxlngx6.pro/lib/check_libpackage2.so
mv ../unxlngx6.pro/lib/libpackage2.so ../unxlngx6.pro/lib/check_libpackage2.so
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solenv/bin/checkdll.sh -L../unxlngx6.pro/lib -L/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solver/300/unxlngx6.pro/lib  ../unxlngx6.pro/lib/check_libpackage2.so
Checking DLL ../unxlngx6.pro/lib/check_libpackage2.so ...: ok
-rwxr-xr-x+ 1 root root 550532 Dec  5 21:23 ../unxlngx6.pro/lib/libpackage2.so
-------------
deliver -- version: 1.130
Module 'package' delivered successfully. 5 files copied, 0 files unchanged
=============
Building module regexp
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/regexp/inc
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/regexp/source
-------------
deliver -- version: 1.130
Module 'regexp' delivered successfully. 0 files copied, 4 files unchanged
=============
Building module i18npool
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/inc
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/breakiterator
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/collator
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/indexentry
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/isolang
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/localedata
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/textconversion
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/breakiterator/data
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/calendar
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/characterclassification
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/collator/data
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/defaultnumberingprovider
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/indexentry/data
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/inputchecker
-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/localedata/data
../../../unxlngx6.pro/bin/saxparser en_AU en_AU.xml ../../../unxlngx6.pro/misc/localedata_en_AU.cxx ../../../unxlngx6.pro/bin/localedata_en_AU.rdb /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solver/300/unxlngx6.pro/bin/types.rdb
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
dmake:  Error code 134, while making '../../../unxlngx6.pro/misc/localedata_en_AU.cxx'

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/i18npool/source/localedata/data
rmdir /tmp/14474
make: *** [stamp/build] Error 1
 *
 * ERROR: app-office/openoffice-3.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5474:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 *  The die message:
 *   Build failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.0.0/temp/environment'.
 *



I have 2Gb RAM, and over 20Gb free space on harddrive.

Note:
I use MAKEOPTS="-j1" (and WANT_MP="false").
When I used the MAKEOPTS="-j3" (and WANT_MP="true"), there was an error, that the module "i18npool" need's to be rebuild.
Comment 1 Andrey Aleksandrovich 2008-12-11 15:35:35 UTC
Compiled suscessfully on "PaX disabled" kernel.
Seems to be an incompatible things.