[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Possible mass bug filing: missing shared library dependencies



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) <geiger@debian.org>
   pd-zexy
   python-lash

Laszlo Boszormenyi (GCS) <gcs@debian.hu>
   xmms-blursk

Adam Cécile (Le_Vert) <gandalf@le-vert.net>
   libmcs-utils

Stefan Hornburg (Racke) <racke@linuxia.de>
   courier-mlm
   courier-webadmin
   interchange

J.H.M. Dassen (Ray) <jdassen@debian.org>
   libgoffice-0-4-dbg
   libgoffice-0-6-dbg
   libgsf-1-114-dbg
   libgsf-gnome-1-114-dbg

Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>
   aide-dynamic

Cosimo Alfarano <kalfa@debian.org>
   pyg

Stuart R. Anderson <anderson@netsweng.com>
   lsb-build-cc2
   lsb-build-cc3

Sebastien Bacher <seb128@debian.org>
   libgtk2.0-dev
   libpango1.0-dev

Michael Banck <mbanck@debian.org>
   jack
   libsc-dev
   mpqc-support

Daniel Baumann <daniel@debian.org>
   bsdmainutils
   libncurses5-dbg
   libncursesw5-dbg
   python-bsdiff
   rpc2-tools
   rvm-tools

Romain Beauxis <toots@rastageeks.org>
   python-cwiid

Axel Beckert <abe@deuxchevaux.org>
   slash

Dave Beckett <dajobe@debian.org>
   muine-plugin-inotify

Bradley Bell <btb@debian.org>
   libgtkmm-dev

Christoph Berg <myon@debian.org>
   libendeavour2-dev

Olly Betts <olly@survex.com>
   xapian-examples

Jan Beyer <jan@beathovn.de>
   gwyddion-plugins

Kęstutis Biliūnas <kebil@kaunas.init.lt>
   python-fontforge

Blars Blarson <blarson@blars.org>
   ecartis-cgi

Thomas Bläsing <thomasbl@pool.math.tu-berlin.de>
   python-libpcap

Jay Bonci <jaybonci@debian.org>
   libipc-sharelite-perl

A. Maitland Bottoms <bottoms@debian.org>
   icomlib-bin

Paul Brossier <piem@debian.org>
   libfftw3-dev

Daniel Burrows <dburrows@debian.org>
   heroes-common

Marco Cabizza <marco87@gmail.com>
   libgnome-media0

Volker Christian <voc@debian.org>
   syncekonnector

Rudi Cilibrasi <cilibrar@debian.org>
   python-libsvm

Jesus Climent <jesus.climent@hispalinux.es>
   libclearsilver-perl

Arnaud Cornet <arnaud.cornet@gmail.com>
   libmmap-ruby1.8

Jereme Corrado <jereme@zoion.net>
   libaudio-cd-perl

Julien Danjou <acid@debian.org>
   apt-build

Debian allegro packages maintainers <pkg-allegro-maintainers@lists.alioth.debian.org>
   liballegro4.2-dev

Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
   libseal-dev

Debian GCC Maintainers <debian-gcc@lists.debian.org>
   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 <pkg-grass-devel@lists.alioth.debian.org>
   qgis-plugin-grass

Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
   update-manager-core

Debian Hebrew Packaging Team <debian-hebrew-package@lists.alioth.debian.org>
   libhdate-perl
   libhdate-python
   libhocr-perl
   libhocr-python

Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
   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 <debian-kernel@lists.debian.org>
   libdlm-dev

Debian multimedia packages maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
   liba52-0.7.4-dev

Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
   camlp4
   camlp4-extra
   ocaml-nox

Debian OpenMPI Maintainers <pkg-openmpi-maintainers@lists.alioth.debian.org>
   libopenmpi-dev

Debian OpenOffice Team <debian-openoffice@lists.debian.org>
   openoffice.org-qa-tools

Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
   libfile-spec-perl
   libfilesys-df-perl
   libparams-validate-perl

Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
   php5-common

Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
   python-enthought-traits
   python-quixote1

