Debian Bug report logs - #1085427
/usr/bin/lintian: native package should be identified by version number

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: Ian Jackson <[email protected]>

Date: Sat, 19 Oct 2024 11:54:03 UTC

Severity: normal

Found in version lintian/2.119.0

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#1085427; Package lintian. (Sat, 19 Oct 2024 11:54:03 GMT) (full text, mbox, link).


Acknowledgement sent to Ian Jackson <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Lintian Maintainers <[email protected]>. (Sat, 19 Oct 2024 11:54:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Ian Jackson <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: /usr/bin/lintian: native package should be identified by version number
Date: Sat, 19 Oct 2024 12:51:34 +0100
Package: lintian
Version: 2.119.0
Severity: normal
File: /usr/bin/lintian

I ran lintian on a non-native package (that is, a package which might
have differences from upstream) which uses native source package
format.

This is in accordance with the Technical Commitee decision
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007717#384

>   1. It is not a bug of any severity for a package with a non-native
>      version number to use a native source package format.
> 
>   2. Thus, we think that dpkg shouldn't issue warnings, or otherwise
>      complain, when a non-native version number is used w/ 3.0 (native).

This reasoning surely applies to lintian too.
In practice with current lintian I see this:

  E: bedstead source: malformed-debian-changelog-version 002.008-2 (for native) [debian/changelog:1]
  W: bedstead source: debian-watch-file-in-native-package [debian/watch]

(The package has a source format of 1.0 native.)

IMO:

 * lintian should determine whether the package is native from the
   version number, rather than the source format.  So it should expect
   a watch file iff the *version* has a revision.

 * lintian should not issue a lint of any severity about native
   source formats with non-native version numbers.

Thanks,
Ian.

-- System Information:
Debian Release: trixie/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.11-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages lintian depends on:
ii  appstream                       1.0.3-1
ii  binutils                        2.43.1-5
ii  bzip2                           1.0.8-6
ii  diffstat                        1.66-1
ii  dpkg                            1.22.11
ii  dpkg-dev                        1.22.11
ii  file                            1:5.45-3
ii  gettext                         0.22.5-2
ii  gpg                             2.2.43-8+b1
ii  intltool-debian                 0.35.0+20060710.6
ii  iso-codes                       4.17.0-1
ii  libapt-pkg-perl                 0.1.40+b5
ii  libarchive-zip-perl             1.68-1
ii  libberkeleydb-perl              0.64-2+b3
ii  libcapture-tiny-perl            0.48-2
ii  libclass-xsaccessor-perl        1.19-4+b3
ii  libclone-perl                   0.47-1
ii  libconfig-tiny-perl             2.30-1
ii  libconst-fast-perl              0.014-2
ii  libcpanel-json-xs-perl          4.38-1
ii  libdata-dpath-perl              0.60-1
ii  libdata-validate-___domain-perl    0.15-1
ii  libdata-validate-uri-perl       0.07-3
ii  libdevel-size-perl              0.84-1
pn  libdigest-sha-perl              <none>
ii  libdpkg-perl                    1.22.11
ii  libemail-address-xs-perl        1.05-1+b3
ii  libencode-perl                  3.21-1+b1
ii  libfile-basedir-perl            0.09-2
ii  libfile-find-rule-perl          0.34-3
ii  libfont-ttf-perl                1.06-2
ii  libhtml-html5-entities-perl     0.004-3
ii  libhtml-tokeparser-simple-perl  3.16-4
ii  libio-interactive-perl          1.025-1
ii  libipc-run3-perl                0.049-1
ii  libjson-maybexs-perl            1.004008-1
ii  liblist-compare-perl            0.55-2
ii  liblist-someutils-perl          0.59-1
ii  liblist-utilsby-perl            0.12-2
ii  libmldbm-perl                   2.05-4
ii  libmoo-perl                     2.005005-1
ii  libmoox-aliases-perl            0.001006-2
ii  libnamespace-clean-perl         0.27-2
ii  libpath-tiny-perl               0.146-1
ii  libperlio-gzip-perl             0.20-1+b3
ii  libperlio-utf8-strict-perl      0.010-1+b2
ii  libproc-processtable-perl       0.636-1+b2
ii  libregexp-wildcards-perl        1.05-3
ii  libsereal-decoder-perl          5.004+ds-1+b2
ii  libsereal-encoder-perl          5.004+ds-1+b2
ii  libsort-versions-perl           1.62-3
ii  libsyntax-keyword-try-perl      0.30-1
ii  libterm-readkey-perl            2.38-2+b3
ii  libtext-levenshteinxs-perl      0.03-5+b3
ii  libtext-markdown-discount-perl  0.16-1+b2
ii  libtext-xslate-perl             3.5.9-2
ii  libtime-duration-perl           1.21-2
ii  libtime-moment-perl             0.44-2+b3
ii  libtimedate-perl                2.3300-2
ii  libunicode-utf8-perl            0.62-2+b2
ii  liburi-perl                     5.29-1
ii  libwww-mechanize-perl           2.19-1
ii  libwww-perl                     6.77-1
ii  libxml-libxml-perl              2.0207+dfsg+really+2.0134-5
ii  libyaml-libyaml-perl            0.902.0+ds-2
ii  lzop                            1.04-2
ii  man-db                          2.13.0-1
ii  patchutils                      0.4.2-1
ii  perl [libversion-perl]          5.38.2-5
ii  plzip [lzip-decompressor]       1.11-2
ii  t1utils                         1.41-4
ii  unzip                           6.0-28
ii  xz-utils                        5.6.2-2

lintian recommends no packages.

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

-- no debconf information



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 09:29:27 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.