Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832569 - net-libs/gnutls-3.7.3 automagic dependency on app-crypt/tpm2-tss
Summary: net-libs/gnutls-3.7.3 automagic dependency on app-crypt/tpm2-tss
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-02 09:09 UTC by Andreas Fink
Modified: 2022-03-06 09:39 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Fink 2022-02-02 09:09:10 UTC
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
Comment 1 Larry the Git Cow gentoo-dev 2022-03-06 09:39:16 UTC
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(-)