Public bug reported: Imported from Debian bug http://bugs.debian.org/1014584:
Package: lintian Version: 2.115.2 When I invoke `lintian` over a package with a version like `22.2-64-g1fcd55d6-0ubuntu1~22.10.1` it emits `binary-nmu-debian-revision-in-source` and `source-nmu-has-incorrect-version-number` source warnings. This looks like a false positive. Here is a transcript: $ wget -q \ https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/cloud-init/22.2-64-g1fcd55d6-0ubuntu1~22.10.1/cloud-init_22.2-64-g1fcd55d6.orig.tar.gz \ https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/cloud-init/22.2-64-g1fcd55d6-0ubuntu1~22.10.1/cloud-init_22.2-64-g1fcd55d6-0ubuntu1~22.10.1.debian.tar.xz \ https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/cloud-init/22.2-64-g1fcd55d6-0ubuntu1~22.10.1/cloud-init_22.2-64-g1fcd55d6-0ubuntu1~22.10.1.dsc > /dev/null $ lintian cloud-init_22.2-64-g1fcd55d6-0ubuntu1~22.10.1.dsc ... W: cloud-init source: binary-nmu-debian-revision-in-source 22.2-64-g1fcd55d6-0ubuntu1~22.10.1 W: cloud-init source: source-nmu-has-incorrect-version-number 22.2-64-g1fcd55d6-0ubuntu1~22.10.1 ... We think it could be related to the following detection: https://salsa.debian.org/lintian/lintian/-/blob/ecc04980869462c5c71f4f71e9b8a71bd5b944b5/lib/Lintian/Check/Fields/Version.pm#L87 regex: https://salsa.debian.org/lintian/lintian/-/blob/ecc04980869462c5c71f4f71e9b8a71bd5b944b5/lib/Lintian/Check/Fields/Version.pm#L65 The warnings happen in: - Debian 12, lintian 2.115.2 - Debian 11, lintian 2.104.0 - Debian 10, lintian 2.15.0 - Debian 9, lintian 2.5.50.4 I have created a pastebin with a full reproducer: https://pastebin.ubuntu.com/p/85q7kXbZTW/ ** Affects: lintian Importance: Unknown Status: New ** Affects: lintian (Ubuntu) Importance: Undecided Status: New ** Bug watch added: Debian Bug tracker #1014584 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014584 ** Also affects: lintian via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014584 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2160501 Title: lintian: False positive binary-nmu-debian-revision-in-source and source-nmu-has-incorrect-version-number with Ubuntu version To manage notifications about this bug go to: https://bugs.launchpad.net/lintian/+bug/2160501/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
