Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 206676 - net-dns/pdnsd-1.2.6 fails to build: IPV6_RECVPKTINFO undeclared
Summary: net-dns/pdnsd-1.2.6 fails to build: IPV6_RECVPKTINFO undeclared
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-19 17:50 UTC by Jason Bucata
Modified: 2008-01-19 21:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Bucata 2008-01-19 17:50:26 UTC
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.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2008-01-19 20:36:00 UTC
Builds fine on my system. Does your <bits/in.h> contain IPV6_RECVPKTINFO define? If not, what glibc version you have?
Comment 2 Jason Bucata 2008-01-19 20:44:58 UTC
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.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2008-01-19 21:00:16 UTC
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.