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

Bug 691678

Summary: net-dns/dnsmasq-2.80 USE="-dnssec static" - pkg_pretend() einfo is confusing
Product: Gentoo Linux Reporter: steffen_brauer
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description steffen_brauer 2019-08-07 12:14:56 UTC
When compiling net-dns/dnsmasq-2.80[static,!dnssec] sys-libs/gmp[static-libs] is needed although the message "* Only sys-libs/gmp and dev-libs/nettle are statically linked. * Thus, dnsmasq-2.80[!dnssec,static] makes no sense; the static USE flag is ignored. " suggests otherwise.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-08-12 06:29:19 UTC
With USE=dnssec, dev-libs/nettle becomes a dependency. With the additional USE=static, dnsmasq will statically link to libnettle and consequently libgmp during the build. Without USE=dnssec, dnsmasq will not link statically to anything (not even libc?) so USE=static is ignored when USE=-dnssec.