I get this error from emerge: emerge -u world Calculating world dependencies ...done! >>> emerge (1 of 4) sys-kernel/aa-sources-2.4.21_rc8-r1 to / >>> Downloading ftp://sunsite.dk/mirrors/gentoo//distfiles/patch-2.4.21-rc8.bz2 --16:00:10-- ftp://sunsite.dk/mirrors/gentoo/distfiles/patch-2.4.21-rc8.bz2 => `/usr/portage/distfiles/patch-2.4.21-rc8.bz2' Resolving sunsite.dk... done. Connecting to sunsite.dk[130.225.247.90]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /mirrors/gentoo/distfiles ... No such directory `mirrors/gentoo/distfiles'. >>> Downloading ftp://gentoo.linux.no/pub/gentoo//distfiles/patch-2.4.21-rc8.bz2 --16:00:31-- ftp://gentoo.linux.no/pub/gentoo/distfiles/patch-2.4.21-rc8.bz2 => `/usr/portage/distfiles/patch-2.4.21-rc8.bz2' Resolving gentoo.linux.no... done. Connecting to gentoo.linux.no[193.201.220.90]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/gentoo/distfiles ... done. ==> PASV ... done. ==> RETR patch-2.4.21-rc8.bz2 ... No such file `patch-2.4.21-rc8.bz2'. >>> Downloading ftp://ftp.tu-clausthal.de/pub/linux/gentoo//distfiles/patch-2.4.21-rc8.bz2 --16:00:52-- ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/patch-2.4.21-rc8.bz2 => `/usr/portage/distfiles/patch-2.4.21-rc8.bz2' Resolving ftp.tu-clausthal.de... done. Connecting to ftp.tu-clausthal.de[139.174.2.36]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/linux/gentoo/distfiles ... done. ==> PASV ... done. ==> RETR patch-2.4.21-rc8.bz2 ... No such file `patch-2.4.21-rc8.bz2'. >>> Downloading http://www.kernel.org/pub/linux/kernel/v2.4/testing/patch-2.4.21-rc8.bz2 --16:01:17-- http://www.kernel.org/pub/linux/kernel/v2.4/testing/patch-2.4.21-rc8.bz2 => `/usr/portage/distfiles/patch-2.4.21-rc8.bz2' Resolving www.kernel.org... done. Connecting to www.kernel.org[204.152.189.116]:80... connected. HTTP request sent, awaiting response... 404 Not Found 16:02:45 ERROR 404: Not Found. !!! Couldn't download patch-2.4.21-rc8.bz2. Aborting. There is a patch that is named patch-2.4.21.rc8-final.bz2 in http://www.kernel.org/pub/linux/kernel/v2.4/testing/incr/ maybe it is that patch you want to use
you have to change the download uri too: http://ftp.belnet.be/linux/kernel/people/marcelo/2.4/testing/old/patch-${PV/_/-}.bz2 (I use the mirror belnet.be) but it is the extra "old" dir in the first line the diff gives: 23c23 < http://ftp.belnet.be/linux/kernel/people/marcelo/2.4/testing/patch-${PV/_/-}.bz2 --- > http://ftp.belnet.be/linux/kernel/people/marcelo/2.4/testing/old/patch-${PV/_/-}.bz2 this solve the problem. eske
Created attachment 13947 [details, diff] ebuild for aa-sources-2.4.21_rc8-r1 there is a problem in the ebuild file. nano -w /usr/portage/sys-kernel/aa-sources/aa-sources-2.4.21_rc8-r1.ebuild find this line: http://www.kernel.org/pub/linux/kernel/v2.4/testing/patch-${PV/_/-}.bz2 change it to this: http://www.kernel.org/pub/linux/kernel/v2.4/testing/old/patch-${PV/_/-}.bz2 the problem is kernel.org changed the location of the patch. this fixed the problem.