Your message dated Tue, 07 Jun 2016 22:32:14 +0000
with message-id <e1bapxi-0005ug...@franck.debian.org>
and subject line Bug#826563: fixed in libdevel-declare-perl 0.006017-1+deb8u1
has caused the Debian Bug report #826563,
regarding perl: Apparent regression in TryCatch with stable update
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.)
--
826563: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826563
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: perl
Version: 5.20.2-3+deb8u5
Severity: serious
Control: affects -1 libtrycatch-perl
Hi!
We've noticed some code using the TryCatch module (libtrycatch-perl
package) that stopped working after the stable update. Setting as
serious as this looks like a regression for code that used to work,
and for which I don't see anything supposedly wrong with it (?), which
follows the documented pattern. Here's a small reproducer showing the
problem:
,---
$ cat trycatch.pl
#!/usr/bin/perl
use strict;
use warnings;
use TryCatch;
try {
die "oops\n";
}
catch($e) {
print "catch: $e";
}
1;
$ /trycatch.pl
catch: oops
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libperl-dev libperl5.20 perl perl-base perl-modules
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/8580 kB of archives.
After this operation, 22.5 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 28659 files and directories currently installed.)
Preparing to unpack .../libperl5.20_5.20.2-3+deb8u5_amd64.deb ...
Unpacking libperl5.20 (5.20.2-3+deb8u5) over (5.20.2-3+deb8u4) ...
Preparing to unpack .../libperl-dev_5.20.2-3+deb8u5_amd64.deb ...
Unpacking libperl-dev (5.20.2-3+deb8u5) over (5.20.2-3+deb8u4) ...
Preparing to unpack .../perl_5.20.2-3+deb8u5_amd64.deb ...
Unpacking perl (5.20.2-3+deb8u5) over (5.20.2-3+deb8u4) ...
Preparing to unpack .../perl-base_5.20.2-3+deb8u5_amd64.deb ...
Unpacking perl-base (5.20.2-3+deb8u5) over (5.20.2-3+deb8u4) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up perl-base (5.20.2-3+deb8u5) ...
(Reading database ... 28660 files and directories currently installed.)
Preparing to unpack .../perl-modules_5.20.2-3+deb8u5_all.deb ...
Unpacking perl-modules (5.20.2-3+deb8u5) over (5.20.2-3+deb8u4) ...
Setting up libperl5.20 (5.20.2-3+deb8u5) ...
Setting up perl-modules (5.20.2-3+deb8u5) ...
Setting up perl (5.20.2-3+deb8u5) ...
Setting up libperl-dev (5.20.2-3+deb8u5) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...
$ ./trycatch.pl
Global symbol "$e" requires explicit package name at ./trycatch.pl line 11.
syntax error at ./trycatch.pl line 11, near ") {"
Execution of ./trycatch.pl aborted due to compilation errors.
# Modifying the code by making the catch use cuddled braces, fixes the
# problem though
$ vi trycatch.pl
$ cat trycatch.pl
#!/usr/bin/perl
use strict;
use warnings;
use TryCatch;
try {
die "oops\n";
} catch($e) {
print "catch: $e";
}
1;
$ ./trycatch.pl
catch: oops
# It seems that removing the '\n' in the die also makes a difference.
$ cat trycatch.pl
#!/usr/bin/perl
use strict;
use warnings;
use TryCatch;
try {
die "oops";
}
catch($e) {
print "catch: $e";
}
1;
$ ./trycatch.pl
catch: oops at ./trycatch.pl line 7.
`---
Thanks,
Guillem
--- End Message ---
--- Begin Message ---
Source: libdevel-declare-perl
Source-Version: 0.006017-1+deb8u1
We believe that the bug you reported is fixed in the latest version of
libdevel-declare-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 826...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dominic Hargreaves <d...@earth.li> (supplier of updated libdevel-declare-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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 07 Jun 2016 00:30:47 +0100
Source: libdevel-declare-perl
Binary: libdevel-declare-perl
Architecture: amd64 source
Version: 0.006017-1+deb8u1
Distribution: jessie
Urgency: high
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: Dominic Hargreaves <d...@earth.li>
Closes: 826563
Description:
libdevel-declare-perl - module to add new syntax to Perl
Changes:
libdevel-declare-perl (0.006017-1+deb8u1) jessie; urgency=high
.
* Team upload.
* Fix breakage caused by change in perl stable update (Closes: #826563)
Checksums-Sha1:
d505be877d8f8dfa65fc2ae97a13726c3dba21d6 2480
libdevel-declare-perl_0.006017-1+deb8u1.dsc
1f26bf094f9a623363770a7651d512b110eac265 43681
libdevel-declare-perl_0.006017.orig.tar.gz
d5b7a7160bfaa769a026fba240ab167cda38b927 4284
libdevel-declare-perl_0.006017-1+deb8u1.debian.tar.xz
5375276963012e3e69d9e3d1e409f07e04414299 36602
libdevel-declare-perl_0.006017-1+deb8u1_amd64.deb
Checksums-Sha256:
52f4004bee6784f33bbcdf0a313114c7c245113f7004d4e61aaed787e420f57d 2480
libdevel-declare-perl_0.006017-1+deb8u1.dsc
aabba8979de6e5c471eb06ec644d6cc9bb0f8b709078bf9e3328c272449acac0 43681
libdevel-declare-perl_0.006017.orig.tar.gz
f4ae352c4992c3f84c04d6e42c8a84e5c29303e637d941138d7f17a9edc517f2 4284
libdevel-declare-perl_0.006017-1+deb8u1.debian.tar.xz
3b0e29f133ed2d992f59cb07baee5e75bdcaff123cc9b9adbcbbd63461b20441 36602
libdevel-declare-perl_0.006017-1+deb8u1_amd64.deb
Files:
0f7d869902793b036cbf0533ec9594c1 2480 perl optional
libdevel-declare-perl_0.006017-1+deb8u1.dsc
a9033b30c3c43cca3df71de4c9869c4c 43681 perl optional
libdevel-declare-perl_0.006017.orig.tar.gz
6739d4bc6ca8e644372afc18f9d443b4 4284 perl optional
libdevel-declare-perl_0.006017-1+deb8u1.debian.tar.xz
5b40a29b404710c4cf95b0a93871422c 36602 perl optional
libdevel-declare-perl_0.006017-1+deb8u1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXVgwqAAoJEMAFfnFNaU+yTYsQAMDQ/G5uKzuLEZSpBu5Ph0ZQ
tFanKEB/rpEyY44c9ac5ocagIbpmgfKW6ilBPyKkvZw0Zw8hKB9kpFp/nEl/dufm
Hmnu4pbcZbsYbDFRaKZSaxACfJ7eJ1tGN4LwD0qNs+2bDXOO/X5h0/9vKN/2Xtyg
Pdb+cpP8a30twEjlGRuKsbTnm7jKfdKRoRfMQwB8YHnVH2iGEIGOKuJLgQPCMiFQ
+CGM2CjlH0JBISQ+jqTYqtoVFSBQawWLkV1nOLQMUUHU+zSdhwF5DQlWQGKqibUQ
qeupbj9176ELsvgDmUhpnCTdiSYrYQMFoyXWREIr3l+xQCFLhfo8dcumnUJ+ka0L
AaFPumX2uxM3GuHcBtMfFdjX0QgUW5MUOYnmDnKnXktkYHs2qiLZrJZfl7+aMpFi
2h7PSz/QB6sGFlBsaivbkL9J65zt8SJ87Yiz8zuw8GP2A5LlH4deBEftQCZS7YD1
+J07/kkcQirkNAPMUf4tIe3j4wUzMREE5TWl8mPxwpN2KKXVRZaxJxypVERj/S2n
qXlbFm/+IeCu06v4ntEAhiy+CAe5RJ2l9GuEfnX+vcUZOLXUDJD2655B58KlfdZY
Ovu3ceLkKWkZdmQK0JozCIk9FbN5I3v3McvLVGYmuSMF/dBupPI7BdnW7WaNoed7
OIlF20BPUiu7uCgGZFnM
=vReq
-----END PGP SIGNATURE-----
--- End Message ---