Bug#431395: shlibs-declares-dependency-on-other-package shouldn't match udebs
Package: lintian Version: 1.23.32 Severity: minor Heya, Packages with shared libs producing udebs get: W: libglib2.0-0: shlibs-declares-dependency-on-other-package libglib2.0-udeb (= 2.13.5) The shlibs look like this: libglib-2.0 0 libglib2.0-0 (= 2.13.5) libgmodule-2.0 0 libglib2.0-0 (= 2.13.5) libgobject-2.0 0 libglib2.0-0 (= 2.13.5) libgthread-2.0 0 libglib2.0-0 (= 2.13.5) udeb: libglib-2.0 0 libglib2.0-udeb (= 2.13.5) udeb: libgmodule-2.0 0 libglib2.0-udeb (= 2.13.5) udeb: libgobject-2.0 0 libglib2.0-udeb (= 2.13.5) udeb: libgthread-2.0 0 libglib2.0-udeb (= 2.13.5) Perhaps you can disable the warning when, for udeb: shlibs lines, the target package is effectively an udeb and appears in the *.changes. Bye, -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.22-rc6-686 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages lintian depends on: ii binutils 2.17.20070406cvs-2 The GNU assembler, linker and bina ii diffstat 1.43-2 produces graph of changes introduc ii dpkg-dev 1.14.4 package building tools for Debian ii file 4.21-1 Determines file type using magic ii gettext 0.16.1-1 GNU Internationalization utilities ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf ii libparse-debianchange 1.0-1 parse Debian changelogs and output ii man-db2.4.4-3The on-line manual pager ii perl [libdigest-md5-p 5.8.8-7Larry Wall's Practical Extraction lintian recommends no packages. -- no debconf information -- Loïc Minier
lintian: r921 - in trunk: checks debian
Author: rra Date: 2007-07-02 19:01:00 +0200 (Mon, 02 Jul 2007) New Revision: 921 Modified: trunk/checks/shared-libs trunk/debian/changelog Log: * checks/shared-libs: + [RA] Exclude udebs from dependency checking in the shlibs files since binary packages may legitimately declare udeb dependencies on other packages. Thanks, Lo?\195?\175c Minier. (Closes: #431395) Modified: trunk/checks/shared-libs === --- trunk/checks/shared-libs2007-07-01 16:54:58 UTC (rev 920) +++ trunk/checks/shared-libs2007-07-02 17:01:00 UTC (rev 921) @@ -315,6 +315,10 @@ while (SHLIBS) { chop; next if m/^\s*$/ or /^#/; + + # We exclude udebs from the checks for correct shared library + # dependencies, since packages may contain dependencies on + # other udeb packages. my $udeb=; $udeb = udeb: if s/^udeb:\s+//o; @words = split(/\s+/o,$_); @@ -323,7 +327,8 @@ tag duplicate-entry-in-shlibs-control-file, $shlibs_string; } else { $shlibs_control{$shlibs_string} = 1; - push (@shlibs_depends, join (' ', @words[2 .. $#words])); + push (@shlibs_depends, join (' ', @words[2 .. $#words])) + unless $udeb; } } close(SHLIBS); Modified: trunk/debian/changelog === --- trunk/debian/changelog 2007-07-01 16:54:58 UTC (rev 920) +++ trunk/debian/changelog 2007-07-02 17:01:00 UTC (rev 921) @@ -3,8 +3,12 @@ * checks/scripts: + [RA] If rm output is redirected to /dev/null, don't think that rm is removing /dev/null. Thanks, Robert Luberda. (Closes: #431259) + * checks/shared-libs: ++ [RA] Exclude udebs from dependency checking in the shlibs files + since binary packages may legitimately declare udeb dependencies on + other packages. Thanks, Loïc Minier. (Closes: #431395) - -- Russ Allbery [EMAIL PROTECTED] Sun, 01 Jul 2007 09:54:45 -0700 + -- Russ Allbery [EMAIL PROTECTED] Mon, 02 Jul 2007 10:00:52 -0700 lintian (1.23.32) unstable; urgency=low -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Processed: Lintian bugs fixed in revision r921
Processing commands for [EMAIL PROTECTED]: package lintian Ignoring bugs not assigned to: lintian # Fixed in r921 by rra tag 431395 + pending Bug#431395: shlibs-declares-dependency-on-other-package shouldn't match udebs There were no tags set. Tags added: pending thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#431395: shlibs-declares-dependency-on-other-package shouldn't match udebs
Loïc Minier [EMAIL PROTECTED] writes: Package: lintian Version: 1.23.32 Severity: minor Packages with shared libs producing udebs get: W: libglib2.0-0: shlibs-declares-dependency-on-other-package libglib2.0-udeb (= 2.13.5) The shlibs look like this: libglib-2.0 0 libglib2.0-0 (= 2.13.5) libgmodule-2.0 0 libglib2.0-0 (= 2.13.5) libgobject-2.0 0 libglib2.0-0 (= 2.13.5) libgthread-2.0 0 libglib2.0-0 (= 2.13.5) udeb: libglib-2.0 0 libglib2.0-udeb (= 2.13.5) udeb: libgmodule-2.0 0 libglib2.0-udeb (= 2.13.5) udeb: libgobject-2.0 0 libglib2.0-udeb (= 2.13.5) udeb: libgthread-2.0 0 libglib2.0-udeb (= 2.13.5) Perhaps you can disable the warning when, for udeb: shlibs lines, the target package is effectively an udeb and appears in the *.changes. Oh... yes, I wasn't expecting the udeb lines to be in the shlibs file for the regular package, but now that I think about it, I suppose it makes sense that they'd have to be in order to get dependencies correct when building other udeb packages. -- Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/