Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185185 - ruby-1.8.6-r1 fails with "failed to allocate memory"
Summary: ruby-1.8.6-r1 fails with "failed to allocate memory"
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: MIPS Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-13 11:02 UTC by kaaZoo
Modified: 2007-07-13 11:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (error.log,17.51 KB, text/plain)
2007-07-13 11:03 UTC, kaaZoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaaZoo 2007-07-13 11:02:53 UTC
mips-unknown-linux-gnu-gcc -shared -Wl,-soname,libruby18.so.1.8   array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o  dmyext.o -ldl -lcrypt -lm   -o libruby18.so.1.8.6
rbconfig.rb updated
/var/tmp/portage/dev-lang/ruby-1.8.6-r1/work/ruby-1.8.6/rbconfig.rb: failed to allocate memory (NoMemoryError)
        from ./ext/extmk.rb:28:in `require'
        from ./ext/extmk.rb:28
make: *** [all] Error 1

!!! ERROR: dev-lang/ruby-1.8.6-r1 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ruby-1.8.6-r1.ebuild, line 89:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-lang/ruby-1.8.6-r1/temp/build.log'.


Reproducible: Always




renderfarm kaazoo # emerge --info
Portage 2.1.2.9 (default-linux/mips/2006.1/ip27/o32/nptl, gcc-4.1.1, glibc-2.3.6-r4, 2.6.17.10-mipsgit-20060618-ip27r10k+ mips64)
=================================================================
System uname: 2.6.17.10-mipsgit-20060618-ip27r10k+ mips64 R10000 V2.6  FPU V0.0
Gentoo Base System version 1.12.1
Timestamp of tree: Thu, 12 Jul 2007 19:00:01 +0000
distcc 2.18.3 mips-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.14.4
ACCEPT_KEYWORDS="mips"
AUTOCLEAN="yes"
CBUILD="mips-unknown-linux-gnu"
CFLAGS="-O2 -march=mips4 -pipe -fomit-frame-pointer -ftracer -fforce-addr"
CHOST="mips-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=mips4 -pipe -fomit-frame-pointer -ftracer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.mneisen.org/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
MAKEOPTS="-j7"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/raid5/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="berkdb bitmap-fonts cli cracklib fortran gdbm gpm iconv ip27 isdnlog libwww midi mips mudflap nls nptl nptlonly openmp pam pcre perl pppd python readline reflection sdl session spl ssl tcpd truetype-fonts type1-fonts xorg" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev impact newport v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


renderfarm kaazoo # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             9.2G  1.6G  7.2G  18% /
udev                  373M  8.1M  365M   3% /dev
/dev/sda1             388M   15M  353M   4% /boot
/dev/sda4             4.0G  182M  3.7G   5% /home
shm                   373M     0  373M   0% /dev/shm
/dev/md/1              51G  2.8G   45G   6% /raid5


renderfarm kaazoo # free -m
             total       used       free     shared    buffers     cached
Mem:           745        725         19          0         40        487
-/+ buffers/cache:        197        547
Swap:         2870         32       2838
Comment 1 kaaZoo 2007-07-13 11:03:31 UTC
Created attachment 124741 [details]
build.log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-07-13 11:08:14 UTC
Well, you should either upgrade glibc to latest stable or downgrade autoconf to 2.60. If that doesn't fix your problem, reopen.