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:

 [...] 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

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.

I'm considering a mass bug filing on these. Any objections? Is there a
situation where this might not be a bug at all (eg. private plugins not
in /usr/lib or possible circular dependency issues), and if so, why?

What would the correct severity of the bugs be? The Etch RC policy says:

 Packages must include a "Depends:" line listing any other packages they
 require for operation, unless those packages are marked "Essential: yes". 

so 'serious' would seem right. However, many of these dynamically linked
files are private plugins that might provide just a part of the package
functionality, bordering on the 'require for operation' condition. In
other cases the package depends directly on another package that has
all the correct dependencies (eg. the -dbg packages on the list). Would
things like these lower the severity?

I have filed a couple of similar bugs in the past as 'serious' that were
downgraded by the maintainer "since the generated shlibdeps are only
libc6" (#423397, #423398). Should the number of missing dependencies
affect the severity?

It should be easy to teach lintian to detect this if it's acceptable to
hardcode the external information about the name of the libc package and
the library file. These vary by the architecture, which would be a bit
of a maintenance burden. I can take a shot at a lintian patch myself if
this sounds useful anyway.

If the proposed bugs are considered non-RC, I suppose adding a lintian
check and waiting for the number of affected packages to go down before
filing bugs is the way to go.

[1] The libc6 dependency is quite a good first check for this: I found only
    four packages in the archive that contain dynamically linked objects but
    don't need libc6. For the curious, these are libetoken, libpam-chroot,
    libpam-encfs, and libgcj7-dev.)


Guenter Geiger (Debian/GNU) <[EMAIL PROTECTED]>
   pd-zexy
   python-lash

Laszlo Boszormenyi (GCS) <[EMAIL PROTECTED]>
   xmms-blursk

Adam Cécile (Le_Vert) <[EMAIL PROTECTED]>
   libmcs-utils

Stefan Hornburg (Racke) <[EMAIL PROTECTED]>
   courier-mlm
   courier-webadmin
   interchange

J.H.M. Dassen (Ray) <[EMAIL PROTECTED]>
   libgoffice-0-4-dbg
   libgoffice-0-6-dbg
   libgsf-1-114-dbg
   libgsf-gnome-1-114-dbg

Aide Maintainers <[EMAIL PROTECTED]>
   aide-dynamic

Cosimo Alfarano <[EMAIL PROTECTED]>
   pyg

Stuart R. Anderson <[EMAIL PROTECTED]>
   lsb-build-cc2
   lsb-build-cc3

Sebastien Bacher <[EMAIL PROTECTED]>
   libgtk2.0-dev
   libpango1.0-dev

Michael Banck <[EMAIL PROTECTED]>
   jack
   libsc-dev
   mpqc-support

Daniel Baumann <[EMAIL PROTECTED]>
   bsdmainutils
   libncurses5-dbg
   libncursesw5-dbg
   python-bsdiff
   rpc2-tools
   rvm-tools

Romain Beauxis <[EMAIL PROTECTED]>
   python-cwiid

Axel Beckert <[EMAIL PROTECTED]>
   slash

Dave Beckett <[EMAIL PROTECTED]>
   muine-plugin-inotify

Bradley Bell <[EMAIL PROTECTED]>
   libgtkmm-dev

Christoph Berg <[EMAIL PROTECTED]>
   libendeavour2-dev

Olly Betts <[EMAIL PROTECTED]>
   xapian-examples

Jan Beyer <[EMAIL PROTECTED]>
   gwyddion-plugins

Kęstutis Biliūnas <[EMAIL PROTECTED]>
   python-fontforge

Blars Blarson <[EMAIL PROTECTED]>
   ecartis-cgi

Thomas Bläsing <[EMAIL PROTECTED]>
   python-libpcap

Jay Bonci <[EMAIL PROTECTED]>
   libipc-sharelite-perl

A. Maitland Bottoms <[EMAIL PROTECTED]>
   icomlib-bin

Paul Brossier <[EMAIL PROTECTED]>
   libfftw3-dev

Daniel Burrows <[EMAIL PROTECTED]>
   heroes-common

Marco Cabizza <[EMAIL PROTECTED]>
   libgnome-media0

Volker Christian <[EMAIL PROTECTED]>
   syncekonnector

Rudi Cilibrasi <[EMAIL PROTECTED]>
   python-libsvm

Jesus Climent <[EMAIL PROTECTED]>
   libclearsilver-perl

Arnaud Cornet <[EMAIL PROTECTED]>
   libmmap-ruby1.8

Jereme Corrado <[EMAIL PROTECTED]>
   libaudio-cd-perl

Julien Danjou <[EMAIL PROTECTED]>
   apt-build

Debian allegro packages maintainers <[EMAIL PROTECTED]>
   liballegro4.2-dev

Debian Games Team <[EMAIL PROTECTED]>
   libseal-dev

Debian GCC Maintainers <[EMAIL PROTECTED]>
   gappletviewer-4.1
   gappletviewer-4.2
   gappletviewer-4.3
   lib32stdc++6
   lib32stdc++6-4.1-dbg
   lib32stdc++6-4.2-dbg
   lib32stdc++6-4.3-dbg
   libgnatprj4.1
   libgnatprj4.2
   libgnatvsn4.1
   libgnatvsn4.2
   libstdc++5-3.3-dbg
   libstdc++6-4.1-dbg
   libstdc++6-4.2-dbg
   libstdc++6-4.3-dbg
   libstdc++6-dbg

Debian GIS Project <[EMAIL PROTECTED]>
   qgis-plugin-grass

Debian GNOME Maintainers <[EMAIL PROTECTED]>
   update-manager-core

Debian Hebrew Packaging Team <[EMAIL PROTECTED]>
   libhdate-perl
   libhdate-python
   libhocr-perl
   libhocr-python

Debian Java Maintainers <[EMAIL PROTECTED]>
   ant-gcj
   ant-optional-gcj
   eclipse
   eclipse-cdt
   eclipse-jdt-gcj
   eclipse-pde-gcj
   eclipse-platform-gcj
   eclipse-rcp-gcj
   libswt3.2-gtk-gcj

Debian Kernel Team <[EMAIL PROTECTED]>
   libdlm-dev

Debian multimedia packages maintainers <[EMAIL PROTECTED]>
   liba52-0.7.4-dev

Debian OCaml Maintainers <[EMAIL PROTECTED]>
   camlp4
   camlp4-extra
   ocaml-nox

Debian OpenMPI Maintainers <[EMAIL PROTECTED]>
   libopenmpi-dev

Debian OpenOffice Team <[EMAIL PROTECTED]>
   openoffice.org-qa-tools

Debian Perl Group <[EMAIL PROTECTED]>
   libfile-spec-perl
   libfilesys-df-perl
   libparams-validate-perl

Debian PHP Maintainers <[EMAIL PROTECTED]>
   php5-common

Debian Python Modules Team <[EMAIL PROTECTED]>
   python-enthought-traits
   python-quixote1

Debian QOF packaging team <[EMAIL PROTECTED]>
   libqof-backend-qsf0
   libqof-backend-sqlite0
   libqof1-dbg

Debian Qt/KDE Maintainers <[EMAIL PROTECTED]>
   kdelibs4-dev
   libarts1-dev
   libdcop3-java-dev
   libkdeedu-dev
   libqt4-dev

Debian Ruby Extras Maintainers <[EMAIL PROTECTED]>
   libxtemplate-ruby1.8

Debian Scientific Computing Team <[EMAIL PROTECTED]>
   freefem
   libcv-dev
   qhull-bin

Debian VoIP Team <[EMAIL PROTECTED]>
   libccaudio2-dev
   libiaxclient-dev
   sofia-sip-bin

Debian/Ubuntu Zope team <[EMAIL PROTECTED]>
   zope-textindexng3-lib

Debian/Ubuntu Zope Team <[EMAIL PROTECTED]>
   python-zopeinterface

Sebastien Delafond <[EMAIL PROTECTED]>
   python-fuse

Cédric Delfosse <[EMAIL PROTECTED]>
   python-diacanvas2

Eric Dorland <[EMAIL PROTECTED]>
   libassa3.4-0-dev
   mock

Patrick Dreker <[EMAIL PROTECTED]>
   python-pyxmpp

Dirk Eddelbuettel <[EMAIL PROTECTED]>
   r-mathlib

Joao Eriberto Mota Filho <[EMAIL PROTECTED]>
   hapm

José Fonseca <[EMAIL PROTECTED]>
   python-scipy-core

Vincent Fourmond <[EMAIL PROTECTED]>
   libqt4-ruby1.8

Laurent Fousse <[EMAIL PROTECTED]>
   libmpfr1ldbl

Philipp Frauenfelder <[EMAIL PROTECTED]>
   plib1.8.4c2

Turbo Fredriksson <[EMAIL PROTECTED]>
   roxen4

David Frey <[EMAIL PROTECTED]>
   nosql

Gerfried Fuchs <[EMAIL PROTECTED]>
   libmetakit-tcl

Sylvain Le Gall <[EMAIL PROTECTED]>
   libcamomile-ocaml-dev

John Goerzen <[EMAIL PROTECTED]>
   libghc6-wash-dev

Thomas Goirand <[EMAIL PROTECTED]>
   sbox-dtc

Debian QA Group <[EMAIL PROTECTED]>
   libg20-perl
   libmxml-dev
   libphat0-dev
   python-oss
   tix
   transcriber

Gudjon I. Gudjonsson <[EMAIL PROTECTED]>
   libqwt5-qt3-dev
   libqwt5-qt4-dev

Steinar H. Gunderson <[EMAIL PROTECTED]>
   pvm-dev

Dafydd Harries <[EMAIL PROTECTED]>
   libjinglebase0.3-0
   libjinglep2p0.3-0
   libjinglesession0.3-0
   libjinglexmllite0.3-0
   libjinglexmpp0.3-0

gregor herrmann <[EMAIL PROTECTED]>
   libmimetic0-dbg

Simon Horman <[EMAIL PROTECTED]>
   heartbeat-gui

Nobuhiro Iwamatsu <[EMAIL PROTECTED]>
   libflash-mozplugin
   libflash-swfplayer

Shaun Jackman <[EMAIL PROTECTED]>
   libswt-cairo-gtk-3.3
   libswt-mozilla-gtk-3.3

Michael Janssen <[EMAIL PROTECTED]>
   stage

Thomas Jollans <[EMAIL PROTECTED]>
   python-syck

Guillem Jover <[EMAIL PROTECTED]>
   libdirectfb-dev

Timo Jyrinki <[EMAIL PROTECTED]>
   libvoikko-dev

Ove Kaaven <[EMAIL PROTECTED]>
   libwine
   libwine-alsa
   libwine-capi
   libwine-cms
   libwine-esd
   libwine-gl
   libwine-gphoto2
   libwine-jack
   libwine-ldap
   libwine-nas
   libwine-oss
   libwine-print
   libwine-sane
   wine-bin
   wine-utils

Kurt B. Kaiser <[EMAIL PROTECTED]>
   gambc

Martin Kittel <[EMAIL PROTECTED]>
   python-maxdb
   python-maxdb-loader

Bastian Kleineidam <[EMAIL PROTECTED]>
   linkchecker

Matthias Klose <[EMAIL PROTECTED]>
   expect-tcl8.3-dev
   libreadline5-dbg
   python-twisted-runner

Ivan Kohler <[EMAIL PROTECTED]>
   libstring-approx-perl

Steve Kowalik <[EMAIL PROTECTED]>
   libevent-perl

martin f. krafft <[EMAIL PROTECTED]>
   libphidgets-dev
   python-lightblue

Arnaud Kyheng <[EMAIL PROTECTED]>
   gnunet-dev

Noèl Köthe <[EMAIL PROTECTED]>
   shapelib

Chris Lamb <[EMAIL PROTECTED]>
   swi-prolog-http

Torsten Landschoff <[EMAIL PROTECTED]>
   libfox-1.6-dev
   libfox1.4-dev

Simon Law <[EMAIL PROTECTED]>
   libdumbnet-dev

