When I build gnutls while tpm2-tss is also merged on the system then gnutls automatically links with tpm2 libraries. Once I uninstall all packages that required tpm2-tss (in my case it was openconnect) and do a depclean, then gnutls has a broken dependency. Either explicitly disable tpm2 (similar to tpm) or add a useflag with a dependency. Reproducible: Always Steps to Reproduce: 1. Make sure tpm2-tss is installed 2. Merge gnutls 3. Make sure tpm2-tss is not installed anymore and see that `ldd /usr/lib64/libgnutls.so` lists libraries that are unavailable
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3035ad721eb51a82d09d86bb4a8c6d29298a12c commit b3035ad721eb51a82d09d86bb4a8c6d29298a12c Author: Sam James <sam@gentoo.org> AuthorDate: 2022-03-06 09:32:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-03-06 09:36:26 +0000 net-libs/gnutls: fix automagic dependency on app-crypt/tpm2-tss Closes: https://bugs.gentoo.org/832569 Signed-off-by: Sam James <sam@gentoo.org> .../{gnutls-3.7.3.ebuild => gnutls-3.7.3-r1.ebuild} | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)