Starting with a new install on an Athlon 1200 system, the first emerge -ua world stops at installation of a new perl version. The system runs out of memory while performing the installperl command. The compilation itself is always successful. -------------------------------------------------------------------------------------------------------- Making Errno (nonxs) make[2]: Entering directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/ext/Errno' make[2]: Leaving directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/ext/Errno' make[2]: Entering directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/ext/Errno' make[2]: Leaving directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/ext/Errno' make[1]: [extras.make] Error 1 (ignored) Everything is up to date. Type 'make test' to run test suite. if [ -n "" ]; \ then \ cd utils; make compile; \ cd ../x2p; make compile; \ cd ../pod; make compile; \ else :; \ fi ./perl installperl --destdir=/var/tmp/portage/perl-5.8.8-r2/image/ make[1]: *** [install.perl] Killed make[1]: Leaving directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8' make: *** [install] Error 2 !!! ERROR: dev-lang/perl-5.8.8-r2 failed. Call stack: ebuild.sh, line 1539: Called dyn_install ebuild.sh, line 1013: Called src_install perl-5.8.8-r2.ebuild, line 295: Called die !!! Unable to make install !!! If you need support, post the topmost build error, and the call stack if relevant. merlin ~ # emerge --info Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) processor Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/gcc-config: 1.3.12-r6 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -march=athlon -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ " 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr cli crypt cups dri dvd eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
So, you expect us to ship you some RAM, or... ??? :=)
no, really not :-) I think, 512MB RAM and 1GByte of swap should be enough. I don't really know, what's the reason. Everything is fine with all the emerge processes. When the final installdir command is in progress, you can watch with top free memory is going down, until all the swap is used, and then the process stops.
df -h and mtab info please
merlin ~ # df -h Dateisystem Gr
merlin ~ # df -h Dateisystem Größe Benut Verf Ben% Eingehängt auf /dev/hda3 19G 1,7G 17G 9% / udev 252M 104K 251M 1% /dev /dev/hda1 38M 2,6M 34M 8% /boot none 252M 0 252M 0% /dev/shm mtab: /dev/hda3 / reiserfs rw 0 0 proc /proc proc rw 0 0 sysfs /sys sysfs rw 0 0 udev /dev tmpfs rw,nosuid 0 0 devpts /dev/pts devpts rw 0 0 /dev/hda1 /boot ext2 rw,noatime 0 0 none /dev/shm tmpfs rw 0 0 usbfs /proc/bus/usb usbfs rw,devmode=0664,devgid=85 0 0
worth a shot. You're not the first person to report this problem - but the solutions in each case have been unique (in one case the user needed to start the install over, in another it was locale settings stomping in, bad memory, etc.). I'll keep researching as best I can.
(In reply to comment #5) > worth a shot. You're not the first person to report this problem - but the > solutions in each case have been unique (in one case the user needed to start > the install over, in another it was locale settings stomping in, bad memory, > etc.). I'll keep researching as best I can. > don't think it's a simple solution. To your solutions: 1. It's my third try with this computer, starting each with an empty harddisk. The problem didn't occur on another system. There is also a strange python problem (math error occurs. I had to replace the _SQRT(2.0) with it's value in random.py) 2. The problem occured on a fresh install, just with the first emerge -ua world on the system. So it seems, that it is not a locale problem. 3. Just tested the memory already more then three hours with memtest86. No errors at all. 4. The computer is running under windows xp without any problem :-(. I still have three different Gentoo-server-systems running. No problems at all (ok, hardware is newer). Only on my home-system ... :-( Any more hints? Is there any loop in installperl, that might cause the problem?
Closing a dead bug.