When emerging pdnsd I get: if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DCONFDIR="\"/etc/pdnsd\"" -pipe -O2 -march=athlon-xp -fomit-frame-pointer -MT pdnsd-dns_answer.o -MD -MP -MF ".deps/pdnsd-dns_answer.Tpo" -c -o pdnsd-dns_answer.o `test -f 'dns_answer.c' || echo './'`dns_answer.c; \ then mv -f ".deps/pdnsd-dns_answer.Tpo" ".deps/pdnsd-dns_answer.Po"; else rm -f ".deps/pdnsd-dns_answer.Tpo"; exit 1; fi dns_answer.c: In function `init_udp_socket': dns_answer.c:1328: error: `IPV6_RECVPKTINFO' undeclared (first use in this function) If I give it -ipv6 in package.use, it works. I don't use IPV6 on my system, so that's a fine workaround for me. But if IPV6 is supposed to be supported by this package, then this seems like a major problem. I'm willing to test if that would be useful.
Builds fine on my system. Does your <bits/in.h> contain IPV6_RECVPKTINFO define? If not, what glibc version you have?
Rats, I should have guessed it was glibc related. I'm on glibc 2.3.6-r5 since I haven't wanted to risk upgrading gcc to get glibc 2.4. Sure enough, bits/in.h has no such definition.
This is an ancient version of glibc! I suggest you update your glibc & gcc right away. Don't worry, at worst you will have to --resume --skipfirst a couple of times and run revdep-rebuild after the (for you) necessary emerge --depclean. I will not add a glibc atom in dependencies only to impose a glibc update, especially that I don't know for sure it lacks IPv6 support. Closed as WONTFIX.