Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 670334

Summary: net-libs/libtirpc: USE=static-libs doesn't enforce static build for virtual/krb5 dep (USE=kerberos)
Product: Gentoo Linux Reporter: Thomas Deutschmann (RETIRED) <whissi>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal CC: jfostiguy
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=667272
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Deutschmann (RETIRED) gentoo-dev 2018-11-04 22:52:18 UTC
net-libs/libtirpc promise to support static linking via USE=static-libs. However, we cannot keep that promise when USE=kerberos is also set because we cannot enforce static-libs through all virtual/krb5 providers.
Comment 1 Mike Gilbert gentoo-dev 2018-11-05 04:31:24 UTC
This seems like a stupid reason to drop static-libs.

Better solutions:

1. Set REQUIRED_USE="static-libs? ( !kerberos )" in net-libs/libtirpc.

2. Add IUSE="static-libs" to virtual/krb5, and force heimdal if it is enabled.

3. Add static libs support to app-crypt/mit-krb5 (if possible).
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2018-11-05 10:36:09 UTC
Of course, you could also fix this. I initially said "drop" because if you consider your option 1 as possible solution we wouldn't need static-libs at all because virtual/krb5 is the only dependency.