Chris Lawrence <[EMAIL PROTECTED]>
   r-cran-bayesm
   r-cran-maps
   r-cran-mnp
   r-cran-vgam

Yann Leboulanger <[EMAIL PROTECTED]>
   gajim

A Lee <[EMAIL PROTECTED]>
   ko.tex-bin

Arthur Loiret <[EMAIL PROTECTED]>
   libluabind-dbg

LTSP Debian/Ubuntu Maintainers <[EMAIL PROTECTED]>
   ltsp-client-core

Jan Luebbe <[EMAIL PROTECTED]>
   pida

Tyler 'Crackerjack' MacDonald <[EMAIL PROTECTED]>
   libapache2-mod-bt
   libapache2-modbt-perl
   libbttracker-utils
   libbtutil-utils
   libnet-bittorrent-libbt-tracker-perl
   php5-apache2-mod-bt

Jordi Mallach <[EMAIL PROTECTED]>
   libmailutils-dev

Konstantinos Margaritis <[EMAIL PROTECTED]>
   libblitz0ldbl

Christian Marillat <[EMAIL PROTECTED]>
   librep-dev

Everton da Silva Marques <[EMAIL PROTECTED]>
   libruli-bin

Daniel Martin <[EMAIL PROTECTED]>
   pyrite-publisher

Thom May <[EMAIL PROTECTED]>
   libapache2-mod-macro

Alastair McKinstry <[EMAIL PROTECTED]>
   newt-tcl
   python-newt

Jose Carlos Medeiros <[EMAIL PROTECTED]>
   filerunner
   php5-imagick
   php5-memcache

Loic Minier <[EMAIL PROTECTED]>
   libglib2.0-dev

Gustavo R. Montesino <[EMAIL PROTECTED]>
   libgnomedb2-dev

Daniel Rus Morales <[EMAIL PROTECTED]>
   libdmalloc-dev

Oleksandr Moskalenko <[EMAIL PROTECTED]>
   python-quixote

ISHIKAWA Mutsumi <[EMAIL PROTECTED]>
   egg

Shiju p. Nair <[EMAIL PROTECTED]>
   python-liblcms

Brian Nelson <[EMAIL PROTECTED]>
   libqwt-dev

Net-SNMP Packaging Team <[EMAIL PROTECTED]>
   libsnmp-perl

Mattias Nordstrom <[EMAIL PROTECTED]>
   spfqtool

Lucas Nussbaum <[EMAIL PROTECTED]>
   libtermios-ruby1.8

Brendan O'Dea <[EMAIL PROTECTED]>
   help2man

Sam Hocevar (Debian packages) <[EMAIL PROTECTED]>
   liballegro-dev

Peter Palfrader <[EMAIL PROTECTED]>
   libclass-methodmaker-perl

Gerrit Pape <[EMAIL PROTECTED]>
   libmatrixssl1.8-dev

William Pitcock <[EMAIL PROTECTED]>
   upse-audacious
   upse123

Cajus Pollmeier <[EMAIL PROTECTED]>
   gnarwl

Tomas Pospisek <[EMAIL PROTECTED]>
   libposixlock-ruby1.8

Mickael Profeta <[EMAIL PROTECTED]>
   libprelude-perl
   libpreludedb-perl
   python-prelude
   python-preludedb

Ganesan Rajagopal <[EMAIL PROTECTED]>
   slptool

Jeffrey Ratcliffe <[EMAIL PROTECTED]>
   tesseract-ocr

Petter Reinholdtsen <[EMAIL PROTECTED]>
   gutenbrowser
   hotkey-setup

Doug Rintoul <[EMAIL PROTECTED]>
   kmflcomp

Jose Luis Rivas <[EMAIL PROTECTED]>
   libdevel-size-perl
   libencode-perl

Xavier Roche <[EMAIL PROTECTED]>
   libhttrack-dev

Kevin M. Rosenberg <[EMAIL PROTECTED]>
   cl-uffi-tests
   ctsim

Andrew Ross <[EMAIL PROTECTED]>
   octave-plplot

