Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670334 - net-libs/libtirpc: USE=static-libs doesn't enforce static build for virtual/krb5 dep (USE=kerberos)
Summary: net-libs/libtirpc: USE=static-libs doesn't enforce static build for virtual/k...
Status: CONFIRMED
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: 2018-11-04 22:52 UTC by Thomas Deutschmann
Modified: 2018-11-05 10:36 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 Thomas Deutschmann gentoo-dev Security 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 gentoo-dev Security 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.