Your message dated Sat, 10 Sep 2022 13:40:55 +0100 with message-id <2cfc9645343bdb910fe19c07bddfec2c428346a3.camel@adam-barratt.org.uk> and subject line Closing requests for updates included in 10.13 has caused the Debian Bug report #990372, regarding buster-pu: package feature-check/0.2.2-3 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.) -- 990372: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990372 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: buster-pu: package feature-check/0.2.2-3
- From: Peter Pentchev <roam@ringlet.net>
- Date: Sun, 27 Jun 2021 18:10:53 +0300
- Message-id: <162480660616.2608614.10462967208888537761.reportbug@straylight.m.ringlet.net>
Package: release.debian.org Severity: normal Tags: buster User: release.debian.org@packages.debian.org Usertags: pu This is a pre-approval request for feature-check/0.2.2-3+deb10u1 to fix the #990276 RC bug already fixed in unstable. [ Reason ] See #990276 (https://bugs.debian.org/990276): Version comparisons may return the wrong result. [ Impact ] If the feature-check command-line tool is used by other programs to make sure that an installed program has a recent enough version of a supported feature, the checks may fail for some versions containing non-numeric characters (pre-release, patch, etc). [ Tests ] The patches include additions to the feature-check unit-test suite that is run both at build time and as an autopkgtest. [ Risks ] Leaf package, not widely used yet; targeted fix, so hopefully any risks are very low. [ Checklist ] [x] *all* changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in (old)stable [x] the issue is verified as fixed in unstable [ Changes ] In my infinite wisdom of > 20 years of Perl programming, I managed to switch around the "cmp" and "<=>" comparison operators for integer and string values, leading to, mm, incorrect results and diagnostic messages. The changes switch the operators back and add test cases covering the relevant usage.diff -Nru feature-check-0.2.2/debian/changelog feature-check-0.2.2/debian/changelog --- feature-check-0.2.2/debian/changelog 2019-02-26 17:08:55.000000000 +0200 +++ feature-check-0.2.2/debian/changelog 2021-06-27 17:49:55.000000000 +0300 @@ -1,3 +1,10 @@ +feature-check (0.2.2-3+deb10u1) buster; urgency=medium + + * Add the cmp-num and cmp-rest upstream patches to fix some version + string comparisons. Closes: #990276 + + -- Peter Pentchev <roam@debian.org> Sun, 27 Jun 2021 17:49:55 +0300 + feature-check (0.2.2-3) unstable; urgency=medium * Switch to a DEP-14 debian/master branch. diff -Nru feature-check-0.2.2/debian/patches/cmp-num.patch feature-check-0.2.2/debian/patches/cmp-num.patch --- feature-check-0.2.2/debian/patches/cmp-num.patch 1970-01-01 02:00:00.000000000 +0200 +++ feature-check-0.2.2/debian/patches/cmp-num.patch 2021-06-27 17:49:55.000000000 +0300 @@ -0,0 +1,46 @@ +Description: Fix a 2 < 10 version int/string bug. +Origin: upstream; https://gitlab.com/ppentchev/feature-check/-/commit/ed0da5159562fa37cf32386a1baf2a1114562822 +Bug-Debian: https://bugs.debian.org/990276 +Author: Peter Pentchev <roam@ringlet.net> +Last-Update: 2021-06-24 + +--- a/perl5/feature-check.pl ++++ b/perl5/feature-check.pl +@@ -269,7 +269,7 @@ + if ($na ne '') { + if ($nb ne '') { + if ($nb != $na) { +- return $na cmp $nb; ++ return $na <=> $nb; + } + } else { + return 1; +--- a/t/04-simple.t ++++ b/t/04-simple.t +@@ -1,6 +1,6 @@ + #!/usr/bin/perl + # +-# Copyright (c) 2018 Peter Pentchev ++# Copyright (c) 2018, 2021 Peter Pentchev + # All rights reserved. + # + # Redistribution and use in source and binary forms, with or without +@@ -89,6 +89,18 @@ + ['base ge 3', 0], + ['base gt 3', 0], + ['base eq 3', 0], ++ ++ ['base lt 10', 1], ++ ['base le 10', 1], ++ ['base ge 10', 0], ++ ['base gt 10', 0], ++ ['base eq 10', 0], ++ ++ ['base lt 10.1', 1], ++ ['base le 10.1', 1], ++ ['base ge 10.1', 0], ++ ['base gt 10.1', 0], ++ ['base eq 10.1', 0], + ); + + my %c = env_init; diff -Nru feature-check-0.2.2/debian/patches/cmp-rest.patch feature-check-0.2.2/debian/patches/cmp-rest.patch --- feature-check-0.2.2/debian/patches/cmp-rest.patch 1970-01-01 02:00:00.000000000 +0200 +++ feature-check-0.2.2/debian/patches/cmp-rest.patch 2021-06-27 17:49:55.000000000 +0300 @@ -0,0 +1,62 @@ +Description: Fix a 3.0.beta2 < 3.0 version int/string bug. +Origin: upstream; https://gitlab.com/ppentchev/feature-check/-/commit/59e618baff6836f281697561f5a9cfa22ccd28df +Bug-Debian: https://bugs.debian.org/990276 +Author: Peter Pentchev <roam@ringlet.net> +Last-Update: 2021-06-24 + +--- a/perl5/feature-check.pl ++++ b/perl5/feature-check.pl +@@ -282,7 +282,7 @@ + if ($ra ne '') { + if ($rb ne '') { + if ($ra ne $rb) { +- return $ra <=> $rb; ++ return $ra cmp $rb; + } + } else { + return 1; +--- a/t/04-simple.t ++++ b/t/04-simple.t +@@ -101,6 +101,42 @@ + ['base ge 10.1', 0], + ['base gt 10.1', 0], + ['base eq 10.1', 0], ++ ++ ['beta lt 1', 0], ++ ['beta le 1', 0], ++ ['beta eq 1', 0], ++ ['beta ge 1', 1], ++ ['beta gt 1', 1], ++ ++ ['beta lt 3.0', 1], ++ ['beta le 3.0', 1], ++ ['beta eq 3.0', 0], ++ ['beta ge 3.0', 0], ++ ['beta gt 3.0', 0], ++ ++ ['beta lt 3.0.beta1', 0], ++ ['beta le 3.0.beta1', 0], ++ ['beta eq 3.0.beta1', 0], ++ ['beta ge 3.0.beta1', 1], ++ ['beta gt 3.0.beta1', 1], ++ ++ ['beta lt 3.0.beta2', 0], ++ ['beta le 3.0.beta2', 1], ++ ['beta eq 3.0.beta2', 1], ++ ['beta ge 3.0.beta2', 1], ++ ['beta gt 3.0.beta2', 0], ++ ++ ['beta lt 3.0.beta3', 1], ++ ['beta le 3.0.beta3', 1], ++ ['beta eq 3.0.beta3', 0], ++ ['beta ge 3.0.beta3', 0], ++ ['beta gt 3.0.beta3', 0], ++ ++ ['beta lt 3.0.0', 1], ++ ['beta le 3.0.0', 1], ++ ['beta eq 3.0.0', 0], ++ ['beta ge 3.0.0', 0], ++ ['beta gt 3.0.0', 0], + ); + + my %c = env_init; diff -Nru feature-check-0.2.2/debian/patches/series feature-check-0.2.2/debian/patches/series --- feature-check-0.2.2/debian/patches/series 2019-01-14 16:45:12.000000000 +0200 +++ feature-check-0.2.2/debian/patches/series 2021-06-27 17:49:04.000000000 +0300 @@ -1 +1,3 @@ python-no-executable.patch +cmp-num.patch +cmp-rest.patchAttachment: signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
- To: 941901-done@bugs.debian.org, 945578-done@bugs.debian.org, 960396-done@bugs.debian.org, 966028-done@bugs.debian.org, 983841-done@bugs.debian.org, 987538-done@bugs.debian.org, 987941-done@bugs.debian.org, 990372-done@bugs.debian.org, 990739-done@bugs.debian.org, 991120-done@bugs.debian.org, 998390-done@bugs.debian.org, 1003293-done@bugs.debian.org, 1006182-done@bugs.debian.org, 1008056-done@bugs.debian.org, 1008062-done@bugs.debian.org, 1008154-done@bugs.debian.org, 1008163-done@bugs.debian.org, 1008578-done@bugs.debian.org, 1009065-done@bugs.debian.org, 1009076-done@bugs.debian.org, 1009251-done@bugs.debian.org, 1009652-done@bugs.debian.org, 1010060-done@bugs.debian.org, 1010193-done@bugs.debian.org, 1010305-done@bugs.debian.org, 1010380-done@bugs.debian.org, 1010388-done@bugs.debian.org, 1010615-done@bugs.debian.org, 1010858-done@bugs.debian.org, 1011030-done@bugs.debian.org, 1011272-done@bugs.debian.org, 1011286-done@bugs.debian.org, 1011360-done@bugs.debian.org, 1011745-done@bugs.debian.org, 1011943-done@bugs.debian.org, 1012048-done@bugs.debian.org, 1012066-done@bugs.debian.org, 1013347-done@bugs.debian.org, 1014145-done@bugs.debian.org, 1014200-done@bugs.debian.org, 1014346-done@bugs.debian.org, 1014860-done@bugs.debian.org, 1014907-done@bugs.debian.org, 1014909-done@bugs.debian.org, 1014912-done@bugs.debian.org, 1015243-done@bugs.debian.org, 1016169-done@bugs.debian.org, 1016176-done@bugs.debian.org, 1016198-done@bugs.debian.org, 1016439-done@bugs.debian.org, 1016671-done@bugs.debian.org, 1016733-done@bugs.debian.org, 1017112-done@bugs.debian.org, 1017393-done@bugs.debian.org, 1017998-done@bugs.debian.org, 1018048-done@bugs.debian.org, 1018080-done@bugs.debian.org, 1018086-done@bugs.debian.org, 1018092-done@bugs.debian.org, 1018095-done@bugs.debian.org, 1018096-done@bugs.debian.org, 1018097-done@bugs.debian.org, 1018101-done@bugs.debian.org, 1018107-done@bugs.debian.org, 1018108-done@bugs.debian.org, 1018151-done@bugs.debian.org, 1018152-done@bugs.debian.org, 1018178-done@bugs.debian.org, 1018179-done@bugs.debian.org, 1018182-done@bugs.debian.org, 1018184-done@bugs.debian.org, 1018185-done@bugs.debian.org, 1018199-done@bugs.debian.org, 1018241-done@bugs.debian.org, 1018244-done@bugs.debian.org, 1018246-done@bugs.debian.org, 1018250-done@bugs.debian.org
- Subject: Closing requests for updates included in 10.13
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 10 Sep 2022 13:40:55 +0100
- Message-id: <2cfc9645343bdb910fe19c07bddfec2c428346a3.camel@adam-barratt.org.uk>
Package: release.debian.org Version: 10.13 Hi, Each of the updates referenced in these bugs was included in today's 10.13 point release. Regards, Adam
--- End Message ---