Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177415 - net-dns/bind - no use flag to --enable-libbind
Summary: net-dns/bind - no use flag to --enable-libbind
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Lowest enhancement (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-07 08:38 UTC by Stéphane Bortzmeyer
Modified: 2007-06-02 20:37 UTC (History)
1 user (show)

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 Stéphane Bortzmeyer 2007-05-07 08:38:16 UTC
The ebuild does not call configure with --enable-libbind.
                                                     
This is a problem for programs like milter-greylist                             
(http://hcpnet.free.fr/milter-greylist/) or dnscap                              
(http://public.oarci.net/tools/dnscap) which need it to be compiled.      

I tried with my own ebuild, and added this configure's option but libbind is not installed, apparently.


Reproducible: Always

Steps to Reproduce:
1.emerge bind
2.
3.

Actual Results:  
% locate libbind 
/usr/lib64/libbind9.so.30
/usr/lib64/libbind9.so
/usr/lib64/libbind9.la
/usr/lib64/libbind9.a
/usr/lib64/libbind9.so.30.0.3

(libbind9 is something else)


Expected Results:  
/usr/lib6/libbind.a (and .so)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-07 08:47:18 UTC
Well, sorry but this is not a support forum. If you need help on writing your own ebuilds, then use #gentoo-dev-help IRC channel on Freenode or forums.gentoo.org. Thanks.

NOTABUG.
Comment 2 Stéphane Bortzmeyer 2007-05-07 08:53:19 UTC
I was not asking for help on making my applications or ebuilds, I was just reporting that there is no easy way (read: an USE flag or similar) to get libbind installed on a Gentoo system and closing the bug without reading the report will not help in that respect.
 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-05-07 09:00:03 UTC
(In reply to comment #2)
I have read your report. You are having trouble w/ enabling a feature that nothing in the current tree needs and which is disabled. That's not a bug. 

Also, you'd honestly be better off asking milter-greylist and dnscap upstream devs to fix their stuff so that it doesn't require the legacy BIND-8 libraries.
Comment 4 Stéphane Bortzmeyer 2007-05-07 09:03:08 UTC
> so that it doesn't require the legacy BIND-8 libraries.

What's the connection with BIND8 ? libbind does exist as well in BIND9. There is nothing BIND8-specific in it.
Comment 5 Stéphane Bortzmeyer 2007-05-07 09:15:20 UTC
Example of a symbol (this one is used by dnscap) which is in libbind but not libbind9:

% strings ./lib/bind/libbind.a |grep fp_query
__fp_query
__fp_query
__fp_query
__fp_query

% strings ./lib/bind9/libbind9.a |grep fp_query 
% 

Do note it is BIND 9.4.1 (unless what someone said, that libbind is BIND8-specific, which is completely false).

Comment 6 Konstantin Arkhipov (RETIRED) gentoo-dev 2007-06-02 20:37:20 UTC
Jakub is right - nothing in the current tree needs this library, so you can patch ebuild yourself and put in your local overlay.

closing as 'later' to indicate that it should be reopened when something needs libbind will appear in portage.

thanks for reporting.