Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540378 - net-dns/pdns USE=tinydns should depend on dev-db/tinycdb instead of dev-db/cdb
Summary: net-dns/pdns USE=tinydns should depend on dev-db/tinycdb instead of dev-db/cdb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-17 13:45 UTC by Thomas Deutschmann (RETIRED)
Modified: 2015-05-18 19:14 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 Thomas Deutschmann (RETIRED) gentoo-dev 2015-02-17 13:45:39 UTC
Hi,

building net-dns/pdns-3.4.2[tinydns] will fail with:

> checking for CDB... no
> checking cdb.h usability... no
> checking cdb.h presence... no
> checking for cdb.h... no
> configure: error: Could not find cdb.h

If you replace dev-db/cdb with dev-db/tinycdb like

# diff -u pdns-3.4.2.ebuild.old pdns-3.4.2.ebuild
--- pdns-3.4.2.ebuild.old       2015-02-17 14:42:24.000000000 +0100
+++ pdns-3.4.2.ebuild   2015-02-17 14:44:31.000000000 +0100
@@ -36,7 +36,7 @@
                odbc? ( dev-db/unixODBC )
                opendbx? ( dev-db/opendbx )
                geoip? ( >=dev-cpp/yaml-cpp-0.5.1 dev-libs/geoip )
-               tinydns? ( dev-db/cdb )
+               tinydns? ( >=dev-db/tinycdb-0.77-r2 )
        )"
 DEPEND="${RDEPEND}
        virtual/pkgconfig
@@ -53,7 +53,7 @@
                odbc? ( dev-db/unixODBC[static-libs(+)] )
                opendbx? ( dev-db/opendbx[static-libs(+)] )
                geoip? ( >=dev-cpp/yaml-cpp-0.5.1 dev-libs/geoip[static-libs(+)] )
-               tinydns? ( dev-db/cdb )
+               tinydns? ( >=dev-db/tinycdb-0.77-r2 )
        )
        doc? ( app-doc/doxygen )"

net-dns/pdns[tinydns] will build again.


Reproducible: Always
Comment 1 Sven Wegener gentoo-dev 2015-05-18 19:14:36 UTC
Fixed in 3.4.4.