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

Bug#923339: marked as done (lintian: Check files in debian/tests/pkg-js/files exist in the source tree)



Your message dated Mon, 22 Apr 2019 09:33:42 +0000
with message-id <E1hIVKY-0001T1-4r@fasolo.debian.org>
and subject line Bug#923339: fixed in lintian 2.13.0
has caused the Debian Bug report #923339,
regarding lintian: Check files in debian/tests/pkg-js/files exist in the source tree
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.)


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

Hi all,

pkg-js-tools provides tools to test nodejs packages. It search for 2
files: debian/tests/pkg-js/{test,files}

It could be interesting to provide these 2 tags:

 * "W: pkg-js-tools-test-is-missing":
   - if "dh --with nodejs" is used and both debian/tests/pkg-js/test and
     "override_dh_auto_test" are missing: "W: pkg-js-tools-test-is-missing".
   - if "Testsuite" = "autopkgtest-pkg-nodejs" and
     debian/tests/pkg-js/test is missing
   This is just a warning since since pkg-js-tools and pkg-js-autopkgtest
   will fall to a simple "node require('.')"

 * "E: pkg-js-autopkgtest-file-does-not-exist":
   - if debian/tests/pkg-js/files exists, each line must match to an
     existing file(s) in unbuilt source, else autopkgtest will fail.
     This files contains lines given to `tar cf - "$@"`. Test can be
     something like:

    use Dpkg::IPC;                                                                                                        
    {                                                                                                                     
      my $out;
      local $ENV{LANG} = 'C';
      spawn(
        exec => ['tar', '--create', '--file', '/dev/null', @non_empty_lines],
        wait_child => 1,
        error_to_string => \$out,
        nocheck => 1
      );  
      if($?) {
        my @files = map {/tar:\s+(.*?):\s*Cannot stat/; $1} grep /Cannot stat/,                                          
          split(/\n/, $out);
        foreach(@files) {
            tag "pkg-js-autopkgtest-file-does-not-exist", $_;
        }   
      }   
    }

Cheers,
Xavier

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (600, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lintian depends on:
ii  binutils                       2.31.1-11
ii  bzip2                          1.0.6-9
ii  diffstat                       1.62-1
ii  dpkg                           1.19.2
ii  dpkg-dev                       1.19.2
ii  file                           1:5.35-2
ii  gettext                        0.19.8.1-9
ii  gpg                            2.2.12-1
ii  intltool-debian                0.35.0+20060710.5
ii  libapt-pkg-perl                0.1.34+b1
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.41-1+b1
ii  libdigest-sha-perl             6.02-1+b1
ii  libdpkg-perl                   1.19.2
ii  libemail-valid-perl            1.202-1
ii  libfile-basedir-perl           0.08-1
ii  libio-async-perl               0.72-1
ii  libipc-run-perl                20180523.0-1
ii  liblist-moreutils-perl         0.416-1+b4
ii  libparse-debianchangelog-perl  1.2.0-13
ii  libtext-levenshtein-perl       0.13-1
ii  libtimedate-perl               2.3000-2
ii  liburi-perl                    1.76-1
ii  libxml-simple-perl             2.25-1
ii  libyaml-libyaml-perl           0.76+repack-1
it  man-db                         2.8.5-2
ii  patchutils                     0.3.4-2
ii  perl                           5.28.1-4
ii  t1utils                        1.41-3
ii  xz-utils                       5.2.4-1

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1+b5

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
ii  libhtml-parser-perl    3.72-3+b3
ii  libtext-template-perl  1.54-1

-- no debconf information

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

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 923339@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: Mon, 22 Apr 2019 09:01:36 +0000
Source: lintian
Binary: lintian
Built-For-Profiles: nocheck
Architecture: source all
Version: 2.13.0
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: 923331 923339 926766 926767 926768
Changes:
 lintian (2.13.0) unstable; urgency=medium
 .
   * Summary of tag changes:
     + Added:
       - debhelper-compat-level
       - patch-system
       - pkg-js-autopkgtest-file-does-not-exist
       - pkg-js-autopkgtest-test-is-missing
       - pkg-js-tools-test-is-missing
       - vcs
       - vcs-uri
 .
   [ Niels Thykier ]
   * gitlab-ci: Run commands with the time command to get an estimate
     for each part.
   * Ensure that LINTIAN_CFG is always defined as it is used in debug
     output.
   * Fix a typo that called the wrong clean-up function with --unpack.
   * Extract reporting related utilities into a separate module.
   * Remove unused system_env function from Lintian::Util
   * Move Deb822 parsing into its own module called Lintian::Deb822Parser.
 .
   [ Felix Lechner ]
   * Implement universal output format in Lintian.
   * Only run tests in t/bin/runtests but do not build any packages.
 .
   [ Xavier ]
   * Test for Node.js packages that don't ship a debian/tests/pkg-js/test
     file or ship a debian/tests/pkg-js/files that contains invalid/missing
     references. (Closes: #923339)
   * Test for Node.js packages that use "--with nodejs" in debian/rules but
     do not specify a debian/tests/pkg-js/test file. (Closes: #923331)
 .
   [ Adam D. Barratt ]
   * Update private/refresh-locale-codes to work with newer isoquery(1) and
     refresh data/files/locale-codes and data/fields/virtual-packages to
     match.
 .
   [ Lucas Nussbaum ]
   * Emit a classification tag about the current debhelper compat level
     in use. (Closes: #926766)
   * Emit a classification tag that records the patch system in use.
     (Closes: #926767)
   * Emit a classification tags about the revision control system used by
     the package. (Closes: #926768)
 .
   [ Michael Biebl ]
   * Also look in /usr/share/dbus-1/{system,session}.d for dbus
     configuration files. (MR: !187)
 .
   [ Simon Quigley ]
   * Add "eoan" as a known Ubuntu distribution. (MR: !198)
 .
   [ Chris Lamb ]
   * Clarify "Could not determine what you meant by" test harness error
     message; it is not always a parse error.
 .
   [ Paul Wise ]
   * Add/fix several spelling corrections.
Checksums-Sha1:
 9efa26b1ee4de36cf1e7c64c406de2de2647cdf2 3878 lintian_2.13.0.dsc
 2127317ae105225fffe890d9ee285c81e6b33ed8 1706860 lintian_2.13.0.tar.xz
 cb8de91e5c7319e38ad400c26f436f99da9b3152 1174592 lintian_2.13.0_all.deb
 4fd40ad82898e692cac1fe2adf9b16552aa42f4c 8908 lintian_2.13.0_amd64.buildinfo
Checksums-Sha256:
 cba837c234bd7a5d86d66dc357206031f38a9d126bacfebfed4c497f9ec00f1b 3878 lintian_2.13.0.dsc
 3a3e04972a408f4b9dac7e3a831f50ba11fc8cd0a240acfb474429a46e011b63 1706860 lintian_2.13.0.tar.xz
 fc3ff5026d4d930a56b8f0d0bb10cd129ce94b57587d919ef09ff9175199cfea 1174592 lintian_2.13.0_all.deb
 eeebc3487e129df2fcd5148a979214a40a9150e2c1c552952da3ea2b19640917 8908 lintian_2.13.0_amd64.buildinfo
Files:
 d90686844724846f86d6eec52a970be5 3878 devel optional lintian_2.13.0.dsc
 25a301e5f22572bed147db263383ffec 1706860 devel optional lintian_2.13.0.tar.xz
 1415ad9bfcd4cfa9a0fb72242bfcf9aa 1174592 devel optional lintian_2.13.0_all.deb
 ad45f714d8a3dbd06cb6d14edbe00b60 8908 devel optional lintian_2.13.0_amd64.buildinfo

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

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAly9iIEACgkQHpU+J9Qx
HlhtlQ//Y7ChkSAMwnNaQtQLOO6ugLnxxjxJGbEnmT/W3bQGS7cFnp2EEnQI1VYu
GsHUFkYEyFHGeLOZy+P6xYIdu04cLwBv+TLHTQbb0T+S5rKqY6zh5sQ+Yv/mlzJW
u+7jH08x0/cCUOUmFSWVx7rsxpZdFHWeD6kJpKtNhOY24h/LtfGNsAS14kqUU2fy
zJDgQw6c7xV1bkFlbD8/8xS4rAg3Jz7ZXShiiFVS14KGPLMIcmu7FOCZZzO/vkA8
j1S2I3PdBeJYpMqv6AegdJ2GIzdZBluHAtQLxRtWuo9LmpB9kZecbA+rFPs081ts
iawDUdu3JVw9QxEIj3PPS8PcWQwBi4KJLsl5haObvnOSE8xiz2xhWbJuCQXt17jw
SfLDjtdU4EnCT7/+FhDo3VI0vhO/Au+RkgwCjJenxQskeMSkFQRyKLtL+SeHhFCn
WiBbWvUAJrM4mqMQNv8dBFoBaUHcJIC4XZeDmcAHKjwpQU6ushVFKVAo9eDpkR30
7l9Mx3EBpcu+8xRc78MEBVGrw0uJtXsvhCT62LI4MBjf/vaGzJvmKf5BugRJAvYl
sQq57zfrVX8pbEoOqz86VWqiV/eSdsBC1N/Mirtcs6f0i4maMgkZwTM39JDyn52I
ojS70+TdNsnTR/OAvlpvUoJFWQyzgIP07EEhESGp1gEnBeX0SlM=
=CaX2
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: