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

Bug#908915: marked as done (Several tests fail (not skipped) without certain packages installed)



Your message dated Wed, 26 Sep 2018 15:34:45 +0000
with message-id <E1g5Bpt-000904-Sw@fasolo.debian.org>
and subject line Bug#908915: fixed in lintian 2.5.106
has caused the Debian Bug report #908915,
regarding Several tests fail (not skipped) without certain packages installed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
908915: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908915
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.5.103
Severity: normal

When trying to run the lintian testsuite, I got several test failures:

Failed tests (6)
    tests::binaries-missing-depends-on-numpy-abi
    tests::debhelper-dh-quilt-addon-but-quilt-source-format
    tests::debhelper-dh-quilt-addon-but-quilt-source-format-unrel
    tests::debhelper-dh-with-quilt
    tests::rules-including-deprecated-makefiles
    tests::rules-missing-targets-with-known-includes

Looking at the log, these seem to fail without certain packages
installed. I'm not sure if the bug is that those tests lack
Test-Depends, or in some cases if the tests shouldn't be trying to
build.

For example, rules-missing-targets-with-known-includes fails due to
missing /usr/share/javahelper/java-vars.mk:

tests::rules-missing-targets-with-known-includes: ---- START BUILD LOG
tests::rules-missing-targets-with-known-includes: dpkg-buildpackage: info: source package rules-missing-targets-with-known-includes
tests::rules-missing-targets-with-known-includes: dpkg-buildpackage: info: source version 1.0
tests::rules-missing-targets-with-known-includes: dpkg-buildpackage: info: source distribution unstable
tests::rules-missing-targets-with-known-includes: dpkg-buildpackage: info: source changed by Debian Lintian Maintainers <lintian-maint@debian.org>
tests::rules-missing-targets-with-known-includes:  dpkg-source -iNEVER_MATCH_ANYTHING -INEVER_MATCH_ANYTHING --auto-commit --before-build rules-missing-targets-with-known-includes-1.0
tests::rules-missing-targets-with-known-includes: dpkg-buildpackage: info: host architecture amd64
tests::rules-missing-targets-with-known-includes: dpkg-source: warning: --auto-commit is not a valid option for Dpkg::Source::Package::V1
tests::rules-missing-targets-with-known-includes:  debian/rules clean
tests::rules-missing-targets-with-known-includes: debian/rules:5: /usr/share/javahelper/java-vars.mk: No such file or directory
tests::rules-missing-targets-with-known-includes: make: *** No rule to make target '/usr/share/javahelper/java-vars.mk'.  Stop.
tests::rules-missing-targets-with-known-includes: dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
tests::rules-missing-targets-with-known-includes: ---- END BUILD LOG
error tests::rules-missing-targets-with-known-includes: internal error: cd /home/josh/src/lintian/debian/test-out/tests/rules-missing-targets-with-known-includes/rules-missing-targets-with-known-includes-1.0 && dpkg-buildpackage -rfakeroot -us -uc -d -iNEVER_MATCH_ANYTHING -INEVER_MATCH_ANYTHING --source-option=--auto-commit >/home/josh/src/lintian/debian/test-out/tests/rules-missing-targets-with-known-includes/build.rules-missing-targets-with-known-includes 2>&1 at t/runtests line 466.

And rules-including-deprecated-makefiles fails due to missing
/usr/share/cdbs/1/rules/simple-patchsys.mk:

tests::rules-including-deprecated-makefiles: ---- START BUILD LOG
tests::rules-including-deprecated-makefiles: dpkg-buildpackage: info: source package rules-including-deprecated-makefiles
tests::rules-including-deprecated-makefiles: dpkg-buildpackage: info: source version 1.0
tests::rules-including-deprecated-makefiles: dpkg-buildpackage: info: source distribution unstable
tests::rules-including-deprecated-makefiles: dpkg-buildpackage: info: source changed by Debian Lintian Maintainers <lintian-maint@debian.org>
tests::rules-including-deprecated-makefiles:  dpkg-source -iNEVER_MATCH_ANYTHING -INEVER_MATCH_ANYTHING --auto-commit --before-build rules-including-deprecated-makefiles-1.0
tests::rules-including-deprecated-makefiles: dpkg-buildpackage: info: host architecture amd64
tests::rules-including-deprecated-makefiles: dpkg-source: warning: --auto-commit is not a valid option for Dpkg::Source::Package::V1
tests::rules-including-deprecated-makefiles:  debian/rules clean
tests::rules-including-deprecated-makefiles: debian/rules:4: /usr/share/cdbs/1/rules/simple-patchsys.mk: No such file or directory
tests::rules-including-deprecated-makefiles: make: *** No rule to make target '/usr/share/cdbs/1/rules/simple-patchsys.mk'.  Stop.
tests::rules-including-deprecated-makefiles: dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
tests::rules-including-deprecated-makefiles: ---- END BUILD LOG
error tests::rules-including-deprecated-makefiles: internal error: cd /home/josh/src/lintian/debian/test-out/tests/rules-including-deprecated-makefiles/rules-including-deprecated-makefiles-1.0 && dpkg-buildpackage -rfakeroot -us -uc -d -iNEVER_MATCH_ANYTHING -INEVER_MATCH_ANYTHING --source-option=--auto-commit >/home/josh/src/lintian/debian/test-out/tests/rules-including-deprecated-makefiles/build.rules-including-deprecated-makefiles 2>&1 at t/runtests line 466.

Should these tests use Test-Depends, or for some of these tests should
lintian just build a source package and check that without trying to
build binary packages?

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=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.31.1-5
ii  bzip2                          1.0.6-9
ii  diffstat                       1.61-1+b1
ii  dpkg                           1.19.0.5+b1
ii  file                           1:5.34-2
ii  gettext                        0.19.8.1-7
ii  intltool-debian                0.35.0+20060710.4
ii  libapt-pkg-perl                0.1.34
ii  libarchive-zip-perl            1.64-1
ii  libcgi-pm-perl                 4.40-1
ii  libclass-accessor-perl         0.51-1
ii  libclone-perl                  0.39-1
ii  libdpkg-perl                   1.19.0.5
ii  libemail-valid-perl            1.202-1
ii  libfile-basedir-perl           0.08-1
ii  libipc-run-perl                20180523.0-1
ii  liblist-moreutils-perl         0.416-1+b3
ii  libparse-debianchangelog-perl  1.2.0-12
ii  libtext-levenshtein-perl       0.13-1
ii  libtimedate-perl               2.3000-2
ii  liburi-perl                    1.74-1
ii  libxml-simple-perl             2.25-1
ii  libyaml-libyaml-perl           0.74+repack-1
ii  man-db                         2.8.4-2
ii  patchutils                     0.3.4-2
ii  perl [libdigest-sha-perl]      5.26.2-7
ii  t1utils                        1.41-2
ii  xz-utils                       5.2.2-1.3

Versions of packages lintian recommends:
pn  libperlio-gzip-perl  <none>

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
ii  dpkg-dev               1.19.0.5
ii  libhtml-parser-perl    3.72-3+b2
ii  libtext-template-perl  1.53-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.5.106

