https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-crypt/clevis-18 fails to compile. Discovered on: amd64 (internal ref: guru_ci)
Created attachment 845289 [details] build.log build log and emerge --info
I was finally able to reproduce this bug. Build dev-libs/jose under dev-libs/openssl-1.1.* Upgrade to >=dev-libs/openssl-3 Do NOT emerge @preserved-rebuild Manually remove /usr/lib64/libcrypto.so.1.1 Emerge app-crypt/clevis Linking fails because it links against libjose.so which links against libcrypto.so.1.1 which is missing. [...]/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib64/libjose.so, not found (try using -rpath or -rpath-link) Since dev-libs/jose gets flagged in @preserved-rebuild on openssl upgrade, I really don't know why this bug even got created in the first place. I also don't know how to fix the ebuild to prevent this. !!! existing preserved libs: >>> package: dev-libs/openssl-3.0.7-r2 * - /usr/lib64/libcrypto.so.1.1 * used by /usr/lib64/libjose.so.0.0.0 (dev-libs/jose-11) Use emerge @preserved-rebuild to rebuild packages using these libraries
This means dev-libs/jose depends on dev-libs/openssl:=, you need to add that to RDEPEND.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9c7c686bede3adea700627844e0fdab29cc22ec6 commit 9c7c686bede3adea700627844e0fdab29cc22ec6 Author: Julien Roy <julien@jroy.ca> AuthorDate: 2023-01-15 16:02:47 +0000 Commit: Julien Roy <julien@jroy.ca> CommitDate: 2023-01-15 16:02:47 +0000 dev-libs/jose: add openssl RDEPEND Closes: https://bugs.gentoo.org/888687 Signed-off-by: Julien Roy <julien@jroy.ca> dev-libs/jose/jose-11.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)