Trying to emerge quake4-data results in a rather silly break. Not quite sure how an ebuild can be broken in this way as I would think it's something anyone would notice. Reproducible: Always Steps to Reproduce: 1. emerge quake4-bin (which in turn emerges quake4-data) Actual Results: >>> Emerging (1 of 2) games-fps/quake4-data-1.0.2147.12 * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Do you accept the terms of this license (QUAKE4)? [yes/no] yes >>> Unpacking source... * * ERROR: games-fps/quake4-data-1.0.2147.12 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2511: Called base_src_unpack * environment, line 281: Called base_src_util 'all' * environment, line 323: Called base_src_util 'unpack' 'autopatch' * environment, line 296: Called unpack * ebuild.sh, line 337: Called die * The specific snippet of code: * [ -z "$*" ] && die "Nothing passed to the 'unpack' command" * The die message: * Nothing passed to the 'unpack' command * * 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/games-fps/quake4-data-1.0.2147.12/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-fps/quake4-data-1.0.2147.12/temp/environment'. Expected Results: Installation of the CD Data. defiant ben # emerge --info Portage 2.2_rc22 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-glibc2.2.5 Timestamp of tree: Fri, 16 Jan 2009 17:30:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.2 sys-apps/sandbox: 1.3.2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -msse4.1 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=core2 -msse4.1 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_GB" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac aalib acl acpi adplug alsa amd64 amr apm applet archive ares aspell async audacious audio avahi bash-completion berkdb blender-game bluetooth bonjour branding bzip2 cairo cdaudio cdda cddb cdinstall cdparanoia cdr cdrom chardet cjk cli cracklib crypt cups curl daap dbus dga disk-partition dri dts dv dvd dvdr dvdread dvi eds emboss enca encode exif expat fam fasttrack fat ffmpeg firefox flac fmod fontconfig fortran fpx ftp fuse gadu gcrypt gd gdbm gedit geoip gif gimp git glib glitz glut gnome gnome-keyring gnutella gnutls gphoto2 gpm grammar graphviz groupwise gsf gsm gstreamer gtk guile hal hdri hfs howl-compat iconv icq icu id3 id3tag ieee1394 imagemagick imap inkjar ipod ipv6 irc isdnlog ithreads jbig jfs jingle jit jpeg jpeg2k kerberos kqemu krb4 ladspa lame lcms ldap libnotify libsamplerate live lua lzo mad maps mdnsresponder-compat meanwhile midi mikmod mmap mmx mmxext mng modplug mp2 mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib musepack musicbrainz nautilus ncurses nemesi network networking networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs nvtv ogg openal openexr openft opengl openmp pam pcre pda pdf perl ping png ppds pppd prediction python qq qt3support qt4 quicktime radio radius rar raw readline reflection reiser4 reiserfs rle rpm rtc samba sasl schroedinger scrobbler sdl sdl-sound session silc smi smp sndfile snmp soundtouch speex spell spl sqlite srt sse sse2 sse3 ssh ssl ssse3 startup-notification subversion svg sysfs tagwriting tcl tcpd teletext tga theora threads tiff tracker truetype tta twolame unicode upnp ups usb utils v4l v4l2 vamp vcd vivox vorbis wavpack wma wmf x264 xfs xft xine xml xmp xorg xpm xulrunner xv xvid xvmc zephyr zeroconf zlib" ALSA_CARDS="ctxfi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="fglrx radeonhd" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
base.eclass has stupid default functions
Changed base.eclass to avoid passing empty $A to unpack. Resync and try it again.
Yup works fine. Thanks.