Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32214 - BIND 9.2.3 released - new ebuild
Summary: BIND 9.2.3 released - new ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stewart (RETIRED)
URL: http://www.isc.org
Whiteboard:
Keywords:
: 37700 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-28 12:37 UTC by Stewart (RETIRED)
Modified: 2004-05-02 22:22 UTC (History)
5 users (show)

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


Attachments
BIND 9.2.3 ebuild (bind-9.2.3.ebuild,5.37 KB, text/plain)
2003-10-28 12:40 UTC, Stewart (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stewart (RETIRED) gentoo-dev 2003-10-28 12:37:59 UTC
ISC has released BIND 9.2.3, which among other things contains an update for the so-called "Verisign" patch (otherwise known as "Delegation-Only").

I've created an ebuild for the new version but am running into some hitches with regards to libisc.so.4 (installed by 9.2.2) and libisc.so.7 (installed by 9.2.3) being apparently incompatable. Merging BIND a twice in a row seems to mitigate / remove the problem, but I'm looking for input to remove that as a possibility. :)
Comment 1 Stewart (RETIRED) gentoo-dev 2003-10-28 12:40:23 UTC
Created attachment 19899 [details]
BIND 9.2.3 ebuild
Comment 2 Michael C. Ferguson 2003-10-29 12:03:54 UTC
I ran into the same (?) problem with the libisc and libdns libraries.
After upgrading to 9.2.3 from 9.2.2-r3, bind would not start. It complained:

/usr/sbin/named: error while loading shared libraries: libisc.so.4: cannot
open shared object file: No such file or d  [ !! ]

and

/usr/sbin/named: error while loading shared libraries: libdns.so.10: cannot
open shared object file: No such file or directory                      
                                                                        
                      [ !! ]

I 'fixed' this by creating the following symlinks in /usr/lib:

cvs lib # ln -s libisc.so.7.0.1 libisc.so.4
cvs lib # ln -s libdns.so.11.0.2 libdns.so.10

So far, everything seems to be working. Anyway, I find it strange that this
came up at all. :| It sounds like there may be something wrong in the
build process, but I'm not sure what it could be ?
Comment 3 Stewart (RETIRED) gentoo-dev 2003-10-29 12:59:14 UTC
From what I've observed, when BIND 9.2.3 builds it links against the previously
installed version of the libisc (and apparently libdns) library, the new
version installs its own, updated versions of the libraries and when the
previous version is uninstalled, the dependant libraries are removed.

Perhaps a few symlinks are in order. I've updated the ebuild to create the
appropriate symlinks, so I'm looking for people with bind <=9.2.2-r3 to upgrade
to 9.2.3 and tell me if it starts painlessly.
Comment 4 Gert-Jan Rodenburg 2003-10-31 15:12:30 UTC
I had this problem too, and was (quite) surprised to find libisc.so.4 in
the root (/).
Something misplaced it there?
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-11-02 08:52:12 UTC
seems that every package need to be rebuilt

#rev-depend
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-11-02 10:02:39 UTC
yes #revdep-rebuild fixed this
Comment 7 James Harlow (RETIRED) gentoo-dev 2003-11-02 17:59:34 UTC
Logically, you could always make bind block itself (I think - not tried it),
but I think I can come up with a better way...
Comment 8 Michael Gorse 2003-11-02 20:11:32 UTC
The library sym links do not get created correctly; dosym is called
with two unprefixed arguments and automatically prefixes its second
argument with ${D}, resulting in the link being created in the root
directory.  /usr/lib should prefix the link names.
Comment 9 Michael C. Ferguson 2003-11-02 20:36:23 UTC
Symlinks will work for a quick hack, but we really should figure out what
exactly it is in the build process that is causing it to link against old
libraries. I believe it has something to do with libtool, but I don't have
enough experience with it to say for sure. Any libtool/autoconf experts out
there?
Comment 10 Stewart (RETIRED) gentoo-dev 2003-11-04 20:59:12 UTC
Ok, the good news is the dosym stuff is fixed (never rush out an ebuild.
{kick, kick} ), the bad news is it's apparently an uphill battle;

/usr/sbin/named: error while loading shared libraries: libdns.so.8: cannot
open 
shared object file: No such file or directory

This would make the third library I'd have to kludge and I get the feeling
there are other potentials making this 'hack' a very short-term thing. Anybody
out there investigated the build process enough to shed some insight?
Comment 11 Stewart (RETIRED) gentoo-dev 2004-01-10 11:35:35 UTC
*** Bug 37700 has been marked as a duplicate of this bug. ***
Comment 12 Stewart (RETIRED) gentoo-dev 2004-01-31 00:13:36 UTC
Ebuild is in the tree, but Bug #32908 remains an issue.
Comment 13 Mario Vazquez 2004-05-02 22:22:03 UTC
Provided a new diff against the bind-9.2.3.ebuild on portage.  Get the details 
http://bugs.gentoo.org/show_bug.cgi?id=32908