I believe USE="xdb" in PowerDNS should be dropped. See, - http://wiki.powerdns.com/trac/changeset/1203 - http://packages.debian.org/changelogs/pool/main/p/pdns/pdns_2.9.22-1/changelog.txt (It mentions XDB being obsolete) Also, it won't compile at all if you don't add #include <sys/types.h> into /usr/include/xdb.h because it complains about mode_t and dev_t Separate dev-libs/xdb has been merged into net-fs/samba, and now recently into new (still package.masked) net-fs/samba-libs. It seems to be different version. Even after adding sys/types.h into include file of deb-libs/xdb it didn't compile until I applied attached patch
Created attachment 196946 [details, diff] Missing includes For exit(), strerror(), sprintf() and so on..
(In reply to comment #0) > Even after adding sys/types.h into include file of deb-libs/xdb it didn't > compile until I applied attached patch *dev-libs/xdb (typo) also I think the missing string.h is a GCC 4.3 failure not a GCC 4.4 one
I'm tired.. I mean of course dev-libs/tdb and USE=tdb :)
Created attachment 196954 [details] build.log with USE=tdb (fail)
Created attachment 196956 [details] build.log with USE=-tdb (fail)
#powerdns in irc.stealth.net (IRCnet) 22:46 <@ahu> hi! 22:46 <@ahu> ssuominen: no 22:46 <@ahu> xdb is really dead
+*pdns-2.9.22-r1 (06 Jul 2009) + + 06 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> + +pdns-2.9.22-r1.ebuild, +files/pdns-2.9.22-gcc44.patch: + Remove obsolete dev-libs/tdb (xdb) backend and include stdio.h for GCC 4.4 + wrt #276817