Bug#941395: lintian: tries to do math on package version strings: Argument "1exp1" isn't numeric in addition (+)

2019-09-30 Thread Thorsten Glaser
On Mon, 30 Sep 2019, Chris Lamb wrote:

> Thanks. Looks like this was introduced in:
> 
>   
> https://salsa.debian.org/lintian/lintian/commit/2d29518cfa51025ceaa296b6e8f622f78a6eb5f6

(adding .diff makes that readable in lynx)

Erk, this is very Perl-y… I’m sorry to say I don’t know what it does.

The string after the last hyphen-minus is the maintainer version, but
it’s almost free-form, except for not containing a hyphen-minus itself;
there are some assigned meanings (N.N means NMU, ~bpoN+N means backport,
etc.) but it can get convoluted: something like…

foo (= 1:2.3-4.5~deb6u7ubuntu8tarent9~ppa1404+1)

… is conceivable.

bye,
//mirabilos
-- 
«MyISAM tables -will- get corrupted eventually. This is a fact of life. »
“mysql is about as much database as ms access” – “MSSQL at least descends
from a database” “it's a rebranded SyBase” “MySQL however was born from a
flatfile and went downhill from there” – “at least jetDB doesn’t claim to
be a database”  (#nosec)‣‣‣ Please let MySQL and MariaDB finally die!



Bug#941395: lintian: tries to do math on package version strings: Argument "1exp1" isn't numeric in addition (+)

2019-09-30 Thread Chris Lamb
Thorsten Glaser wrote:

> [..] 2.23.0 also shows the message.

Thanks. Looks like this was introduced in:

  
https://salsa.debian.org/lintian/lintian/commit/2d29518cfa51025ceaa296b6e8f622f78a6eb5f6

(Perhaps that regex needs tightening/expanding?)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org 🍥 chris-lamb.co.uk
   `-



Processed: Re: Bug#941395: lintian: tries to do math on package version strings: Argument "1exp1" isn't numeric in addition (+)

2019-09-29 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> found 941395 2.24.0
Bug #941395 [lintian] lintian: tries to do math on package version strings: 
Argument "1exp1" isn't numeric in addition (+)
Marked as found in versions lintian/2.24.0.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
941395: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941395
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#941395: lintian: tries to do math on package version strings: Argument "1exp1" isn't numeric in addition (+)

2019-09-29 Thread Thorsten Glaser
found 941395 2.24.0
thanks

On Mon, 30 Sep 2019, Thorsten Glaser wrote:

> Package: lintian
> Version: 2.23.0

Oops sorry, I forgot to make the version match the one used
in the chroot during build; here, the host version bled through.

That being said, running…

$ lintian -vIiE --pedantic musescore_3.2.3+dfsg1-2.dsc

… with 2.23.0 also shows the message.

bye,
//mirabilos
-- 
«MyISAM tables -will- get corrupted eventually. This is a fact of life. »
“mysql is about as much database as ms access” – “MSSQL at least descends
from a database” “it's a rebranded SyBase” “MySQL however was born from a
flatfile and went downhill from there” – “at least jetDB doesn’t claim to
be a database”  (#nosec)‣‣‣ Please let MySQL and MariaDB finally die!



Bug#941395: lintian: tries to do math on package version strings: Argument "1exp1" isn't numeric in addition (+)

2019-09-29 Thread Thorsten Glaser
Package: lintian
Version: 2.23.0
Severity: normal

[…]
N: Processing source package musescore (version 3.2.3+dfsg1-2, arch source) ...
Argument "1exp1" isn't numeric in addition (+) at 
/usr/share/lintian/checks/debian/changelog.pm line 211.
[…]

This is from the presence of…

musescore (3.2.3+dfsg1-1exp1) experimental; urgency=low

… as second entry in d/changelog. The “exp” clearly is a string part.


-- System Information:
Debian Release: bullseye/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable'), 
(100, 'experimental')
Architecture: x32 (x86_64)
Foreign Architectures: i386, amd64

Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages lintian depends on:
ii  binutils 2.32.51.20190909-1
ii  bzip21.0.8-2
ii  diffstat 1.62-1
ii  dpkg 1.19.7
ii  dpkg-dev 1.19.7
ii  file 1:5.37-5
ii  gettext  0.19.8.1-9
ii  gpg  2.2.17-3
ii  intltool-debian  0.35.0+20060710.5
ii  libapt-pkg-perl  0.1.36
ii  libarchive-zip-perl  1.66-2
ii  libcapture-tiny-perl 0.48-1
ii  libcgi-pm-perl   4.44-1
ii  libclass-accessor-perl   0.51-1
ii  libclone-perl0.41-1+b1
ii  libdigest-sha-perl   6.02-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  libio-async-loop-epoll-perl  0.20-1
ii  libio-async-perl 0.74-1
ii  libipc-run-perl  20180523.0-1
ii  liblist-compare-perl 0.53-1
ii  liblist-moreutils-perl   0.416-1+b4
ii  libmoo-perl  2.003004-2
ii  libpath-tiny-perl0.108-1
ii  libtext-levenshtein-perl 0.13-1
ii  libtimedate-perl 2.3000-2
ii  libtry-tiny-perl 0.30-1
ii  libtype-tiny-perl1.004004-1
ii  liburi-perl  1.76-1
ii  libxml-simple-perl   2.25-1
ii  libyaml-libyaml-perl 0.80+repack-2
ii  man-db   2.8.7-3
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:
pn  libperlio-gzip-perl  

Versions of packages lintian suggests:
ii  binutils-multiarch 2.32.51.20190909-1
ii  libhtml-parser-perl3.72-3+b3
pn  libtext-template-perl  

-- no debconf information