We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 908915@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <lamby@debian.org> (supplier of updated lintian package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 26 Sep 2018 15:04:01 +0000
Source: lintian
Binary: lintian
Architecture: source all
Version: 2.5.106
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Description:
 lintian    - Debian package checker
Closes: 908915
Changes:
 lintian (2.5.106) unstable; urgency=medium
 .
   * Summary of tag changes:
     + Added:
       - excessive-debhelper-overrides
       - package-installs-apt-keyring
 .
   * checks/debhelper.{desc,pm}:
     + [CL] Warn about packages that use an excessive (currently >= 20)
       number of debhelper overrides.
   * checks/files.{desc,pm}:
     + [CL] Apply a patch from Josh Triplett to check for packages that
       install APT keyrings without being called "foo-archive-keyring" or
       "foo-apt-source".
     + [CL] Apply a patch from Josh Triplett to allow packages such as
       "foo-apt-source" to install APT sources.
 .
   * data/binaries/spelling-exceptions:
     + [CL] Also add "wiH" (alongside "wIH") to the list of
       "spelling-error-in-binary" exceptions.
 .
   * t/*:
     + [CL] Apply a patch series from Felix Lechner to support wildcards in
       test architecture fields.  Thanks!
     + [CL] Apply a patch series from Felix Lechner to disable architecture
       overrides in the testsuite; see
       <https://salsa.debian.org/lintian/lintian/merge_requests/38> for more
       information.
     + [CL] Apply a patch series from Josh Triplett to add "Test-Depends" to
       a few tests.  (Closes: #908915)
Checksums-Sha1:
 031fd170d9292434a88c912048003b31543a5edf 3542 lintian_2.5.106.dsc
 4acec69329012aaa2ff02558fd46e2993a5ff574 1587720 lintian_2.5.106.tar.xz
 97fd4a420a83432da1873c51bacc5c1a2cb23278 1135712 lintian_2.5.106_all.deb
 6579b6d4a00d05bc378256c51dbedefccc0b4b0b 16244 lintian_2.5.106_amd64.buildinfo
Checksums-Sha256:
 f47cb635c53700feb408a49d3b8b3f6ad0daf9849eacc7d303d2d36dfcc1595d 3542 lintian_2.5.106.dsc
 b238acd7c94025b5293da6099d555ef0fef1aa9e6144234db204ecc522a43547 1587720 lintian_2.5.106.tar.xz
 9e2183f5e127e44a3f0c955d99fca5bbc62f507a389237d9bccc2ee3ee994129 1135712 lintian_2.5.106_all.deb
 16d0e7100f90860af60dbaa490c5238cf5b71f6f70c8b7f04cc683a42226370e 16244 lintian_2.5.106_amd64.buildinfo
Files:
 d9071afb4b49eb1c9efbdf73330f30f1 3542 devel optional lintian_2.5.106.dsc
 b9ecd07766a86ea9088a3eaafb5b3a46 1587720 devel optional lintian_2.5.106.tar.xz
 31eb099f875b4321047515a207df4628 1135712 devel optional lintian_2.5.106_all.deb
 9b55b6863cc120e8df286b5ca1d33625 16244 devel optional lintian_2.5.106_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlurpVIACgkQHpU+J9Qx
HljPSQ//bij0PJPsZtSS1ft6If+IoM+YYzuTw3IK72d6tN6UCB4MnAgIQhgZ5PFH
jqRVoIpWa+wGT1Xx7Rnr2tVt73K9M0Ywt8UeKoF2+c0zLgYHYGtwmkOxyD5Xv9H8
eDh6eNnh1ZLP4EsdsvBNBTC0+Qp2W37DeqBH6jIvbVqxo9o0/BZMCIKJA+eYMo5v
XyXIEyXcWkDw10D9c6hYpDVLy3KEAA5q0DWc8n9JT4ZHK4XFb7tY+7UUcYerh0UA
OMrRI6UlasirNXDJZpHX+kNlQZPABT4/DciUkXE1L7saELDrcJpp+LaDdaSf4yiQ
VwnIFvhWyWTnP7plWGRGfTDZ5JrT6Zl+t07URko9vvEQEBmqSShltLURIYW8R6YL
xUcJ6Tw+7up7Pzr37bxRTlL2DXOMdElnRYYPpe1COQvhPZ4PdudyFA++tLOJOHqG
DyfTIL1I2ivfla43aJiZFC7aLXFF2GgClMNMXeIlcsDOrYLziBEquN7ZXXFMvFhR
wtou9zWkqVJDpDpHMuK2D0FnOPMBGl2jkjLHGbM9u0+Nwp7jIJDRZ6WJRvUaK/eu
aAV0qr9hcLT8+CPGQOZDRvg+g5JegN7WBHN32L3XDUUT5RUq2zWZFyZHgxuiwpRp
2Odw2zhkAlbq2j+FF21yuPX2nKtOtwehaHWxr7KoEI9p2qNINF4=
=XZKt
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: