Skip Menu |
 

This queue is for tickets about the Devel-Symdump CPAN distribution.

Report information
The Basics
Id: 96688
Status: open
Priority: 0/
Queue: Devel-Symdump

People
Owner: Nobody in particular
Requestors: wyant [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)

Attachments


Subject: Fatal error in t/symdump.t under Perl 5.21.1
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
X-RT-Interface: Web
Message-ID: <rt-4.0.18-28230-1403623317-1100.0-0-0 [...] rt.cpan.org>
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1403623317-28230-2"
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
Content-Length: 691
Download (untitled) / with headers
text/plain 691b
Perl 5.21.1 has made 'defined @array' a fatal error. This causes t/symdump.t to fail. This error is cosmetic in that the problem is in the test suite and not the module itself. I have marked the problem 'unimportant' for this reason, and because it only occurs in a development version of Perl. Presumably this will become more important in a year when 5.22 comes out. The perl5211delta states that 'defined @array' is now fatal, and claims that it has been deprecated since 5.6.1 and has raised warnings since 5.16, though presumably there were not warnings in all cases since the test is silent under 5.20.0. The attached patch to t/symdump.t removes the error by removing the 'defined'.
Subject: Devel-Symdump-t-symdump.patch
MIME-Version: 1.0
Content-Type: application/octet-stream; name="Devel-Symdump-t-symdump.patch"
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline; filename="Devel-Symdump-t-symdump.patch"
Content-Transfer-Encoding: base64
Content-Length: 452
--- t/symdump.old 2013-10-30 02:23:33.000000000 -0400 +++ t/symdump.t 2014-06-24 11:02:40.000000000 -0400 @@ -147,9 +147,9 @@ if ( defined &{ "$pack\::import" } || defined &{ "$pack\::AUTOLOAD" } || - defined @{ "$pack\::ISA" } || - defined @{ "$pack\::EXPORT" } || - defined @{ "$pack\::EXPORT_OK"} + @{ "$pack\::ISA" } || + @{ "$pack\::EXPORT" } || + @{ "$pack\::EXPORT_OK"} ) { push @modules, $pack;
MIME-Version: 1.0
X-Spam-Status: No, score=-3.336 tagged_above=-99.9 required=10 tests=[AWL=0.564, BAYES_00=-1.9, FROM_OUR_RT=-2] autolearn=ham
X-Authentication-Warning: k85.linux.bogus: k set sender to andreas.koenig.7os6VVqR [...] franz.ak.mind.de using -f
In-Reply-To: <rt-4.0.18-28230-1403623318-1574.96688-4-0 [...] rt.cpan.org> (Tom Wyant via's message of "Tue, 24 Jun 2014 11:21:58 -0400")
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-96688 [...] rt.cpan.org> <rt-4.0.18-28230-1403623318-1574.96688-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <877g46yq4z.fsf [...] k85.linux.bogus>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -3.336
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 8BDCB2409BA for <cpan-bug+Devel-Symdump [...] hipster.bestpractical.com>; Tue, 24 Jun 2014 17:06:04 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GQNRHPDu12Yj for <cpan-bug+Devel-Symdump [...] hipster.bestpractical.com>; Tue, 24 Jun 2014 17:05:59 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id A51E82400A9 for <bug-Devel-Symdump [...] rt.cpan.org>; Tue, 24 Jun 2014 17:05:59 -0400 (EDT)
Received: (qmail 3160 invoked by alias); 24 Jun 2014 21:05:58 -0000
Received: from rz1.akoenig.de (HELO rz1.akoenig.de) (83.223.90.65) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 24 Jun 2014 14:05:55 -0700
Received: from franz.ak.mind.de (p5DDB29C2.dip0.t-ipconnect.de [93.219.41.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "franz.ak.mind.de", Issuer "franz.ak.mind.de" (not verified)) by rz1.akoenig.de (Postfix) with ESMTPS id 3CE1020096 for <bug-Devel-Symdump [...] rt.cpan.org>; Tue, 24 Jun 2014 23:05:15 +0200 (CEST)
Received: from k85.linux.bogus (localhost [127.0.0.1]) by k85.linux.bogus (8.14.4/8.14.4/Debian-4) with ESMTP id s5OL5n8S022796 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <bug-Devel-Symdump [...] rt.cpan.org>; Tue, 24 Jun 2014 23:05:49 +0200
Received: (from k [...] localhost) by k85.linux.bogus (8.14.4/8.14.4/Submit) id s5OL5mKp022795; Tue, 24 Jun 2014 23:05:48 +0200
Delivered-To: cpan-bug+Devel-Symdump [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #96688] Fatal error in t/symdump.t under Perl 5.21.1
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
Return-Path: <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+Devel-Symdump [...] hipster.bestpractical.com
X-RT-Mail-Extension: devel-symdump
Date: Tue, 24 Jun 2014 23:05:48 +0200
X-Spam-Level:
To: bug-Devel-Symdump [...] rt.cpan.org
From: Andreas Koenig <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
RT-Message-ID: <rt-4.0.18-14239-1403643965-376.96688-0-0 [...] rt.cpan.org>
Content-Length: 1092
Show quoted text
>>>>> On Tue, 24 Jun 2014 11:21:58 -0400, "Tom Wyant via RT" <bug-Devel-Symdump@rt.cpan.org> said:
Show quoted text
> +++ t/symdump.t 2014-06-24 11:02:40.000000000 -0400 > @@ -147,9 +147,9 @@ > if ( > defined &{ "$pack\::import" } || > defined &{ "$pack\::AUTOLOAD" } || > - defined @{ "$pack\::ISA" } || > - defined @{ "$pack\::EXPORT" } || > - defined @{ "$pack\::EXPORT_OK"} > + @{ "$pack\::ISA" } || > + @{ "$pack\::EXPORT" } || > + @{ "$pack\::EXPORT_OK"} > ) > { > push @modules, $pack;
Thanks, but 1.12 with this fix is released for several days already. cpan[2]> m Devel::Symdump Module id = Devel::Symdump CPAN_USERID ANDK (Andreas J. Koenig <andreas.koenig.7os6vvqr@franz.ak.mind.de>) CPAN_VERSION 2.12 CPAN_FILE A/AN/ANDK/Devel-Symdump-2.12.tar.gz UPLOAD_DATE 2014-06-20 MANPAGE Devel::Symdump - dump symbol names or the symbol table INST_FILE /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.0/165a/lib/site_perl/5.21.0/Devel/Symdump.pm INST_VERSION 2.12 -- andreas
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-14239-1403643965-376.96688-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-96688 [...] rt.cpan.org> <rt-4.0.18-28230-1403623318-1574.96688-4-0 [...] rt.cpan.org> <877g46yq4z.fsf [...] k85.linux.bogus> <rt-4.0.18-14239-1403643965-376.96688-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-17934-1403646323-897.96688-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 72
Thank you very much, and my apologies for reporting on a stale release.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.