Your message dated Fri, 25 Jun 2021 21:19:01 +0000
with message-id <e1lwte5-0009r7...@fasolo.debian.org>
and subject line Bug#990276: fixed in feature-check 0.2.2-7
has caused the Debian Bug report #990276,
regarding [feature-check] Version comparisons may return the wrong result
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 ow...@bugs.debian.org
immediately.)


-- 
990276: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990276
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: feature-check
Version: 0.2.2-6
Severity: serious
Tags: patch upstream

There are two problems in the Perl 5 implementation of feature-check as
found in the Debian archive; both are fixed upstream in a later version.

With the following setup, the first couple of queries return the correct
results:

    [roam@straylight ~/tmp/v/roam/fctest]$ cat fctest.sh
    #!/bin/sh
    
    echo 'Features: fctest=3.0.beta2'
    [roam@straylight ~/tmp/v/roam/fctest]$ feature-check -l ./fctest.sh
    fctest  3.0.beta2
    [roam@straylight ~/tmp/v/roam/fctest]$ feature-check ./fctest.sh 'fctest > 
1' && echo yes
    yes
    [roam@straylight ~/tmp/v/roam/fctest]$ feature-check ./fctest.sh 'fctest < 
3.1' && echo yes
    yes
    [roam@straylight ~/tmp/v/roam/fctest]$ feature-check ./fctest.sh 'fctest < 
3' && echo yes
    [roam@straylight ~/tmp/v/roam/fctest]$ 

...but these return incorrect results and generate spurious stderr output:


    [roam@straylight ~/tmp/v/roam/fctest]$ feature-check ./fctest.sh 'fctest < 
10' && echo yes
    [roam@straylight ~/tmp/v/roam/fctest]$ feature-check ./fctest.sh 'fctest < 
3.0.beta3' && echo yes
    Argument "beta3" isn't numeric in numeric comparison (<=>) at 
/usr/bin/feature-check line 285.
    Argument "beta2" isn't numeric in numeric comparison (<=>) at 
/usr/bin/feature-check line 285.
    [roam@straylight ~/tmp/v/roam/fctest]$ 

These bugs are fixed in two upstream commits:

  
https://gitlab.com/ppentchev/feature-check/-/commit/ed0da5159562fa37cf32386a1baf2a1114562822

  
https://gitlab.com/ppentchev/feature-check/-/commit/59e618baff6836f281697561f5a9cfa22ccd28df

The changes in these commits may be applied directly as patches to the
Debian source package.

G'luck,
Peter

-- System Information:
Debian Release: 11.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-7-amd64 (SMP w/8 CPU threads)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages feature-check depends on:
ii  libjson-xs-perl  4.030-1+b1
ii  perl             5.32.1-4

feature-check recommends no packages.

feature-check suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: feature-check
Source-Version: 0.2.2-7
Done: Peter Pentchev <r...@debian.org>

We believe that the bug you reported is fixed in the latest version of
feature-check, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 990...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Pentchev <r...@debian.org> (supplier of updated feature-check package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 24 Jun 2021 15:33:07 +0300
Source: feature-check
Architecture: source
Version: 0.2.2-7
Distribution: unstable
Urgency: medium
Maintainer: Peter Pentchev <r...@debian.org>
Changed-By: Peter Pentchev <r...@debian.org>
Closes: 990276
Changes:
 feature-check (0.2.2-7) unstable; urgency=medium
 .
   * Add the cmp-num and cmp-rest upstream patches to fix some version
     string comparisons. Closes: #990276
Checksums-Sha1:
 3dd9b44442ad6a48d7595b060121d65421fb6f02 2681 feature-check_0.2.2-7.dsc
 c93faa800a2ba513222ff76f1de9b60798f13604 8052 
feature-check_0.2.2-7.debian.tar.xz
Checksums-Sha256:
 4255db411ad5d552bb93a3b334500fe8ecef0d5d3823fc8184e7d27dd8b4b1bf 2681 
feature-check_0.2.2-7.dsc
 c35bbea37721b223dff41e120ef215ffb61de15db762962977591f5b6b2de25b 8052 
feature-check_0.2.2-7.debian.tar.xz
Files:
 985a3665d56b3e6b826b370c3635e065 2681 utils optional feature-check_0.2.2-7.dsc
 1f18e28a17d7484b795cf9219d5288a5 8052 utils optional 
feature-check_0.2.2-7.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmDWRUYQHHJvYW1AZGVi
aWFuLm9yZwAKCRBlHu+wJSffEySwD/9Y4rLDnV0+vHdXUCpTqW80sh0rov1vaqby
5yr6gG0LnWATXCAdfmhwjfVJBxRGmbFl0J0p+R0iC0oRAZ45QXKGBK27ocRN6E8S
FIFYEdSJnVQRVBrYGcAEOxxKv1EenA96+ycrodwMJsyq1lrjYZH0V4BpJLrXv53S
Rfny7NUWJgW0AfUW7gELYoRECKadysWBTAAuaKZTHHhHuPkoWV6BBKCFjCa1UuCJ
wuhZN/AV8TcYxPZr5Igs6ov+qjpuCzDyyns/QFAjL9k22aSbEUL98z5jln+eya3/
qOMe5rnxLZiO4XTN6WTe489WNCeK3YMnpKTOxjua0O+KlUWm4GCT12ItEaSTK47y
U8qqOHKT88ieF72duR0rXiyR4lyRsvTmIoP7lMkiYZAWDARx4qJzzBhvxCUfl2Sy
GF5Dd/n8LTlLClFLC29Cli5lNDb4LknGVTvq2BBeJD2qdRMq8ctro70bn+iykRq0
J70bc710hNx7CoQmzhc4YY/6QvnpxMnNM+rds7kjhU6vtIK3C066X/6P8YaPd/XP
6he7T/sP8BQMsLVk+jw+m7bvFTaop/s5xEGezwshjim/X0L6Uh0rinZmzZZBTtMS
nW8EJmAQcV5ikJ9hA4bHul8xKPP74Zgzf3flaRVt8i4m8hURkxYgAdxjfbH5eA1P
SLC8lgojxw==
=G3os
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to