| Summary: | make fails for net-dns/dnsmasq-2.40: undefined reference to `in6addr_any' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Silvan Heintze <silvan.heintze> |
| Component: | New packages | Assignee: | Gentoo ARM Porters <arm> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | chutzpah |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | adds USE=ipv6 | ||
|
Description
Silvan Heintze
2008-02-12 20:23:52 UTC
it sounds like dnsmasq needs USE=ipv6 for disabling and enabling IPv6 support Created attachment 144016 [details]
adds USE=ipv6
test this out to see if that helps
Thank you - the patch works beautifully when setting "-ipv6". I suppose, if I set ipv6 in make.conf and re-emerge world, it should work, too. Haven't tried that, though. ;-) However, when setting "ipv6" only for dnsmasq, obviously no other packages are pulled in, and again compilation fails. Is that the expected behaviour, or shouldn't the ebuild rather "know" what other libraries need to be compiled before, if the user suddenly wants ipv6 support? Fixed in net-dns/dnsmasq-2.41. The only way to check the dependencies for ipv6 would be to do a built_with_use check on the libc, after figuring out which libc is running. I checked the tree and it does not appear that any other packages do this, so I will leave it out. Maybe I will do something more robust once portage has USE dependencies. |