Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107477 - webalizer ebuild uses either enable-geoip or enable-dns but these should be able to coexist
Summary: webalizer ebuild uses either enable-geoip or enable-dns but these should be a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Jonathan Smith (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-28 01:13 UTC by Eric Herot
Modified: 2006-01-08 08:54 UTC (History)
2 users (show)

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


Attachments
Modified webalizer ebuild (webalizer-2.01.10-r10.ebuild,3.77 KB, text/plain)
2005-09-28 01:40 UTC, Eric Herot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Herot 2005-09-28 01:13:34 UTC
Discovered that if db-4.2 is used (meaning that the --with-dblib=db-4.2 flag
must be passed to the configure script and obviously db-4.2* must be required),
webalizer DOES NOT get the following error that usually occurs when --enable-dns
and --enable-geoip are used at the same time:

dns_resolv.o: In function `dns_resolver':
dns_resolv.c:(.text+0x43c): undefined reference to `__db185_open_4002'
dns_resolv.o: In function `open_cache':
dns_resolv.c:(.text+0x14f1): undefined reference to `__db185_open_4002'
collect2: ld returned 1 exit status
make: *** [webalizer] Error 1

Unless I'm missing something here, shouldn't the ebuilds team update the
webalizer ebuild to use db-4.2 so that we can reverse resolve IPs and get better
country TLD resolution at the same time instead of either/or?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Eric Herot 2005-09-28 01:40:31 UTC
Created attachment 69394 [details]
Modified webalizer ebuild
Comment 2 Eric Herot 2005-09-28 01:41:11 UTC
Oops, I also forgot to note that using --enable-dns and --enable-geoip together
supposedly caused some users to experience segmentation faults.  This has
apparently been fixed in a version of the geolizer patch that is not yet part of
the portage tree (20050520).  Experimentation reveals that if
--with-dblib=db-4.2 is used and --with-db=/usr/include/db4.2/ is used, then
--enable-dns and --enable-geoip can indeed be used at the same time with no
segfaults.

I included my modified ebuild above for reference...
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2005-10-25 13:36:56 UTC
reassigning
Comment 4 Renat Lumpau (RETIRED) gentoo-dev 2006-01-08 08:54:58 UTC
in -r12.