Your message dated Mon, 02 May 2011 10:33:36 +0000
with message-id <e1qgqrc-0006uz...@franck.debian.org>
and subject line Bug#581411: fixed in pperl 0.25-5.1
has caused the Debian Bug report #581411,
regarding pperl: FTBFS with Perl 5.12.0: Use of "goto" to jump into a construct
is deprecated
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.)
--
581411: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581411
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pperl
Version: 0.25-5
Severity: important
User: debian-p...@lists.debian.org
Usertags: perl-5.12-transition
This package fails to build on amd64 with perl_5.12.0-2 from experimental:
# Test 6 got: "Use of \"goto\" to jump into a construct is deprecated at
/home/niko/tmp/tt/pperl-0.25/sockets/pperlNrZKqj line 53.\n" (t/06exit_die.t at
line 18)
# Expected: ""
# t/06exit_die.t line 18 is: ok($out, "");
# Test 8 got: "foo at t/spammy.plx line 7.\nUse of \"goto\" to jump into a
construct is deprecated at /home/niko/tmp/tt/pperl-0.25/sockets/pperlNrZKqj
line 53.\n" (t/06exit_die.t at line 22)
# Expected: "foo at t/spammy.plx line 7.\n"
# t/06exit_die.t line 22 is: ok($out, "foo at t/spammy.plx line 7.\n");
t/06exit_die.t .......
Failed 2/8 subtests
[...]
Test Summary Report
-------------------
t/06exit_die.t (Wstat: 0 Tests: 8 Failed: 2)
Failed tests: 6, 8
t/09taint.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test: 1
t/10tie.t (Wstat: 0 Tests: 10 Failed: 10)
Failed tests: 1-10
Files=21, Tests=294, 10 wallclock secs ( 0.12 usr 0.02 sys + 2.42 cusr
0.36 csys = 2.92 CPU)
Result: FAIL
Failed 3/21 test programs. 13/294 subtests failed.
The attached patch works around this by disabling the new deprecation message.
The package builds fine for me with this.
Obviously this is just a bandaid and the real fix is to restructure the code.
Hope it helps a bit, at least it points out the problem locations.
--
Niko Tyni nt...@debian.org
>From c963b08dcbe1c15fc30cee7494b68cd82c45a8f5 Mon Sep 17 00:00:00 2001
From: Niko Tyni <nt...@debian.org>
Date: Wed, 12 May 2010 21:45:01 +0300
Subject: [PATCH] Disable deprecation warnings as a workaround for test failures on Perl 5.12.0
The test suite fails with Perl 5.12.0 due to new deprecation messages:
# Test 6 got: "Use of \"goto\" to jump into a construct is deprecated at /home/niko/tmp/tt/pperl-0.25/sockets/pperlNrZKqj line 53.\n" (t/06exit_die.t at line 18)
Fixing these requires code restructuring, but a temporary workaround
is to disable the messages for now.
---
pperl.h.header | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/pperl.h.header b/pperl.h.header
index fce0573..492f775 100644
--- a/pperl.h.header
+++ b/pperl.h.header
@@ -49,7 +49,9 @@ BEGIN {
exit($retval);
}
$exit_code = $retval;
+{ no warnings 'deprecated';
goto __PPerl_exit;
+}
};
*CORE::GLOBAL::fork = sub {
@@ -74,7 +76,9 @@ BEGIN {
}
my $code = system(@_);
$exit_code = $code >> 8;
+{ no warnings 'deprecated';
goto __PPerl_exit;
+}
};
}
@@ -506,7 +510,9 @@ eval {
#### Your Code Here ####
};
+{ no warnings 'deprecated';
goto ____PPerlBackAgain;
+}
BEGIN {
log_error("finding open filehandles ($PPERL::NO_CLEANUP)\n");
--
1.7.1
--- End Message ---
--- Begin Message ---
Source: pperl
Source-Version: 0.25-5.1
We believe that the bug you reported is fixed in the latest version of
pperl, which is due to be installed in the Debian FTP archive:
pperl_0.25-5.1.diff.gz
to main/p/pperl/pperl_0.25-5.1.diff.gz
pperl_0.25-5.1.dsc
to main/p/pperl/pperl_0.25-5.1.dsc
pperl_0.25-5.1_i386.deb
to main/p/pperl/pperl_0.25-5.1_i386.deb
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 581...@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 pperl 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...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 01 May 2011 15:02:30 +0100
Source: pperl
Binary: pperl
Architecture: source i386
Version: 0.25-5.1
Distribution: unstable
Urgency: low
Maintainer: Florian Weimer <f...@deneb.enyo.de>
Changed-By: Dominic Hargreaves <d...@earth.li>
Description:
pperl - Make Perl scripts persistent in memory
Closes: 581411
Changes:
pperl (0.25-5.1) unstable; urgency=low
.
* Non-maintainer upload.
* Apply patch from Niko Tyni to fix FTBFS on perl 5.12 (disables
deprecation warnings). Closes: #581411
Checksums-Sha1:
286f53d660bc6867ffd5e60ddcc77b063b3de84a 954 pperl_0.25-5.1.dsc
d378efef0ca5101ab5131ebca2ed98cb5f887e08 7230 pperl_0.25-5.1.diff.gz
9e42a70e98439cf55a71ef18c75b37363e2a8f9f 27664 pperl_0.25-5.1_i386.deb
Checksums-Sha256:
3c6a12000608b5d276a30b6286a09aec021f51b09819443583478756c42857c6 954
pperl_0.25-5.1.dsc
bd0b84963c02c307d7ae97bad632df12d5073d9893d38c00a0474c1a63f7dc6c 7230
pperl_0.25-5.1.diff.gz
0400354f0f86ad5d12c6783a24684a77259b2da788c3aa80345a24d5bfa7d278 27664
pperl_0.25-5.1_i386.deb
Files:
f4d2fe1325c9cf098f5e8a90c919823d 954 perl optional pperl_0.25-5.1.dsc
fdf425810f8dae9ef7a1fddbcb49dcec 7230 perl optional pperl_0.25-5.1.diff.gz
73011e1e7dea6d3b214f521d4c16bbb2 27664 perl optional pperl_0.25-5.1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iD8DBQFNvWocYzuFKFF44qURAgLHAKC7D1SbR1FW1RYlHXLQgtfliZylfgCfcrVC
SbU0e9YW7///s8Aw59emNIY=
=TG3Q
-----END PGP SIGNATURE-----
--- End Message ---