Debian QOF packaging team <pkg-qof-maintainers@lists.alioth.debian.org>
   libqof-backend-qsf0
   libqof-backend-sqlite0
   libqof1-dbg

Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
   kdelibs4-dev
   libarts1-dev
   libdcop3-java-dev
   libkdeedu-dev
   libqt4-dev

Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
   libxtemplate-ruby1.8

Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>
   freefem
   libcv-dev
   qhull-bin

Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
   libccaudio2-dev
   libiaxclient-dev
   sofia-sip-bin

Debian/Ubuntu Zope team <pkg-zope-developers@lists.alioth.debian.org>
   zope-textindexng3-lib

Debian/Ubuntu Zope Team <pkg-zope-developers@lists.alioth.debian.org>
   python-zopeinterface

Sebastien Delafond <seb@debian.org>
   python-fuse

Cédric Delfosse <cedric@debian.org>
   python-diacanvas2

Eric Dorland <eric@debian.org>
   libassa3.4-0-dev
   mock

Patrick Dreker <patrick@dreker.org>
   python-pyxmpp

Dirk Eddelbuettel <edd@debian.org>
   r-mathlib

Joao Eriberto Mota Filho <eriberto@eriberto.pro.br>
   hapm

José Fonseca <j_r_fonseca@yahoo.co.uk>
   python-scipy-core

Vincent Fourmond <fourmond@debian.org>
   libqt4-ruby1.8

Laurent Fousse <laurent@komite.net>
   libmpfr1ldbl

Philipp Frauenfelder <pfrauenf@debian.org>
   plib1.8.4c2

Turbo Fredriksson <turbo@debian.org>
   roxen4

David Frey <dfrey@debian.org>
   nosql

Gerfried Fuchs <alfie@debian.org>
   libmetakit-tcl

Sylvain Le Gall <gildor@debian.org>
   libcamomile-ocaml-dev

John Goerzen <jgoerzen@complete.org>
   libghc6-wash-dev

Thomas Goirand <thomas@goirand.fr>
   sbox-dtc

Debian QA Group <packages@qa.debian.org>
   libg20-perl
   libmxml-dev
   libphat0-dev
   python-oss
   tix
   transcriber

Gudjon I. Gudjonsson <gudjon@mc2.chalmers.se>
   libqwt5-qt3-dev
   libqwt5-qt4-dev

Steinar H. Gunderson <sesse@debian.org>
   pvm-dev

Dafydd Harries <daf@debian.org>
   libjinglebase0.3-0
   libjinglep2p0.3-0
   libjinglesession0.3-0
   libjinglexmllite0.3-0
   libjinglexmpp0.3-0

gregor herrmann <gregor+debian@comodo.priv.at>
   libmimetic0-dbg

Simon Horman <horms@debian.org>
   heartbeat-gui

Nobuhiro Iwamatsu <hemamu@t-base.ne.jp>
   libflash-mozplugin
   libflash-swfplayer

Shaun Jackman <sjackman@debian.org>
   libswt-cairo-gtk-3.3
   libswt-mozilla-gtk-3.3

Michael Janssen <jamuraa@debian.org>
   stage

Thomas Jollans <thomas@jollans.com>
   python-syck

Guillem Jover <guillem@debian.org>
   libdirectfb-dev

Timo Jyrinki <timo.jyrinki@iki.fi>
   libvoikko-dev

Ove Kaaven <ovek@arcticnet.no>
   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 <kbk@shore.net>
   gambc

Martin Kittel <debian@martin-kittel.de>
   python-maxdb
   python-maxdb-loader

Bastian Kleineidam <calvin@debian.org>
   linkchecker

Matthias Klose <doko@debian.org>
   expect-tcl8.3-dev
   libreadline5-dbg
   python-twisted-runner

Ivan Kohler <ivan-debian@420.am>
   libstring-approx-perl

Steve Kowalik <stevenk@debian.org>
   libevent-perl

martin f. krafft <madduck@debian.org>
   libphidgets-dev
   python-lightblue

Arnaud Kyheng <Arnaud.Kyheng@free.fr>
   gnunet-dev

Noèl Köthe <noel@debian.org>
   shapelib

Chris Lamb <chris@chris-lamb.co.uk>
   swi-prolog-http

Torsten Landschoff <torsten@debian.org>
   libfox-1.6-dev
   libfox1.4-dev

Simon Law <sfllaw@debian.org>
   libdumbnet-dev

Chris Lawrence <lawrencc@debian.org>
   r-cran-bayesm
   r-cran-maps
   r-cran-mnp
   r-cran-vgam

Yann Leboulanger <asterix@lagaule.org>
   gajim

A Lee <alee@debian.org>
   ko.tex-bin

Arthur Loiret <arthur.loiret@gmail.com>
   libluabind-dbg

LTSP Debian/Ubuntu Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>
   ltsp-client-core

Jan Luebbe <jluebbe@debian.org>
   pida

Tyler 'Crackerjack' MacDonald <crackerjack@crackerjack.net>
   libapache2-mod-bt
   libapache2-modbt-perl
   libbttracker-utils
   libbtutil-utils
   libnet-bittorrent-libbt-tracker-perl
   php5-apache2-mod-bt

Jordi Mallach <jordi@debian.org>
   libmailutils-dev

Konstantinos Margaritis <markos@debian.org>
   libblitz0ldbl

Christian Marillat <marillat@debian.org>
   librep-dev

Everton da Silva Marques <evertonsm@yahoo.com.br>
   libruli-bin

Daniel Martin <fizbin@debian.org>
   pyrite-publisher

Thom May <thom@debian.org>
   libapache2-mod-macro

Alastair McKinstry <mckinstry@debian.org>
   newt-tcl
   python-newt

Jose Carlos Medeiros <debian@psabs.com.br>
   filerunner
   php5-imagick
   php5-memcache

Loic Minier <lool@dooz.org>
   libglib2.0-dev

Gustavo R. Montesino <grmontesino@ig.com.br>
   libgnomedb2-dev

Daniel Rus Morales <danirus@tol-project.org>
   libdmalloc-dev

Oleksandr Moskalenko <malex@debian.org>
   python-quixote

ISHIKAWA Mutsumi <ishikawa@debian.org>
   egg

Shiju p. Nair <shiju.p@gmail.com>
   python-liblcms

Brian Nelson <pyro@debian.org>
   libqwt-dev

Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org>
   libsnmp-perl

Mattias Nordstrom <nordstrom@realnode.com>
   spfqtool

Lucas Nussbaum <lucas@lucas-nussbaum.net>
   libtermios-ruby1.8

Brendan O'Dea <bod@debian.org>
   help2man

Sam Hocevar (Debian packages) <sam+deb@zoy.org>
   liballegro-dev

Peter Palfrader <weasel@debian.org>
   libclass-methodmaker-perl

Gerrit Pape <pape@smarden.org>
   libmatrixssl1.8-dev

William Pitcock <nenolod@sacredspiral.co.uk>
   upse-audacious
   upse123

Cajus Pollmeier <cajus@debian.org>
   gnarwl

Tomas Pospisek <tpo_deb@sourcepole.ch>
   libposixlock-ruby1.8

Mickael Profeta <profeta@debian.org>
   libprelude-perl
   libpreludedb-perl
   python-prelude
   python-preludedb

Ganesan Rajagopal <rganesan@debian.org>
   slptool

Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com>
   tesseract-ocr

Petter Reinholdtsen <pere@debian.org>
   gutenbrowser
   hotkey-setup

Doug Rintoul <doug_rintoul@sil.org>
   kmflcomp

Jose Luis Rivas <ghostbar38@gmail.com>
   libdevel-size-perl
   libencode-perl

Xavier Roche <roche@httrack.com>
   libhttrack-dev

Kevin M. Rosenberg <kmr@debian.org>
   cl-uffi-tests
   ctsim

Andrew Ross <andrewross@users.sourceforge.net>
   octave-plplot

Piotr Roszatycki <dexter@debian.org>
   ldapdns

Andreas Rottmann <rotty@debian.org>
   python-crypto

Alexander Sack <asac@debian.org>
   icedove-dev
   iceowl-dev

Anibal Monsalve Salazar <anibal@debian.org>
   bzip2
   libggiwmh0-dev
   libgii1-dev
   libgii1-target-x
   libgiigic1-dev
   libtextwrap-dev

Peter Samuelson <peter@p12n.org>
   libsvn-java

Neil Schemenauer <nas@debian.org>
   libapache2-mod-scgi
   python-scgi

Timo Schneider <timo.schneider@s2004.tu-chemnitz.de>
   libg3d0

Gürkan Sengün <gurkan@linuks.mine.nu>
   libnel-dev

Riccardo Setti <giskard@autistici.org>
   librainbow0c2
   libroboradio0c2

Hatta Shuzo <hattas@debian.org>
   gauche-dev

Gustavo Noronha Silva <kov@debian.org>
   python-protocols

Guus Sliepen <guus@debian.org>
   libraw1394-dev

Jose Carlos Garcia Sogo <jsogo@debian.org>
   libgpg-error-dev

Al Stone <ahs3@debian.org>
   llvm-cfe
   llvm-libs

Tatsuki Sugiura <sugi@nemui.org>
   libunicode-japanese-perl

Ondřej Surý <ondrej@debian.org>
   libpoppler-glib-dev
   libwnck-dev
   sablotron

Akira TAGOH <tagoh@debian.org>
   libgtk1.2-dbg

Debian GSS Team <help-gss@gnu.org>
   libgss-dev

Debian ia32-libs Team <debian-ia32-libs@lists.gag.com>
   ia32-libs-gtk

Marcio Roberto Teixeira <marciotex@gmail.com>
   libiec61883-dev

Andreas Tille <tille@debian.org>
   findimagedupes

Sandro Tosi <matrixhasu@gmail.com>
   mathomatic-primes

Davide Truffa <davide@catoblepa.org>
   glipper

Theodore Y. Ts'o <tytso@mit.edu>
   libss2

Aaron M. Ucko <ucko@debian.org>
   libncbi6-dev

Luis Uribe <acme@eviled.org>
   ipkungfu

User Mode Linux Maintainers <pkg-uml-pkgs@lists.alioth.debian.org>
   user-mode-linux

Tiago Bortoletto Vaz <tiago@debian-ba.org>
   gnome-subtitles

Jelmer Vernooij <jelmer@samba.org>
   python-ldb
   python-tdb

Michael Vogt <mvo@debian.org>
   libcap-bin

Colin Watson <cjwatson@debian.org>
   libfilter-perl

Ian Wienand <ianw@debian.org>
   libiptcdata-bin

Matthew Wilcox <willy@debian.org>
   lwm

Jamie Wilkinson <jaq@debian.org>
   annodex-tools
   cmml-tools

Neil Williams <codehelp@debian.org>
   libqofexpensesobjects0-dbg

Paweł Więcek <coven@debian.org>
   liblockdev1-dbg
   liblockdev1-perl

Gunnar Wolf <gwolf@debian.org>
   cget
   cherokee

Ivan Yat-Cheung Wong <email@ivanwong.info>
   pidgin-hotkeys

Robert Woodcock <rcw@debian.org>
   libid3-3.8.3-dev

Stefano Zacchiroli <zack@debian.org>
   libgtkmathview-bin

Adi Zaimi <adizaimi@users.sourceforge.net>
   gkrelltop
   gkrelltopd

James R. Van Zandt <jrv@debian.org>
   emacspeak-ss


Cheers,
-- 
Niko Tyni   ntyni@debian.org


Reply to: