Emerging dev-lang/erlang-11.2.4 fails at Install stage after successful compilation. From the log: ... >>> Install erlang-11.2.4 into /var/tmp/portage/dev-lang/erlang-11.2.4/image/ category dev-lang test -d /var/tmp/portage/dev-lang/erlang-11.2.4/image//usr/bin || /usr/bin/install -c -d /var/tmp/portage/dev-lang/erlang-1 1.2.4/image//usr/bin cd erts && \ ERL_TOP=/var/tmp/portage/dev-lang/erlang-11.2.4/work/otp_src_R11B-4 PATH=/var/tmp/portage/dev-lang/erlang-11.2.4/ work/otp_src_R11B-4/bootstrap/bin:${PATH} \ make TESTROOT=/var/tmp/portage/dev-lang/erlang-11.2.4/image//usr/lib64/erlang release cd lib && \ ERL_TOP=/var/tmp/portage/dev-lang/erlang-11.2.4/work/otp_src_R11B-4 PATH=/var/tmp/portage/dev-lang/erlang-11.2.4/ work/otp_src_R11B-4/bootstrap/bin:${PATH} \ make TESTROOT=/var/tmp/portage/dev-lang/erlang-11.2.4/image//usr/lib64/erlang BUILD_ALL=true release make[1]: Entering directory `/var/tmp/portage/dev-lang/erlang-11.2.4/work/otp_src_R11B-4/erts' /usr/bin/install -c -d /var/tmp/portage/dev-lang/erlang-11.2.4/image//usr/lib64/erlang make[2]: Entering directory `/var/tmp/portage/dev-lang/erlang-11.2.4/work/otp_src_R11B-4/erts/emulator' make -f x86_64-pc-linux-gnu/Makefile release make[1]: Entering directory `/var/tmp/portage/dev-lang/erlang-11.2.4/work/otp_src_R11B-4/lib' /usr/bin/install -c -d /var/tmp/portage/dev-lang/erlang-11.2.4/image//usr/lib64/erlang/usr/lib cd /var/tmp/portage/dev-lang/erlang-11.2.4/image//usr/lib64/erlang && ./Install -minimal /var/tmp/portage/dev-lang/erlang-1 1.2.4/image//usr/lib64/erlang /bin/sh: ./Install: No such file or directory make: *** [install.Install] Error 127 make: *** Waiting for unfinished jobs.... This is probably the build error which causes the ebuild to fail at the end: !!! ERROR: dev-lang/erlang-11.2.4 failed. Call stack: ebuild.sh, line 1614: Called dyn_install ebuild.sh, line 1060: Called qa_call 'src_install' environment, line 3692: Called src_install erlang-11.2.4.ebuild, line 92: Called die !!! install failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/log/portage/dev-lang:erlang-11.2.4:20070413-003211.log'. Here my emerge --info block: Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-3.4.6, glibc-2.5-r0, 2.6.16-gentoo-r12 x86_64) ================================================================= System uname: 2.6.16-gentoo-r12 x86_64 AMD Opteron(tm) Processor 252 Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 12 Apr 2007 23:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.3.5-r3, 2.4.3-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.16.1-r3 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=opteron -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://128.213.5.34/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" 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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dv dvd dvdr dvdread eds emacs emboss encode esd fam firefox flash font-server fortran gd gdbm gif gpm gstreamer gtk gtk2 hal iconv ieee1394 imap ipv6 isdnlog jpeg kde lcms ldap libg++ live mad midi mikmod mjpeg mp3 mpeg ncurses nls nptl nptlonly odbc ogg opengl oss pam pcre perl plotutils png postgres ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session smp spell spl ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis wmf xinerama xml xorg xv 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Having the same issue. After setting the MAKEOPTS to "-j1", found an install error saying that the install wasn't going to overwrite the newly created hipe_optimistic_regalloc.beam Turning off the "hipe" USE flag has allowed me to install, but I don't know why that use flag tries installing hipe_optimistic_regalloc.beam twice.
Here are my USE flags for erlang: # emerge -pv erlang These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-lang/erlang-11.2.4 [11.2.3-r1] USE="emacs odbc smp ssl -doc -hipe -java -kpoll -tk" 0 kB eg. I had hipe disabled when it failed. I guess it is time to try -j1.
(In reply to comment #1) > Turning off the "hipe" USE flag has allowed me to install, but I don't know why > that use flag tries installing hipe_optimistic_regalloc.beam twice. I maintain erlang, but I don't use it and hipe is totally unsupported by me (see ewarn issued when hipe is activated). This installation error is to be taken upstream (your homework for today :). As this seems to be related to amd64, I will set MAKEOPTS to -j1 on that platform.
Added -j1 to the appropriate line, closing.
(In reply to comment #2) > > eg. I had hipe disabled when it failed. I guess it is time to try -j1. > Ok, I did that now and emerge finished installing. This fixes it for me.