The unpack phase of the app-games/umodpack-0.5_beta16 ebuild fails to extract the files in the correct directory. The ebuild makes a change to the P variable to download the correct archive (umodpack-0.5b16-nogui.tar.gz), but the files end up in the umodpack-0.5b16 directory, not the umodpack-0.5_beta16 directory. The ebuild should either ensure the files are in the umodpack-0.5_beta16 directory, or expect the files in the umodpack-0.5b16 directory. Reproducible: Always Steps to Reproduce: 1. Emerge the umodpack file 2. During the start of the compile phase the ebuild will fail Actual Results: >>> emerge (1 of 2) app-games/umodpack-0.5_beta16 to / >>> md5 ;-) umodpack-0.5b16-nogui.tar.gz >>> Unpacking source... >>> Unpacking umodpack-0.5b16-nogui.tar.gz to /var/tmp/portage/umodpack-0.5_beta16/work >>> Source unpacked. Can't open perl script "Makefile.PL": No such file or directory make: *** No targets specified and no makefile found. Stop. !!! ERROR: app-games/umodpack-0.5_beta16 failed. !!! Function perl-module_src_compile, Line 10, Exitcode 2 !!! compilation failed I believe this may be a change in how portage handles changes to the P variable. The second line of the ebuild file reads: P="${P/_beta/b}" Which changes the name from umodpack-0.5_beta16 to umodpack-0.5b16 to match the real name of the archive. When extracted, the files end up in the umodpack-0.5b16 directory, but emerge thinks they are in the umodpack-0.5_beta16 directory. To work around this problem, you can move the directory to the proper directory. ie: mv /var/tmp/portage/umodpack-0.5_beta16/work/umodpack-0.5b16 /var/tmp/portag e/umodpack-0.5_beta16/work/umodpack-0.5_beta16 After the files are moved, the installation should complete normally. You can also put this line after "src_compile() {" in the .ebuild file. Portage 2.0.47-r7 (default-1.0, gcc-2.95.3, glibc-2.2.5-r4,2.2.5-r7) ================================================================= System uname: 2.4.20 i686 AMD Athlon(TM) XP 2000+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv arts berkdb bonobo cdr esd gdbm gif gnome gnome-libs gpm gphoto2 gtk gtkhtml guile imlib java kde libwww motif mozilla nls oggvorbis opengl pam perl png python qt readline scanner sdl slang ssl svga tcltk tcpd tetex tiff X" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
fixed on cvs, my bad ;) http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/umodpack/umodpack-0.5_beta16.ebuild.diff?r1=1.3&r2=1.4