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

Bug#951650: marked as done (lintian: should emit rules-requires-root-explicitly in more cases)



Your message dated Sun, 23 Feb 2020 18:20:20 +0000
with message-id <E1j5vrY-0003ch-BX@fasolo.debian.org>
and subject line Bug#951650: fixed in lintian 2.55.0
has caused the Debian Bug report #951650,
regarding lintian: should emit rules-requires-root-explicitly in more cases
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.)


-- 
951650: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951650
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.52.0~bpo10+1
Severity: normal

Hi,

The code for rules-requires-root-explicitly is:


    # Check Rules-Requires-Root
    if (defined(my $r3 = $processable->source_field('rules-requires-root'))) {
        if ($r3 eq 'no') {
            $self->tag('rules-does-not-require-root');
        } elsif ($r3 eq 'binary-targets') {
            $self->tag('rules-requires-root-explicitly');
        }
    } else {
        $self->tag('rules-requires-root-missing');
    }

That does not match
https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-rules-requires-root,
which allows Rules-Requires-Root to take other values than
binary-targets (see the discussion about keywords in Policy).

In that case, the tag should also be emitted.

An example of package for which that fails is libcap2_2.27-1, which
specifies:
Rules-Requires-Root: dpkg/target-subcommand

- Lucas

-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.3.0-0.bpo.2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (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-16
ii  bzip2                        1.0.6-9.2~deb10u1
ii  diffstat                     1.62-1
ii  dpkg                         1.19.7
ii  dpkg-dev                     1.19.7
ii  file                         1:5.35-4+deb10u1
ii  gettext                      0.19.8.1-9
ii  gpg                          2.2.12-1+deb10u1
ii  intltool-debian              0.35.0+20060710.5
ii  libapt-pkg-perl              0.1.34+b1
ii  libarchive-zip-perl          1.64-1
ii  libberkeleydb-perl           0.55-2
ii  libcapture-tiny-perl         0.48-1
ii  libcgi-pm-perl               4.40-1
ii  libclass-accessor-perl       0.51-1
ii  libclass-xsaccessor-perl     1.19-3+b2
ii  libclone-perl                0.41-1+b1
ii  libdpkg-perl                 1.19.7
ii  libemail-valid-perl          1.202-1
ii  libfile-basedir-perl         0.08-1
ii  libfile-find-rule-perl       0.34-1
ii  libfont-ttf-perl             1.06-1
ii  libio-async-loop-epoll-perl  0.20-1
ii  libio-async-perl             0.72-1
ii  libipc-run-perl              20180523.0-1
ii  libjson-perl                 4.02000-1
ii  liblist-compare-perl         0.53-1
ii  liblist-moreutils-perl       0.416-1+b4
ii  libmldbm-perl                2.05-2
ii  libmoo-perl                  2.003004-2
ii  libmoox-aliases-perl         0.001006-1
ii  libnamespace-clean-perl      0.27-1
ii  libpath-tiny-perl            0.108-1
ii  libtext-levenshtein-perl     0.13-1
ii  libtimedate-perl             2.3000-2+deb10u1
ii  libtry-tiny-perl             0.30-1
ii  libtype-tiny-perl            1.004004-1
ii  liburi-perl                  1.76-1
ii  libxml-libxml-perl           2.0134+dfsg-1
ii  libyaml-libyaml-perl         0.76+repack-1
ii  man-db                       2.8.5-2
ii  patchutils                   0.3.4-2
ii  perl [libdigest-sha-perl]    5.28.1-6
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:
ii  binutils-multiarch     2.31.1-16
ii  libhtml-parser-perl    3.72-3+b3
ii  libtext-template-perl  1.55-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.55.0
Done: Chris Lamb <lamby@debian.org>

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 951650@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: Sun, 23 Feb 2020 17:43:29 +0000
Source: lintian
Architecture: source
Version: 2.55.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Closes: 951650 951760
Changes:
 lintian (2.55.0) unstable; urgency=medium
 .
   * Summary of tag changes:
     + Added:
       - adduser-with-home-var-run
 .
   [ Chris Lamb ]
   * Emit rules-requires-root-explicitly for values other than
     "binary-targets". (Closes: #951650)
 .
   [ Felix Lechner ]
   * In checks related to debian/copyright DEP-5 parsing, use the 'patched'
     to match files. (Closes: #951760)
   * Do not sort hard links when printing tag as the order is
     predetermined in File::Index.
   * For directories, File::Path->basename no longer returns a trailing slash.
   * Add libdevel-size-perl to Depends and Build-Depends.
   * Correct false positives for missing systemd keys.
 .
   [ Topi Miettinen ]
   * Add check for adduser --home /var/run in {pre,post}inst.
Checksums-Sha1:
 5ebbbf7c14cfe35a5200c4f063b913f6af62e5c0 4155 lintian_2.55.0.dsc
 f3fb56b5a37ceadc65ae5e3c419dab3015f2b28f 1900584 lintian_2.55.0.tar.xz
 32e0b0f8706a9dbbb9bee6b5ebddca14114659e2 16154 lintian_2.55.0_amd64.buildinfo
Checksums-Sha256:
 e01571e3e68cc938e6536750c5d4ff7423ee84e382e3c979225a71dd8ea6e8f7 4155 lintian_2.55.0.dsc
 2a4b69bd215f18e711bf5eb2dab740305b849c6025e73f948909776fd798a0e7 1900584 lintian_2.55.0.tar.xz
 3b9b4df711006216195d723690312ce4362129a152e2780f4eab2a226bd12178 16154 lintian_2.55.0_amd64.buildinfo
Files:
 3401150dc6121cab97b57f867c8b28df 4155 devel optional lintian_2.55.0.dsc
 eeb44eba6d1c26303bc43a9fb007b7a2 1900584 devel optional lintian_2.55.0.tar.xz
 f2978b3772f8f8df74fe150f7e39fe6e 16154 devel optional lintian_2.55.0_amd64.buildinfo

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

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAl5SvxIACgkQHpU+J9Qx
Hlj2GRAAkAV7K6HByiR8nSM0RWIZRglr8T8bmZ7tJN4AIYHqBSbLF2U4qRUNksnf
OCcezw6xwGZkzTaGeRPUdayP2VnsKV0T/UbhOOieNy/pzTSdJhmnBMhFyBKprce0
+rYMerNEEVWp5HZR9zyM1i52WGJfRYlaj6vP70fOjyx602QbCmB5UIvh1ZOi3/5h
UIF9NB9CQtqyi3KrHR+eZF9/MbersdE5m562gGppWlTeXRELx4byzLVIDUTgpa2Y
FI8KEmyMpbC8tgEOsB1qqIN6Md/NnRtIF9BQeAAR2Vf5th0uWf301hnlqhwUNYzV
XxbmvH7o9F36tc9vzK4qJmL/p9rlYwCGfAdxJCwxOdmYm7xagy19affTUBVEFhD5
lz/edAJMQ5Cb0UJqO9qYGNA42+ySZfODhbLMQIMu4M0TqMscjXOhWBOjAOM20rSW
V9kVrzaAAxWv8vhvz/wkLsy7rA39Drju+ds6Y7bslSvOBJSWUeU/ucObEzzQi8i3
zCxfWUDdAgG/DVn78YgPtchFnz06qGJpvSR1h4+w71Oh/cHexXMqgKn/V0NP315x
8i+GDKFep8wjYt/cs6NuxlmK/N5R42UlpYp32B+ZblgL1DZRCyfvtUMIy0pLGIc4
GRCWMGErd4VdVQTbiHgnMbFsbPcLPRxnkWlgWmCEviVLSOoQXW4=
=6vip
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: