Your message dated Sun, 25 Jun 2017 21:15:18 +0000 with message-id <[email protected]> and subject line Bug#855532: fixed in perl 5.26.0-2 has caused the Debian Bug report #855532, regarding perl: Getopt::Long option value : and :+ processing broken 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 [email protected] immediately.) -- 855532: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855532 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libgetopt-long-descriptive-perl Version: 0.100-1 Severity: important Dear Maintainer, I have just realised that a long-established cron job is not doing what it should as Getopt::Long processing of option values is broken. I do not know when this happened. It used to work but it no longer does so, and I notice that Getopt::Long in debian seems to have been replaced by Getopt::Long::Descriptive. I assume that Getopt::Long::Descriptive is the problem but I have not gone back and tested with the CPAN version of Getopt::Long to be sure. The problem is that the implementation of ":i" and ":+" is wrong, compared with the documentation of (and earlier behaviour of) Getopt::Long. The examples below use the following test script (getopt-test.pl): #!/usr/bin/perl use strict; use warnings; use Getopt::Long 2.33 qw(:config gnu_getopt auto_help auto_version); my $VERBOSITY = 0; my $HISTORY = 0; GetOptions( "verbose|v:+" => \$VERBOSITY, "history|h:1" => \$HISTORY ); print "VERBOSITY = $VERBOSITY\n"; print "HISTORY = $HISTORY\n"; The first problem is that ":1" does not allow the value to be set except using "=". For example, none of the following commands set the value of $HISTORY: getopt-test.pl -h getopt-test.pl -h 2 getopt-test.pl -h2 getopt-test.pl --history getopt-test.pl --history 2 The second problem is that ":+" does not increment the value. For example, none of the following commands set the value of $VERBOSITY: getopt-test.pl -v getopt-test.pl -vvvv getopt-test.pl -v3 getopt-test.pl --verbose getopt-test.pl --verbose 2 Extracts from the documentation of Getopt::Long: : number [ desttype ] Like :i, but if the value is omitted, the number will be assigned. : + [ desttype ] Like :i, but if the value is omitted, the current value for the option will be incremented. If this bug is in the upstream version of Getopt::Long::Descriptive and cannot be fixed, then debian should revert to packaging Getopt::Long. -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_IE.utf8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages libgetopt-long-descriptive-perl depends on: ii libio-stringy-perl 2.111-2 ii libparams-validate-perl 1.26-1 ii libsub-exporter-perl 0.986-1 ii perl 5.24.1-2 libgetopt-long-descriptive-perl recommends no packages. libgetopt-long-descriptive-perl suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: perl Source-Version: 5.26.0-2 We believe that the bug you reported is fixed in the latest version of perl, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Niko Tyni <[email protected]> (supplier of updated perl 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sun, 25 Jun 2017 22:46:11 +0300 Source: perl Binary: perl-base perl-doc perl-debug libperl5.26 libperl-dev perl-modules-5.26 perl Architecture: source Version: 5.26.0-2 Distribution: experimental Urgency: medium Maintainer: Niko Tyni <[email protected]> Changed-By: Niko Tyni <[email protected]> Description: libperl-dev - Perl library: development files libperl5.26 - shared Perl library perl - Larry Wall's Practical Extraction and Report Language perl-base - minimal Perl system perl-debug - debug-enabled Perl interpreter perl-doc - Perl documentation perl-modules-5.26 - Core Perl modules Closes: 855532 864544 864782 865894 Changes: perl (5.26.0-2) experimental; urgency=medium . * Update Breaks/Replaces versions for libmodule-corelist-perl. * No longer configure with -Dusesitecustomize, unnecessary with the 5.26.0-1 changes. * Synchronize with 5.24.1-4 from unstable: + Update the kernel versions in $Config{myuname} et al. + Backport various Getopt-Long fixes from upstream 2.50..2.51. (Closes: #855532, #864544) + Backport upstream patch fixing regexp "Malformed UTF-8 character" crashes. (Closes: #864782) * Backport upstream Test-Simple patch unbreaking the libapache2-authcookie-perl test suite. (Closes: #865894) * Refresh cross build support files with 5.26.0-1 results. Checksums-Sha1: 2d11a47cdb65a79f835f06401c6fbd51451500dd 2344 perl_5.26.0-2.dsc 453a0c6b2aca6a45b89e2e639a7dbcb2951164e0 156112 perl_5.26.0-2.debian.tar.xz 27f0c38441d84fee6f66effd6e0262c2b012f491 4760 perl_5.26.0-2_source.buildinfo Checksums-Sha256: 555ac8c34555578ddf7ef6e6e666accab7a0a3df70f47fc8198d73e3378ca561 2344 perl_5.26.0-2.dsc 9490b2c2240833ff00ea45267506cf833ec59e6a56857bc1c7007ad2febd4785 156112 perl_5.26.0-2.debian.tar.xz 813fa0215c8197d74ecc47257ae4cf7594a49c144a427fbf9bc1adbee8e36d1f 4760 perl_5.26.0-2_source.buildinfo Files: 81ba5f17d0e37cd40b8c1524796f8a04 2344 perl standard perl_5.26.0-2.dsc f842a23899a94ee27050872351e6ba01 156112 perl standard perl_5.26.0-2.debian.tar.xz 3d8ee90196755d3ae8bba1880ab45180 4760 perl standard perl_5.26.0-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEdqKOQsmBHZHoj7peLsD/s7cwGx8FAllQIgkACgkQLsD/s7cw Gx9M/Q//XecD+l3X9T2kdDcubZ/ax9vj7t5mud0WCL0y93vASKIx7gbXAY5zD2Ku clwU0Gmzwp2cNg1Z8nMRSTV1bRv56k3pNH1081gojM5sbe/WUUTueJ66vHT7sJWF UDZFhl2kZP4Q6QI+5SAPqa33eIfzQk4nVRjAjY4jVO4S/VHzBnfKGWeJ6ww1UzYn HOE2Yjli2Rdzx0BsX1TuK9+nuMzPTrQXujZ3P6l8BcmZq1ATx2SUuKQdu05062Vn FGELgYzsxWc6tDYolI1eL4G3zPkIlrOqJefxVlBhPkp3xAWGjPjFHnFvP3FwgIZw kFoZl56ukjxD0XtwPdXkOcOtMT0u7brzIQT3eeO655ITp86Fn2KCQWMZlZXpffps O2K70apyom39etQ1MTC9GvQNPD5IKSuSHeAuYpQ4eN+Ti0N2YEjqfEFQ9M60idCV yonp+zY4c1fY2ON0npZHuzzydFly+wWfgKEKUSnl/9OsIeOjRAH/WDahfKXk+P/s JO1QcT5J66R5eKhX+KeqYHp8oYgHlFiCu6qLUro4l+KDtVuCOUSn2ktOSC9N54kl I5SknaBlaK1/u6yVAQS3pxqKV0ZcjyrwIL7glZDTsjHbmVZiFkVP/LNSejqfOPbZ C+yyHZVj+RQNMSapLushyF3dW5JjsNbPMfSMNs0LvMkVLIYUMS8= =l8NO -----END PGP SIGNATURE-----
--- End Message ---

