While updating gentoo, dnsmasq no longer compiles with the new nettle version. Reproducible: Always Steps to Reproduce: 1. update dev-libs/nettle to version 3.1.1 2. emerge @preserved-rebuild wants to rebuild dnsmasq 3. emerge fails
Created attachment 412974 [details] build.log of net-dns/dnsmasq-2.75
It works for me also for me for stable/unstable versions: (chroot) vh prova2 # qlop -l | tail -3 Sat Sep 26 16:49:14 2015 >>> dev-libs/nettle-3.1.1 Sat Sep 26 16:50:19 2015 >>> net-dns/dnsmasq-2.72-r2 Sat Sep 26 16:54:24 2015 >>> net-dns/dnsmasq-2.75
If i disable dnssec it works: $> emerge -avuND @world $> USE="$USE -dnssec" emerge -av dnsmasq $> qlop -l | tail 2 Sat Sep 26 23:53:02 2015 >>> dev-libs/nettle-3.1.1 Sat Sep 26 23:54:12 2015 >>> net-dns/dnsmasq-2.72-r2
I figured it out: The error is in /usr/lib64/pkgconfig/hogweed.pc, which is installed by nettle in combination with dev-util/pkgconf-0.9.3-r1. The # in the "Libs:" line makes pkgconf throw an error and "-lhogweed -lnettle" are missing while linking: $> pkg-config --libs hogweed Package # was not found in the pkg-config search path. Perhaps you should add the directory containing `#.pc' to the PKG_CONFIG_PATH environment variable Package '#', required by 'hogweed', not found Affected are dev-util/pkgconf-0.9.3-r1 dev-util/pkgconf-0.9.6 dev-util/pkgconf-0.9.8 It works with dev-util/pkgconf-0.9.11 dev-util/pkgconfig-0.20-r2 I'm not sure if dev-util/pkgconf or dev-libs/nettle-3.1.1 need fixing. Because a grep shows, that nettle is the only package on my system, which has a # on the "Libs:" line: $> grep "^Libs:.*\#" /usr/lib64/pkgconfig/*pc /usr/lib64/pkgconfig/hogweed.pc:Libs: -L${libdir} -lhogweed # -lgmp Depending on the right solution, the title of the bug should be edited.
*** This bug has been marked as a duplicate of bug 546092 ***
*** Bug 562144 has been marked as a duplicate of this bug. ***