On Thu, 17 Jan 2008 19:13:43 +0200
Niko Tyni <[EMAIL PROTECTED]> wrote:

> After noticing a few compiled Perl module packages were missing
> ${shlibs:Depends} and/or dh_makeshlibdeps, I looked a bit into how
> widespread this issue is.
> 
> Methodology: on sid/amd64, for all Architecture:amd64 packages that don't
> Depend or Pre-Depend on libc6 [1], check all ELF files (as identified by
> 'file') inside with 'objdump -p' for linking against libc.so.6.
> 
> Result: 300 binary packages from 240 source packages are missing at least
> the libc6 dependency, possibly others.  Generally, this means they are
> not running dpkg-shlibdeps on the files or depending on the results,
> which violates policy 8.6:

A lot of these seem to be -dbg packages and I've got a few issues with
that. Even if I add ${shlibs:Depends} for the -dbg package and run
dh_makeshlibs and dh_shlibdeps, I get this warning with dh_gencontrol
for the -dpkg package:

[EMAIL PROTECTED]:qof-0.7.4$ fakeroot dh_makeshlibs -plibqof1-dbg
[EMAIL PROTECTED]:qof-0.7.4$ less debian/libqof1-dbg/DEBIAN/shlibs
[EMAIL PROTECTED]:qof-0.7.4$ fakeroot dh_shlibdeps -plibqof1-dbg
[EMAIL PROTECTED]:qof-0.7.4$ less debian/libqof1-dbg/DEBIAN/shlibs
[EMAIL PROTECTED]:qof-0.7.4$ fakeroot dh_gencontrol -plibqof1-dbg
dpkg-gencontrol: warning: unknown substitution variable
${shlibs:Depends}

The -dbg package depends on the stripped version of the same library
(which does depend on libc6) so I don't see that I can actually comply
without adding the depends artificially.

> 
>  [...] and when a package is built which contains any shared libraries
>  or compiled binaries, it must run dpkg-shlibdeps on these to determine
>  the libraries used and hence the dependencies needed by this package

For -dbg packages, I already do this - with no effect.

> List of binary packages by maintainer ('dd-list -b') appended. I can't
> see any chance for false positives here, but please tell me if I'm wrong.

There are some -dev packages in here too - not sure if those are
correct.

As far as the backend modules for QOF, these are being made into
private libraries in the upcoming libqof2 transition so I won't be
doing anything with those in the final 0.7.4 libqof1 release.

> J.H.M. Dassen (Ray) <[EMAIL PROTECTED]>
>    libgoffice-0-4-dbg
>    libgoffice-0-6-dbg
>    libgsf-1-114-dbg
>    libgsf-gnome-1-114-dbg
> Sebastien Bacher <[EMAIL PROTECTED]>
>    libgtk2.0-dev
>    libpango1.0-dev
> Daniel Baumann <[EMAIL PROTECTED]>
>    bsdmainutils
>    libncurses5-dbg
>    libncursesw5-dbg
>    python-bsdiff
> Bradley Bell <[EMAIL PROTECTED]>
>    libgtkmm-dev
> Christoph Berg <[EMAIL PROTECTED]>
>    libendeavour2-dev
> Debian GCC Maintainers <[EMAIL PROTECTED]>
>    lib32stdc++6-4.1-dbg
>    lib32stdc++6-4.2-dbg
>    lib32stdc++6-4.3-dbg
>    libstdc++5-3.3-dbg
>    libstdc++6-4.1-dbg
>    libstdc++6-4.2-dbg
>    libstdc++6-4.3-dbg
>    libstdc++6-dbg
> Debian multimedia packages maintainers <[EMAIL PROTECTED]>
>    liba52-0.7.4-dev
> Debian QOF packaging team <[EMAIL PROTECTED]>
>    libqof-backend-qsf0
>    libqof-backend-sqlite0
>    libqof1-dbg
> Debian VoIP Team <[EMAIL PROTECTED]>
>    libccaudio2-dev
>    libiaxclient-dev
> Eric Dorland <[EMAIL PROTECTED]>
>    libassa3.4-0-dev
> John Goerzen <[EMAIL PROTECTED]>
>    libghc6-wash-dev
> Gudjon I. Gudjonsson <[EMAIL PROTECTED]>
>    libqwt5-qt3-dev
>    libqwt5-qt4-dev
> Steinar H. Gunderson <[EMAIL PROTECTED]>
>    pvm-dev
> Guillem Jover <[EMAIL PROTECTED]>
>    libdirectfb-dev
> Jordi Mallach <[EMAIL PROTECTED]>
>    libmailutils-dev
> Christian Marillat <[EMAIL PROTECTED]>
>    librep-dev
> Loic Minier <[EMAIL PROTECTED]>
>    libglib2.0-dev
> Gustavo R. Montesino <[EMAIL PROTECTED]>
>    libgnomedb2-dev
> Daniel Rus Morales <[EMAIL PROTECTED]>
>    libdmalloc-dev
> Brian Nelson <[EMAIL PROTECTED]>
>    libqwt-dev
> Sam Hocevar (Debian packages) <[EMAIL PROTECTED]>
>    liballegro-dev
> Ondřej Surý <[EMAIL PROTECTED]>
>    libpoppler-glib-dev
>    libwnck-dev
> Akira TAGOH <[EMAIL PROTECTED]>
>    libgtk1.2-dbg
> Debian GSS Team <[EMAIL PROTECTED]>
>    libgss-dev
> Marcio Roberto Teixeira <[EMAIL PROTECTED]>
>    libiec61883-dev
> Aaron M. Ucko <[EMAIL PROTECTED]>
>    libncbi6-dev

(Just a sample of the -dbg and -dev packages)

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpedfHiptBOC.pgp
Description: PGP signature

Reply via email to