Created attachment 767621 [details] net-libs:glib-networking-2.72.0:20220323-074341.log FAILED: tls/tests/certificate-gnutls x86_64-pc-linux-gnu-gcc -m32 -o tls/tests/certificate-gnutls tls/tests/certificate-gnutls.p/certificate.c.o -Wl,--as-needed -Wl,--no-undefined -march=znver2 --param=l1-cache-size=32 --param=l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--start-group /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -Wl,--export-dynamic /usr/lib/libgmodule-2.0.so -pthread /usr/lib/libgnutls.so -Wl,--end-group /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: tls/tests/certificate-gnutls.p/certificate.c.o: in function `main': certificate.c:(.text.startup+0xde): undefined reference to `gnutls_pkcs11_init' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: certificate.c:(.text.startup+0x127): undefined reference to `gnutls_pkcs11_add_provider
Created attachment 767622 [details] emerge --info
Same for me It wants USE='pkcs11' emerge net-libs/gnutls Then builds fine
Seems there's been: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7068209eac9441762c2ad3ba1fe64d392e22e68b Albeit that pkcs11 is not a default may be an annoyance for a lot of users now.
Reopening to remind me to fix the pkcs11-related things not touched by that commit.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d58cdc65e555a187b0a511e222748e94a023fd2 commit 9d58cdc65e555a187b0a511e222748e94a023fd2 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2022-03-23 17:00:57 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-03-23 17:06:28 +0000 net-libs/glib-networking: Avoid gnutls[pkcs11] dep without USE=test Commit 7068209eac9 ("net-libs/glib-networking: gnutls needs pkcs11 support") added a USE dependency on net-libs/gnutls[pkcs11] in response to a build problem. The appropriate fix was to double check the sed in src_prepare() whose purpose is clearly noted as avoiding the pkcs11 dependence. It turns out the `subdir` line it attempted to modify had been moved. With that resolved, we can continue avoiding the pkcs11 dependence. Also revbump as required when runtime dependencies change, as should have been done in the aforementioned commit. Revert "net-libs/glib-networking: gnutls needs pkcs11 support" This reverts commit 7068209eac9441762c2ad3ba1fe64d392e22e68b. Closes: https://bugs.gentoo.org/835833 Signed-off-by: Matt Turner <mattst88@gentoo.org> ...glib-networking-2.72.0.ebuild => glib-networking-2.72.0-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)