Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944016 - sys-kernel/vanilla-kernel: build failed after disabling debug USE
Summary: sys-kernel/vanilla-kernel: build failed after disabling debug USE
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Distribution Kernel Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-19 16:47 UTC by Leo Douglas
Modified: 2024-11-19 18:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build1.log,10.37 KB, text/x-log)
2024-11-19 16:47 UTC, Leo Douglas
Details
emerge --info sys-kernel/vanilla-kernel (emerge-info.txt,7.06 KB, text/plain)
2024-11-19 16:48 UTC, Leo Douglas
Details
/etc/portage/savedconfig/sys-kernel/vanilla-kernel (vanilla-kernel,176.17 KB, text/plain)
2024-11-19 16:53 UTC, Leo Douglas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Douglas 2024-11-19 16:47:54 UTC
Created attachment 910225 [details]
build.log

After disabling debug USE, emerge -ac will automatically remove dev-util/pahole, and then the build will fail after customizing savedconfig.
Comment 1 Leo Douglas 2024-11-19 16:48:27 UTC
Created attachment 910226 [details]
emerge --info sys-kernel/vanilla-kernel
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-19 16:52:19 UTC
Not sure if I'm missing something, but isn't that PEBKAC?

i.e. We can't know what's inside the savedconfig, it could be anything, we can't modify dependencies based on it?
Comment 3 Leo Douglas 2024-11-19 16:53:40 UTC
Created attachment 910229 [details]
/etc/portage/savedconfig/sys-kernel/vanilla-kernel
Comment 4 Leo Douglas 2024-11-19 16:55:48 UTC
(In reply to Sam James from comment #2)
> Not sure if I'm missing something, but isn't that PEBKAC?
> 
> i.e. We can't know what's inside the savedconfig, it could be anything, we
> can't modify dependencies based on it?

So why can dev-util/pahole only be relied on when debug USE is enabled?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-19 16:57:50 UTC
You can apply the same argument to adding everything to *DEPEND that a user might add to savedconfig?
Comment 6 Leo Douglas 2024-11-19 17:01:02 UTC
(In reply to Sam James from comment #5)
> You can apply the same argument to adding everything to *DEPEND that a user
> might add to savedconfig?

So what should the user do? Shouldn't the user customize the vanilla kernel, or should the user handle dependencies caused by customization themselves? If it's the latter, then I think it can be closed.
Comment 7 Mike Gilbert gentoo-dev 2024-11-19 18:22:27 UTC
(In reply to Leo Douglas from comment #6)
> So what should the user do? Shouldn't the user customize the vanilla kernel,
> or should the user handle dependencies caused by customization themselves?
> If it's the latter, then I think it can be closed.

If you use savedconfig, you must manage any dependencies yourself.