Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274885 - emerge xulrunner fails with "memory exhausted"
Summary: emerge xulrunner fails with "memory exhausted"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Low trivial (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-21 01:06 UTC by Mark Finnegan
Modified: 2009-07-20 03:08 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 Mark Finnegan 2009-06-21 01:06:05 UTC
Running with (default) "ulimit -s" == 8192, "emerge xulrunner" fails with "memory exhausted" error. Running with "ulimit -s" == 16384, emerge succeeds. Log snippets from xulrunner.1.9.0.11 and xulrunner-1.9.0.8 emerges below. Sure, I know, "Just set root's ulimit -s to 16284 by default and don't bother us." However, almost every other ebuild on the system works at 8192. I think the xulrunner build script should be setting the stack size if it has extraordinary system requirements.


--------------------
find ../../dist/include -xtype f -exec /var/tmp/portage/net-libs/xulrunner-1.9.0.11/work/mozilla/config/nsinstall -t -m 644 {} /var/tmp/portage/net-libs/xulrunner-1.9.0.11/image//usr/include/xulrunner-1.9/unstable \;
find: memory exhausted
gmake[1]: *** [install] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.0.11/work/mozilla/xulrunner/installer'
make: *** [install] Error 2
 *
 * ERROR: net-libs/xulrunner-1.9.0.11 failed.

--------------------
find ../../dist/include -xtype f -exec /var/tmp/portage/net-libs/xulrunner-1.9.0.8/work/mozilla/config/nsinstall -t -m 644 {} /var/tmp/portage/net-libs/xulrunner-1.9.0.8/image//usr/include/xulrunner-1.9/unstable \;
find: memory exhausted
gmake[1]: *** [install] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.0.8/work/mozilla/xulrunner/installer'
make: *** [install] Error 2
 *
 * ERROR: net-libs/xulrunner-1.9.0.8 failed.
Comment 1 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-06-22 15:29:57 UTC
Here:

stack size              (kbytes, -s) 8192

It builds fine. emerge --info please
Comment 2 Mark Finnegan 2009-06-22 17:19:05 UTC
(In reply to comment #1)


Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-glibc2.0
Timestamp of tree: Fri, 19 Jun 2009 07:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -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/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.mcs.anl.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa apache2 arts berkdb bitmap-fonts bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus doc dri dvd dvdr dvdread eds emboss encode esd evo examples fam firefox fltk fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog joystick jpeg kde ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oracle pam pcre pdf perl pic png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session source spell spl ssl startup-notification svg sysfs tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x86 xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="access auth auth_dbm auth_anon auth_digest authz_host alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in filter deflate mime-magic cern-meta expires headers unique_id usertrack proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jory A. Pratt gentoo-dev 2009-06-30 02:20:10 UTC
I been unable to repoduce this, and I have compiled xulrunner atleast 20 times this week already.
Comment 4 Jory A. Pratt gentoo-dev 2009-07-20 03:08:33 UTC
If you can duplicate this with the current stable toochanin please reopen. Nirbheek and myself are both unable to duplicate this problem,