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

Bug#831864: lintian: Should warn about python packages which ship coverage information



Package: lintian
Version: 2.5.45
Severity: wishlist

Hi,

I don't know too much about doing coverage computations in Python, but
this looks wrong twice (i.e. for both packages):

Unpacking python-rows (0.2.0-1) over (0.1.1-3) ...
dpkg: error processing archive /var/cache/apt/archives/python-rows_0.2.0-1_all.deb (--unpack):
 trying to overwrite '/usr/lib/python2.7/dist-packages/.coverage', which is also in package python-jwt 1.4.0-1

IMHO lintian should throw an "Error" level warning if a file matching
/usr/lib/python*/dist-packages/.coverage exists in a binary package.

But maybe the list of avoided file names should be even larger. Someone
fit in python ooverage should probably look at this. I'd implement the
test once it's clear what exactly needs to be looked at.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (980, 'unstable-debug'), (600, 'testing'), (111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental'), (105, 'experimental-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lintian depends on:
ii  binutils                          2.26.1-1
ii  bzip2                             1.0.6-8
ii  diffstat                          1.61-1
ii  file                              1:5.28-3
ii  gettext                           0.19.8.1-1
ii  hardening-includes                2.8+nmu2
ii  intltool-debian                   0.35.0+20060710.4
ii  libapt-pkg-perl                   0.1.29+b5
ii  libarchive-zip-perl               1.57-1
ii  libclass-accessor-perl            0.34-1
ii  libclone-perl                     0.38-2
ii  libdata-alias-perl                1.20-1+b1
ii  libdigest-sha-perl                5.95-2+b1
ii  libdpkg-perl                      1.18.9
ii  libemail-valid-perl               1.200-1
ii  libfile-basedir-perl              0.07-1
ii  libipc-run-perl                   0.94-1
ii  liblist-moreutils-perl            0.416-1
ii  libparse-debianchangelog-perl     1.2.0-10
ii  libperl5.22 [libdigest-sha-perl]  5.22.2-2
ii  libtext-levenshtein-perl          0.13-1
ii  libtimedate-perl                  2.3000-2
ii  liburi-perl                       1.71-1
ii  libyaml-libyaml-perl              0.41-6+b1
ii  man-db                            2.7.5-1
ii  patchutils                        0.3.4-1
ii  perl                              5.22.2-2
ii  t1utils                           1.39-2
ii  xz-utils                          5.1.1alpha+20120614-2.1

Versions of packages lintian recommends:
ii  dpkg                                 1.18.9
ii  libautodie-perl                      2.29-2
ii  libperlio-gzip-perl                  0.19-1+b1
ii  perl                                 5.22.2-2
ii  perl-modules-5.22 [libautodie-perl]  5.22.2-2

Versions of packages lintian suggests:
ii  binutils-multiarch     2.26.1-1
ii  dpkg-dev               1.18.9
ii  libhtml-parser-perl    3.72-2
ii  libtext-template-perl  1.46-1

-- no debconf information


Reply to: