| Summary: | sys-kernel/gentoo-sources on ppc64le: USE Flag 'headers-only' not in IUSE for sys-kernel/gentoo-sources-6.4.12 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | matoro <matoro_gentoo> |
| Component: | Current packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cat, matoro_gentoo, ppc64, sam |
| Priority: | Normal | Keywords: | PullRequest |
| Version: | unspecified | ||
| Hardware: | PPC64 | ||
| OS: | Linux | ||
| See Also: | https://github.com/gentoo/gentoo/pull/32501 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
matoro
2023-08-28 05:18:21 UTC
Created attachment 868841 [details]
build.log
catcream: please take a look, thanks (In reply to matoro from comment #0) > On ppc64le, can no longer build sys-kernel/gentoo-sources (possibly since > https://github.com/gentoo/gentoo/commit/ > 6472469a0333ea9088e815c0741c2dfb200987b5), it errors during unpack phase > with the following: Please try reverting it locally. (In reply to Sam James from comment #3) > (In reply to matoro from comment #0) > > On ppc64le, can no longer build sys-kernel/gentoo-sources (possibly since > > https://github.com/gentoo/gentoo/commit/ > > 6472469a0333ea9088e815c0741c2dfb200987b5), it errors during unpack phase > > with the following: > > Please try reverting it locally. Just confirmed that local revert fixes the issue. This is the problematic commit. It probably has to do with this line https://github.com/gentoo/gentoo/blob/master/eclass/kernel-2.eclass#L294. Before it would set CHOST before doing the cross logic and setting CTARGET. Now CTARGET will be ppc64-whatever, and CHOST will be powerpc64-... Will take a look at this in a few hours, is it fine to set variables before inheriting in eclasses? The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5f2fe5daab92a94070cfc41acb543941818c96b commit c5f2fe5daab92a94070cfc41acb543941818c96b Author: Alfred Persson Forsberg <cat@catcream.org> AuthorDate: 2023-08-28 22:04:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-29 02:09:00 +0000 kernel-2.eclass: move ppc64 hack before crossdev inherit Closes: https://bugs.gentoo.org/913127 Signed-off-by: Alfred Persson Forsberg <cat@catcream.org> Closes: https://github.com/gentoo/gentoo/pull/32501 Signed-off-by: Sam James <sam@gentoo.org> eclass/kernel-2.eclass | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) |