When I try to install the virtual-guest-additions to a gentoo guest os, after removing the sed lines from all the required ebuilds (bug 262271) and downloading fresh tarball from VirtualBox.org, the following happens: I keep getting the following from my build log: [32;01m*[0m Determining the location of the kernel source code [32;01m*[0m Found kernel source directory: [32;01m*[0m /usr/src/linux [32;01m*[0m Found kernel object directory: [32;01m*[0m /lib/modules/2.6.28-gentoo-r3/build [32;01m*[0m Found sources for kernel version: [32;01m*[0m 2.6.28-gentoo-r3 >>> Unpacking source... >>> Unpacking VirtualBox-2.1.4-3-OSE.tar.bz2 to /var/tmp/portage/app-emulation/virtualbox-guest-additions-2.1.4/work /var/tmp/portage/app-emulation/virtualbox-guest-additions-2.1.4/temp/environment: line 3243: VirtualBox-2.1.4-3_OSE/src/VBox/Additions/linux/export_modules: No such file or directory >>> Unpacking ./vbox-kmod.tar.gz to /var/tmp/portage/app-emulation/virtualbox-guest-additions-2.1.4/work [31;01m*[0m [31;01m*[0m ERROR: app-emulation/virtualbox-guest-additions-2.1.4 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 49: Called src_unpack [31;01m*[0m environment, line 3244: Called unpack './vbox-kmod.tar.gz' [31;01m*[0m ebuild.sh, line 354: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m [[ ! -s ${srcdir}${x} ]] && die "${x} does not exist" [31;01m*[0m The die message: [31;01m*[0m ./vbox-kmod.tar.gz does not exist [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-2.1.4/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-2.1.4/temp/environment'. [31;01m*[0m This ebuild is from an overlay: '/usr/local/portage/' [31;01m*[0m
Sorry - forgot to mention - using the jokey overlay. emerge --info: Portage 2.2_rc25 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r3 i686) ================================================================= System uname: Linux-2.6.28-gentoo-r3-i686-Genuine_Intel-R-_CPU_T2500_@_2.00GHz-with-glibc2.0 Timestamp of tree: Tue, 17 Mar 2009 01:30:01 +0000 app-shells/bash: 4.0_p10-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.4.4-r15, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.6 sys-devel/autoconf: 2.63 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="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" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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/layman/jokey /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 aac aalib acl acpi alsa ao apache2 atm avahi bash-completion berkdb blas bzip2 cairo caps cdb cddb cdr cgi clamav cli contrib cracklib crypt cscope css ctype curl cxx dbus djvu dri dvd dvdr dvdread dvi emacs encode examples exif expat ffmpeg fftw firefox flac fortran ftp gdbm gmp gnuplot gnutls gpm gs gsl gtk gtkhtml guile hal hyperwave-api iconv iee1394 imagemagick imap imlib ipv6 isdnlog jadetex java jbig jpeg jpeg2k kerberos lapack latex lcms ldap libcaca libnotify libwww logrotate lzo mdnsresponder-compat midi mmx mng mp3 mpeg mudflap ncurses networking nis nls nptl nptlonly nsplugin offensive ogg openexr opengl openmp pam pcre pdf perl php plotutils png ppds pppd python raw readline reflection rle samba scanner sdl server session sndfile snmp spell spl sse ssl startup-notification subversion svg svga sysfs tcl tcpd tetex theora threads tiff tk truetype unicode usb utils vhosts vnc vorbis win32codecs wmf wxwindows x86 xattr xcomposite xinetd xml xorg xpm xprint xscreensaver xulrunner xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Cannot reproduce with the in-tree ebuilds. Reopen if this is still an issue.