Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276817 - =net-dns/pdns-2.9.22 fails to compile with GCC 4.3/4.4 and USE=tdb is obsolete(?)
Summary: =net-dns/pdns-2.9.22 fails to compile with GCC 4.3/4.4 and USE=tdb is obsolet...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-06 19:36 UTC by Samuli Suominen (RETIRED)
Modified: 2009-07-06 20:00 UTC (History)
0 users

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


Attachments
Missing includes (2.9.22-gcc44.patch,1.28 KB, patch)
2009-07-06 19:36 UTC, Samuli Suominen (RETIRED)
Details | Diff
build.log with USE=tdb (fail) (build-1.log,21.72 KB, text/plain)
2009-07-06 19:42 UTC, Samuli Suominen (RETIRED)
Details
build.log with USE=-tdb (fail) (build-2.log,33.04 KB, text/plain)
2009-07-06 19:46 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2009-07-06 19:36:10 UTC
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
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-07-06 19:36:48 UTC
Created attachment 196946 [details, diff]
Missing includes

For exit(), strerror(), sprintf() and so on..
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-07-06 19:38:46 UTC
(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
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-07-06 19:40:06 UTC
I'm tired.. I mean of course dev-libs/tdb and USE=tdb :)
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-07-06 19:42:49 UTC
Created attachment 196954 [details]
build.log with USE=tdb (fail)
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-07-06 19:46:06 UTC
Created attachment 196956 [details]
build.log with USE=-tdb (fail)
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-07-06 19:50:01 UTC
#powerdns in irc.stealth.net (IRCnet)

22:46 <@ahu> hi!
22:46 <@ahu> ssuominen: no
22:46 <@ahu> xdb is really dead
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-07-06 20:00:04 UTC
+*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