Re: [Pkg-db-devel] Bin-NMUs for radiusd-livingston, libtabe; db4.5
On Tue, Oct 16, 2007 at 01:08:52AM +0200, Florian Weimer wrote:
> * Bastian Blank:
> > On Mon, Oct 15, 2007 at 03:11:20PM +0200, Florian Weimer wrote:
> >> Would you please schedule bin-NMUs for radiusd-livingston and libtabe on
> >> all architectures?
> >> (There might be more packages affected on other architectures, but I
> >> can't easily search for them.)
> > You should provide a list of all packages which does this, not only the
> > two.
> If you can tell me how to do this without downloading dozens of MB of
> data, I'll do it.
Well, it would've been easier if the addition of db4.5 symbol versions had
been accompanied by a shlibs bump, but something like this running against
the full mirror on merkel should do the trick:
for F in `zcat ../../dists/unstable/main/binary-{alpha,amd64,arm,hppa,i386,ia64,m68k,mips,mipsel,powerpc,s390,sparc}/Packages.gz\
| grep-dctrl -FDepends -sFilename -r libdb4.5'\([, ]\|$\)' \
| awk '{print $NF}'`
do
dpkg -x ../../$F /tmp/db4.5
for FILE in `find /tmp/db4.5/usr/lib /tmp/db4.5/usr/sbin \
/tmp/db4.5/usr/bin /tmp/db4.5/bin /tmp/db4.5/lib \
/tmp/db4.5/bin /tmp/db4.5/sbin -type f 2>/dev/null`
do
objdump -T $FILE 2>/dev/null \
| grep -q '\*UND\*.*[[:space:]]\+[0-9a-f]\+[[:space:]]\+__db' \
&& dpkg -I ../../$F \
| grep -E '(Package|Version|Architecture|Source):'
done
rm -rf /tmp/db4.5
done
BinNMUs are scheduled now. The final list of packages is dhelp, nmh,
radiusd-livingston, webalizer, and webdruid.
libtabe is *not* in this list, because AFAICS the library is just plain
broken. libtabe2 has references to db functions, but does not depend on
libdb4.5 at all; libtabe-db is linked against libdb4.5 and therefore has a
dependency on it, but contains no files that reference the library. And
libtabe2 only suggests: libtabe-db, which means there is nothing pulling
libtabe-db in when users install libtabe2.
As a result, an application linking only against libtabe2 will not load
libdb4.5, resulting in an error about missing symbols.
I would love to show why this is a problem in practice, but the only
reverse-dependency of libtabe2 in the archive, xcin, resists all my efforts
to get it working in the first place...
Anyway, I think this package has an overriding source bug, so am not
scheduling binNMUs for it.
> >> In a related issue, testing migration for db4.5 is prevented by the
> >> removal of Java packages on hppa in 4.5.20-8. This probably needs some
> >> kind of manual hint.
> > For binary removals ask the ftp-team.
> Is this correct?
Yes.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon@debian.org http://www.debian.org/
Reply to: