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

Bug#495296: lintian fails checking resctrict versions in debian/control source package



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: lintian
Version: 1.24.3
Severity: normal

Using lintian from Etch, lintian report the next message:

N: Processing changes file dtrx_6.2-1_i386.changes ...
N: Processing 2 packages...
N: ----
N: Processing source package dtrx (version 6.2-1) ...
W: dtrx source: newer-standards-version 3.8.0 (current is 3.7.2)
N:
N:   The source package refers to a `Standards-Version' which is newer than
N:   the highest one lintian is programmed to check. If the source package
N:   is correct, then please upgrade lintian to the newest version. (If
N:   there is no newer lintian version, then please bug
N:   lintian-maint@debian.org to make one.)
N:
E: dtrx source: missing-build-dependency python-support (>= 0.3)
N:
N:   The package doesn't specify a build dependency on a package that is
N:   used in debian/rules.
N:
N:   lintian intentionally does not take into account transitive
N:   dependencies. Even if the package build-depends on some package that
N:   in turn build-depends on the needed package, an explicit build
N:   dependency should be added. Otherwise, a latent bug is created that
N:   will appear without warning if the other package is ever updated to
N:   change its dependencies. Even if this seems unlikely, please always
N:   add explicit build dependencies on every non-essential,
N:   non-build-essential package that is used directly during the build.
N:
N:   Refer to Policy Manual, section 4.2 for details.
N:
N: ----

Using lintian from sid:

N: Processing changes file dtrx_6.2-1_i386.changes ...
N: Processing 2 packages...
N: ----
N: Processing source package dtrx (version 6.2-1) ...
N: ----
N: Processing binary package dtrx (version 6.2-1) ...

The debian/control file for this example from source package is:

Source: dtrx
Section: utils
Priority: extra
Maintainer: Miguelangel Jose Freitas Loreto <miguelangel.freitas@gmail.com>
Build-Depends: debhelper, python, python-support
Standards-Version: 3.8.0
Homepage: http://brettcsmith.org/2007/dtrx/

Package: dtrx
Architecture: all
Depends: ${python:Depends}, binutils, unzip, cpio, rpm, bzip2,
cabextract, unshield, lzma, p7zip-full
Description: intelligently extract multiple archive type
 dtrx stands for "Do The Right Extraction.", it's a tool for
 Unix-like systems that takes all the hassle out of
 extracting archives, with dtrx you can do:
 .
 Handles many archive types: You only need to remember one
 simple command to extract tar, zip, cpio, deb, rpm, gem, 7z,
 cab, gz, bz2, lzma, and many kinds of exe files, including
 Microsoft Cabinet archives, InstallShield archives, and
 self-extracting zip files. If they have any extra
 compression, like tar.bz2, dtrx will take care of that for
 you, too.
 .
 Keeps everything organized: dtrx will make sure that
 archives are extracted into their own dedicated directories.
 .
 Sane permissions: dtrx makes sure you can read and write
 all the files you just extracted, while leaving the rest of
 the permissions intact.
 .
 Recursive extraction: dtrx can find archives inside the
 archive and extract those too.

Lintian don't check the specific versions in the field Build-Depends

I think this breaks with the section 7.1 of Debian Policy.
<http://www.debian.org/doc/debian-policy/ch-relationships.html#s-depsyntax>

- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24 (SMP w/2 CPU cores)
Locale: LANG=es_VE.UTF-8, LC_CTYPE=es_VE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils            2.18.1~cvs20080103-7 The GNU assembler, linker
and bina
ii  diffstat            1.45-2               produces graph of changes
introduc
ii  dpkg-dev            1.14.20              Debian package development
tools
ii  file                4.25-1               Determines file type using
"magic"
ii  gettext             0.17-3               GNU Internationalization
utilities
ii  intltool-debian     0.35.0+20060710.1    Help i18n of RFC822
compliant conf
ii  libparse-debianchan 1.1.1-2              parse Debian changelogs and
output
ii  libtimedate-perl    1.1600-9             Time and date functions for
Perl
ii  liburi-perl         1.35.dfsg.1-1        Manipulates and accesses
URI strin
ii  man-db              2.5.2-2              on-line manual pager
ii  perl [libdigest-sha 5.10.0-11.1          Larry Wall's Practical
Extraction

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch            <none>     (no description available)
pn  libtext-template-perl         <none>     (no description available)
ii  man-db                        2.5.2-2    on-line manual pager
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkimC9gACgkQEj/fBl4PScRprwCgsR8+ls78oUwvWHp96bIXRZXz
FEUAoIxvl+Mm55AWYq3eVCUCdReEhFHZ
=YqtK
-----END PGP SIGNATURE-----



Reply to: