Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918102 - app-crypt/p11-kit: broken symbol versioning with sys-devel/lld-17 (app-crypt/pinentry fails to build with llvm-lld-17: ...)
Summary: app-crypt/p11-kit: broken symbol versioning with sys-devel/lld-17 (app-crypt/...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 912821
  Show dependency tree
 
Reported: 2023-11-23 19:31 UTC by topological-automata
Modified: 2024-03-24 19:15 UTC (History)
3 users (show)

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


Attachments
app-crypt/pinentry's build.log (build.log,19.20 KB, text/x-log)
2023-11-23 19:31 UTC, topological-automata
Details
emerge --info (emerge-info,19.76 KB, text/plain)
2023-11-23 19:32 UTC, topological-automata
Details
pinentry's build.log after rebuilding (successfully) app-crypt/{gcr,p11-kit} (new-build.log-after-re-building-gcr-and-p11-kit.log,18.53 KB, text/plain)
2023-12-28 08:31 UTC, topological-automata
Details

Note You need to log in before you can comment on or make changes to this bug.
Description topological-automata 2023-11-23 19:31:48 UTC
Created attachment 875443 [details]
app-crypt/pinentry's build.log

attached is build.log and emerge --info.
heard that `--no-allow-shlib-undefined` in llvm 17's lld, is now the default and it breaks many packages, so my question is: is the problem directly upstream?
Comment 1 topological-automata 2023-11-23 19:32:52 UTC
Created attachment 875444 [details]
emerge --info

emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-26 00:27:54 UTC
The issue is in p11-kit.

Is p11-kit-0.25.3 any better?
Comment 3 nvinson234 2023-11-26 02:04:42 UTC
Rebuilding app-crypt/gcr-3.41.1-r2 fixed this issue for me.
Comment 4 topological-automata 2023-12-28 08:28:31 UTC
apologies for late response; I can't get bugzilla to send me mails when someone comments on the issues;

> Is p11-kit-0.25.3 any better? 
nope, tried to build Is p11-kit-0.25.3-r2; it builds fine, but pinentry still gives out the same error attached at the beginning, but you can find another build.log for good measure attached now.

> Rebuilding app-crypt/gcr-3.41.1-r2 fixed this issue for me.
I tried rebuilding app-crypt/gcr-3.41.1-r2 and pinentry still has that error, so no luck
Comment 5 topological-automata 2023-12-28 08:31:22 UTC
Created attachment 880794 [details]
pinentry's build.log after rebuilding (successfully) app-crypt/{gcr,p11-kit}
Comment 6 wolfgang 2024-03-22 02:15:28 UTC
I was able to successfully install pinentry after first reinstall p11-kit with gcc instead of clang
Comment 7 Marcin Deranek 2024-03-24 19:15:45 UTC
A similar error is emitted when app-crypt/p11-kit is built with sys-devel/mold. When app-crypt/p11-kit is built using the default linker (bfd) everything works just fine.