Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691678 - net-dns/dnsmasq-2.80 USE="-dnssec static" - pkg_pretend() einfo is confusing
Summary: net-dns/dnsmasq-2.80 USE="-dnssec static" - pkg_pretend() einfo is confusing
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
Depends on:
Reported: 2019-08-07 12:14 UTC by steffen_brauer
Modified: 2019-08-12 06:29 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
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.