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

Bug#976744: lintian: please check "invalid display constraint" for obsolete certainty references



Package: lintian
Version: 2.103.0~bpo10+1
Severity: normal

Hi, on upgrading from buster to backports, I was caught out by the
removal of "certainty" with this opaque message:

    $ lintian
    invalid display constraint = >= pedantic/wild-guess (severity) at /usr/share/lintian/bin/../lib/Lintian/Profile.pm line 835.

I found no reference to wild-guess in the backports man page, so
discovered it was called "certainty" from the buster man page. In
debian/changelog neither of the certainty comments since buster
mentioned its removal, nor were there any active bugs about it.

Gitlab's UI is rubbish for this, so I cloned the repo to discover the
reason for the lack of certainty:

    $ git log -G certainty
    ...
    e1e12f7f4 Use Severity field in tags to determine their disp.. (Felix Lechner,  N, 9 months ago)
              After a discussion in Bug#935706, the old mechanism between tag severity and
              tag certainty that determined the warning level was abandoned.
	      ...
              The old concept of tag certainty no longer exists in Lintian.

It's unfortunate that the good use of gbp dch and a commit title
focussed on the change has ended up hiding the user impact from the
resulting changelog. I considered raising this as a documentation
wishlist bug, so perhaps just include that last commit sentence in the
manpage (which also still mentions "consists of 3 parts" FYI).

However, since I apparently had the below config, lintian displayed the
initial unhelpful error message. I suggest explicity detecting the
certain, possible, wild-guess values and emitting a more user friendly
message to update config or cli parameters.

    $ cat ~/.config/lintian/lintianrc 
    display-level = >=pedantic/wild-guess
    display-experimental = true
--
Phil Morrell (emorrp1)



-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-12-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB: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  libcapture-tiny-perl            0.48-1
ii  libclass-xsaccessor-perl        1.19-3+b2
ii  libclone-perl                   0.41-1+b1
ii  libconfig-tiny-perl             2.23-1
ii  libcpanel-json-xs-perl          4.09-1
ii  libdata-dpath-perl              0.57-2
ii  libdata-validate-domain-perl    0.10-1
ii  libdevel-size-perl              0.82-1+b1
ii  libdpkg-perl                    1.19.7
ii  libemail-address-xs-perl        1.04-1+b1
ii  libfile-basedir-perl            0.08-1
ii  libfile-find-rule-perl          0.34-1
ii  libfont-ttf-perl                1.06-1
ii  libhtml-html5-entities-perl     0.004-1
ii  libipc-run3-perl                0.048-1
ii  libjson-maybexs-perl            1.004000-1
ii  liblist-compare-perl            0.53-1
ii  liblist-moreutils-perl          0.416-1+b4
ii  liblist-utilsby-perl            0.11-1
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  libperlio-gzip-perl             0.19-1+b5
ii  libproc-processtable-perl       0.56-1
ii  libsereal-decoder-perl          4.005+ds-1+b1
ii  libsereal-encoder-perl          4.005+ds-1+b1
ii  libtext-glob-perl               0.10-1
ii  libtext-levenshteinxs-perl      0.03-4+b6
ii  libtext-markdown-discount-perl  0.11-3+b1
ii  libtext-xslate-perl             3.5.6-1+b1
ii  libtime-duration-perl           1.20-1
ii  libtime-moment-perl             0.44-1+b1
ii  libtimedate-perl                2.3000-2+deb10u1
ii  libtry-tiny-perl                0.30-1
ii  libtype-tiny-perl               1.004004-1
ii  libunicode-utf8-perl            0.62-1
ii  liburi-perl                     1.76-1
ii  libxml-libxml-perl              2.0134+dfsg-1
ii  libyaml-libyaml-perl            0.76+repack-1
ii  lzip                            1.21-3
ii  lzop                            1.03-4+b1
ii  man-db                          2.8.5-2
ii  patchutils                      0.3.4-2
ii  perl [libdigest-sha-perl]       5.28.1-6+deb10u1
ii  t1utils                         1.41-3
ii  unzip                           6.0-23+deb10u1
ii  xz-utils                        5.2.4-1

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
pn  libtext-template-perl  <none>

-- no debconf information

Attachment: signature.asc
Description: PGP signature


Reply to: