There is a problem with erlang-10.2.6, see bug id 97798, so the solution seems to be to downgrade to erlang-10.2.0. However, erlang-10.2.0-export-TARGET.patch is missing from the file directory so 10.2.0 will not build. Reproducible: Always Steps to Reproduce: 1. add dev-lang/erlang-10.2.6 to /etc/portage/package.mask 2. add the proper keyword to erlang in /etc/portage/package.keyword (this was tested on ~amd64 but it should affect all platforms) 3. emerge erlang Actual Results: * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/dev-lang/erlang/files/erlang-10.2.0-export-TARGET.patch * ( erlang-10.2.0-export-TARGET.patch ) !!! ERROR: dev-lang/erlang-10.2.0 failed. !!! Function epatch, Line 217, Exitcode 0 !!! Cannot find $EPATCH_SOURCE! !!! If you need support, post the topmost build error, NOT this status message. Expected Results: The missing erlang-10.2.0-export-TARGET.patch is apparently the same as erlang-10.2.6-export-TARGET.patch so either the same patch should be used for both versions or another copy of the patch for 10.2.0 should be included. This was also reported in 97707 but is not related to that bug. Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 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.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache digest distlocks fixpackages nostrip sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 3dnowex X Xaw3d aac aalib alsa apache2 arts avi bash-completion berkdb bibi bitmap-fonts bonobo cddb cdparanoia cdr crypt cups curl dbd dbread doc dv dvb dvd dvdr dvdread edl eds emacs encode esd fam ffmpeg flac foomaticdb fortran fpx gd gdbm ggi gif gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal ieee1394 imagemagick imlib ipv6 jack java javascript jbig jikes jpeg junit jython kde kdeenablefinal lcms libgd libgda libwww lirc live lzo lzw lzw-tiff mad mailwrapper md5sum mng motif mozilla mp3 mpeg nas ncurses network nls nptl nptlonly nvidia objc odbc offensive ogg oggvorbis openexr opengl oss pam pcre pdflib perl perlsuid pic plotutils png povray ppds python qt quicktime readline real rtc scanner sdl slang snmp spell ssl svg tcktk tcltk tcpd test tetex tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vorbis wmf xalsa xanim xine xml2 xmms xpm xprint xv xvid xvmc yv12 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
fixed in cvs