emerge vanilla-sources results in errors detailing missing files or directories. Reproducible: Always Steps to Reproduce: 1.emerge sys-kernel/vanilla-sources 2. 3. Actual Results: 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 /var/tmp/portage/vanilla-sources-2.4.22/work /usr/sbin/ebuild.sh: line 27: cd: /var/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: /var/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)
I have identified the problem. It is due to the fact that "kernel.eclass" modify ${KV} from "2.4.22" (set in the ebuild) to "2.4.22-vanilla". This bug is probably related to bug #33045. I have a temporary workaround: ---8<--------------------------------------------------------------------------- --- vanilla-sources-2.4.20.ebuild.orig 2003-11-16 20:41:30.000000000 +0100 +++ vanilla-sources-2.4.20.ebuild 2003-11-18 19:21:02.000000000 +0100 @@ -24,6 +24,7 @@ src_unpack() { unpack linux-${OKV}.tar.bz2 + ln -s linux-2.4.20 linux-${KV} cd ${S} kernel_universal_unpack ---8<--------------------------------------------------------------------------- I do not know the proper way to fix the problem...
Note: the workaround in my previous comment #1 refers to kernel 2.4.20, but all other versions also have the same problem.
this was caused by the changes I made to the sed/bash statements in the eclass. I shall fix this for vanilla now.
this should be fixed in cvs now