Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 842858

Summary: sys-kernel/vanilla-kernel - missing dependency on dev-libs/openssl
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: Current packagesAssignee: Distribution Kernel Project <dist-kernel>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Mike Gilbert gentoo-dev 2022-05-06 04:30:29 UTC
After upgrading from openssl-1.1.x to openssl-3.x, I get the following preserved libs:

!!! existing preserved libs:
>>> package: dev-libs/openssl-3.0.3
 *  - /usr/lib64/
 *      used by /usr/src/linux-5.15.36-dist/scripts/extract-cert (sys-kernel/vanilla-kernel-5.15.36)
 *      used by /usr/src/linux-5.15.37-dist/scripts/extract-cert (sys-kernel/vanilla-kernel-5.15.37)
Comment 1 Mike Gilbert gentoo-dev 2022-05-06 18:01:59 UTC
A couple possible solutions:

1. Disable CONFIG_SYSTEM_TRUSTED_KEYRING and CONFIG_SYSTEM_REVOCATION_LIST by default. This would prevent extract-cert from being built.

2. Add the necessary dependencies to kernel-build.eclass and kernel-install.eclass.





The RDEPEND setting is technically incorrect if we are cross-compiling. A possible alternative would be to remove the "extract-cert" binary from the installation image.