Piotr Roszatycki <[EMAIL PROTECTED]>
   ldapdns

Andreas Rottmann <[EMAIL PROTECTED]>
   python-crypto

Alexander Sack <[EMAIL PROTECTED]>
   icedove-dev
   iceowl-dev

Anibal Monsalve Salazar <[EMAIL PROTECTED]>
   bzip2
   libggiwmh0-dev
   libgii1-dev
   libgii1-target-x
   libgiigic1-dev
   libtextwrap-dev

Peter Samuelson <[EMAIL PROTECTED]>
   libsvn-java

Neil Schemenauer <[EMAIL PROTECTED]>
   libapache2-mod-scgi
   python-scgi

Timo Schneider <[EMAIL PROTECTED]>
   libg3d0

Gürkan Sengün <[EMAIL PROTECTED]>
   libnel-dev

Riccardo Setti <[EMAIL PROTECTED]>
   librainbow0c2
   libroboradio0c2

Hatta Shuzo <[EMAIL PROTECTED]>
   gauche-dev

Gustavo Noronha Silva <[EMAIL PROTECTED]>
   python-protocols

Guus Sliepen <[EMAIL PROTECTED]>
   libraw1394-dev

Jose Carlos Garcia Sogo <[EMAIL PROTECTED]>
   libgpg-error-dev

Al Stone <[EMAIL PROTECTED]>
   llvm-cfe
   llvm-libs

Tatsuki Sugiura <[EMAIL PROTECTED]>
   libunicode-japanese-perl

Ondřej Surý <[EMAIL PROTECTED]>
   libpoppler-glib-dev
   libwnck-dev
   sablotron

Akira TAGOH <[EMAIL PROTECTED]>
   libgtk1.2-dbg

Debian GSS Team <[EMAIL PROTECTED]>
   libgss-dev

Debian ia32-libs Team <[EMAIL PROTECTED]>
   ia32-libs-gtk

Marcio Roberto Teixeira <[EMAIL PROTECTED]>
   libiec61883-dev

Andreas Tille <[EMAIL PROTECTED]>
   findimagedupes

Sandro Tosi <[EMAIL PROTECTED]>
   mathomatic-primes

Davide Truffa <[EMAIL PROTECTED]>
   glipper

Theodore Y. Ts'o <[EMAIL PROTECTED]>
   libss2

Aaron M. Ucko <[EMAIL PROTECTED]>
   libncbi6-dev

Luis Uribe <[EMAIL PROTECTED]>
   ipkungfu

User Mode Linux Maintainers <[EMAIL PROTECTED]>
   user-mode-linux

Tiago Bortoletto Vaz <[EMAIL PROTECTED]>
   gnome-subtitles

Jelmer Vernooij <[EMAIL PROTECTED]>
   python-ldb
   python-tdb

Michael Vogt <[EMAIL PROTECTED]>
   libcap-bin

Colin Watson <[EMAIL PROTECTED]>
   libfilter-perl

Ian Wienand <[EMAIL PROTECTED]>
   libiptcdata-bin

Matthew Wilcox <[EMAIL PROTECTED]>
   lwm

Jamie Wilkinson <[EMAIL PROTECTED]>
   annodex-tools
   cmml-tools

Neil Williams <[EMAIL PROTECTED]>
   libqofexpensesobjects0-dbg

Paweł Więcek <[EMAIL PROTECTED]>
   liblockdev1-dbg
   liblockdev1-perl

Gunnar Wolf <[EMAIL PROTECTED]>
   cget
   cherokee

Ivan Yat-Cheung Wong <[EMAIL PROTECTED]>
   pidgin-hotkeys

Robert Woodcock <[EMAIL PROTECTED]>
   libid3-3.8.3-dev

Stefano Zacchiroli <[EMAIL PROTECTED]>
   libgtkmathview-bin

Adi Zaimi <[EMAIL PROTECTED]>
   gkrelltop
   gkrelltopd

James R. Van Zandt <[EMAIL PROTECTED]>
   emacspeak-ss


Cheers,
-- 
Niko Tyni   [EMAIL PROTECTED]

Reply via email to