Package: gettext Version: 0.18.1.1-5 Severity: important
While working on an unofficial hardfloat port of debian for the Pi I discovered a missing dependency on libcroco3 in the newly built gettext package. I tracked this down to libraries directly under debian/gettext/usr/lib/ not being scanned for shlibs.
In official debian the dependency is picked up anyway because the binaries in /bin are "uselessly linked" against libcroco3 but for some reason this doesn't happen in my environment. I do not know why why the binaries pick up this "useless linkage" in debian and don't pick it up in the armhf for pi variant I'm working on.
Neverthless packages are required by policy 8.6 to pass all binaries and shared libraries to dpkg-shlibdebs (not just a subset that happen to give the right results) so this is a bug that should be fixed in debian.
Patch is attatched.
diff -ur gettext-0.18.1.1/debian/changelog gettext-0.18.1.1.new/debian/changelog --- gettext-0.18.1.1/debian/changelog 2011-10-05 13:19:19.000000000 +0000 +++ gettext-0.18.1.1.new/debian/changelog 2012-04-26 23:44:23.000000000 +0000 @@ -1,3 +1,9 @@ +gettext (0.18.1.1-5+rpi1) unstable; urgency=low + + * Scan shared library as well as binaries for shlibs + + -- Peter Michael Green <[email protected]> Thu, 26 Apr 2012 16:08:23 +0000 + gettext (0.18.1.1-5) unstable; urgency=low * Applied patch by Bruno Haible to teach xgettext about new scheme diff -ur gettext-0.18.1.1/debian/rules gettext-0.18.1.1.new/debian/rules --- gettext-0.18.1.1/debian/rules 2011-08-05 13:44:29.000000000 +0000 +++ gettext-0.18.1.1.new/debian/rules 2012-04-26 22:52:22.000000000 +0000 @@ -165,7 +165,7 @@ rm -f debian/$@/usr/share/gettext/archive.git.tar.gz gzip -9 debian/$@/usr/share/info/* gzip -r9 debian/$@/usr/share/man - sh debian/my-shlibdeps debian/$@/usr/bin/* debian/$@/usr/lib/gettext/* + sh debian/my-shlibdeps debian/$@/usr/bin/* debian/$@/usr/lib/gettext/* debian/$@/usr/lib/* dpkg-gencontrol -p$@ -Pdebian/$@ cd debian/$@ && \ md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums

