Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 520170 - net-dns/bind: does not build with geoip
Summary: net-dns/bind: does not build with geoip
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-18 10:16 UTC by Mark (voidzero)
Modified: 2014-09-07 20:46 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 Mark (voidzero) 2014-08-18 10:16:17 UTC
Greetings,

Trying to build net-dns/bind because I need to move our master DNS server.

Version 9.10.0_p2 does not work with GeoIP:

/etc/namedb/conf/views.conf:58: undefined ACL 'country_US'
 * named-checkconf failed! Please fix your config first.

The config for my nameserver is exactly the same as the config of our current master DNS server. That one is using bind version 9.9.5-r3, which /does/ work correctly.

Additionally, version 9.9.5_p1 does not build:

>>> Downloading 'ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/bind-9.9.5-P1-geoip-1.4.patch'
2014-08-18 12:02:55 (1.76 MB/s) - ‘/usr/portage/distfiles/bind-9.9.5-P1-geoip-1.4.patch’ saved [60725]

 * bind-9.9.5-P1-geoip-1.4.patch SHA256 SHA512 WHIRLPOOL size ;-) ...  [ ok ]
 * Creating named group and user ...                                   [ ok ]

>>> Unpacking source...
>>> Unpacking bind-9.9.5-P1.tar.gz to /var/build/portage/net-dns/bind-9.9.5_p1/work
>>> Unpacking bind-geoip-1.3-readme.txt to /var/build/portage/net-dns/bind-9.9.5_p1/work
unpack bind-geoip-1.3-readme.txt: file format not recognized. Ignoring.

>>> Unpacking bind-9.9.5-P1-geoip-1.4.patch to /var/build/portage/net-dns/bind-9.9.5_p1/work
unpack bind-9.9.5-P1-geoip-1.4.patch: file format not recognized. Ignoring.

>>> Source unpacked in /var/build/portage/net-dns/bind-9.9.5_p1/work
>>> Preparing source in /var/build/portage/net-dns/bind-9.9.5_p1/work/bind-9.9.5-P1 ...

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /var/build/portage/net-dns/bind-9.9.5_p1/distdir/bind-9.9.5_p1-geoip.patch
 *   ( bind-9.9.5_p1-geoip.patch )

 * ERROR: net-dns/bind-9.9.5_p1 failed (prepare phase):
 *   Cannot find $EPATCH_SOURCE!

Thank you,
Mark
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2014-08-18 18:08:49 UTC
bind-9.9.5_p1 will be fixed soon, CVS is currently unavailable.

Re 9.10.x: Can you please take a look at https://kb.isc.org/article/AA-01149/0/Using-the-GeoIP-Features-in-BIND-9.10.html and check whether things have been changed? I'd add a note to >=9.10.x then.
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2014-08-18 18:55:45 UTC
bind-9.9.5_p1 has been fixed in CVS. Thanks!
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2014-09-07 20:46:43 UTC
Well.. The actual bug has been fixed. If the config is indeed different then please let me know so I will add a note. Thanks!