I emerged vanilla-sources and I noticed it fails because it's tring to cd into /tmp/portage/vanilla-sources-2.4.22/work/linux-2.4.22-vanilla but the actually directory it should be cding into is /tmp/portage/vanilla-sources-2.4.22/work/linux-2.4.22 Reproducible: Always Steps to Reproduce: 1. emerge vanilla-sources Actual Results: emerge vanilla-sources Calculating dependencies ...done! >>> emerge (1 of 1) sys-kernel/vanilla-sources-2.4.22 to / >>> md5 src_uri ;-) linux-2.4.22.tar.bz2 >>> Unpacking source... >>> Unpacking linux-2.4.22.tar.bz2 to /tmp/portage/vanilla-sources-2.4.22/work /usr/sbin/ebuild.sh: line 27: cd: /tmp/portage/vanilla-sources-2.4.22/work/linux-2.4.22-vanilla: No such file or directory /usr/sbin/ebuild.sh: line 112: cd: /tmp/portage/vanilla-sources-2.4.22/work/linux-2.4.22-vanilla: No such file or directory mv: cannot stat `Makefile': No such file or directory sed: can't read Makefile.orig: No such file or directory !!! ERROR: sys-kernel/vanilla-sources-2.4.22 failed. !!! Function kernel_universal_unpack, Line 115, Exitcode 2 !!! (no error message) Expected Results: install the kernel into /usr/src/linux-2.4.22 Gentoo Base System version 1.4.3.12 Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.22) ================================================================= System uname: 2.4.22 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -mmmx -msse -msse2 -mfpma th=sse -DNDEBUG -DNO_DEBUG" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /usr/X11R6/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -mmmx -msse -msse2 -mfp math=sse -DNDEBUG -DNO_DEBUG" DISTDIR="/tmp/disfiles" FEATURES="ccache autoaddcvs sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu x/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/tmp/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage/" USE="oss apm avi foomaticdb gif gpm jpeg gnome libg++ libwww mad mikmod motif mp eg nls png quicktime slang spell xml2 zlib gdbm berkdb readline arts svga java m ysql sdl tcpd pam perl esd imlib gtk cdr -crypt -cups dvd -encode kde maildir mm x mozilla ncurses oggvorbis opengl pda pdflib python qt samba sse -ssl truetype usb X xmms xv x86"
resync and try again please
That fixed it, thanks