Problem description:
Funtoo's kernel-2.eclass file produces the wrong URI for patches, producing 404 errors from distfiles.gentoo.org (which no longer supplies .xz compressed patches) and kernel.org (which appears not to have the latest patches). This prevents the emerging of recent git-sources kernels (4.16+).
Steps to reproduce:
Run `ebuild /var/git/meta-repo/kits/nokit/sys-kernel/git-sources/git-sources-4.16_rc6.ebuild fetch --skip-manifest`
Output of reproduction steps:
>>> Downloading 'http://distfiles.gentoo.org/distfiles/patch-4.16-rc6.xz' --2018-03-19 20:30:41-- http://distfiles.gentoo.org/distfiles/patch-4.16-rc6.xz Resolving distfiles.gentoo.org... 2605:bc80:3010::134, 2600:3402:200:227::2, 2600:3404:200:237::2, ... Connecting to distfiles.gentoo.org|2605:bc80:3010::134|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-03-19 20:30:42 ERROR 404: Not Found. >>> Downloading 'http://www.kernel.org/pub/linux/kernel/v4.x/testing/patch-4.16-rc6.xz' URL transformed to HTTPS due to an HSTS policy --2018-03-19 20:30:42-- https://www.kernel.org/pub/linux/kernel/v4.x/testing/patch-4.16-rc6.xz Resolving www.kernel.org... 2604:1380:4020:600::1, 147.75.58.133 Connecting to www.kernel.org|2604:1380:4020:600::1|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/testing/patch-4.16-rc6.xz [following] --2018-03-19 20:30:42-- https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/testing/patch-4.16-rc6.xz Resolving mirrors.edge.kernel.org... 2604:1380:1:3600::1, 147.75.197.195 Connecting to mirrors.edge.kernel.org|2604:1380:1:3600::1|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2018-03-19 20:30:42 ERROR 404: Not Found. !!! Couldn't download 'patch-4.16-rc6.xz'. Aborting.
Suggested solution:
Merge the Gentoo kernel-2.eclass file into Funtoo's kernel-2.eclass file. This may have been performed in May 2017 as part of the resolution for issue FL-3805 but the changes are no longer applied. Significant lines of the two eclass files are linked below.
- relates to
-
FL-3805 kernel-2.eclass URI change for kernels 4.12+
- Closed