Skip Menu |

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

Report information
The Basics
Id: 117069
Status: rejected
Priority: 0/
Queue: Devel-CallParser

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

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



From: gregoa [...] cpan.org
Subject: libdevel-callparser-perl: depends on libdata-alias-perl, broken with Perl 5.24
We have the following bug reported to the Debian package of Devel-CallParser (https://bugs.debian.org/834799): It doesn't seem to be a bug in the packaging, so you may want to take a look. Thanks! (Data::Alias is only optionally used in a test, but still …) ------8<-----------8<-----------8<-----------8<-----------8<----- Package: libdevel-callparser-perl Version: 0.002-2 Severity: important User: debian-perl@lists.debian.org Usertags: perl-5.24-transition This package depends and/or build-depends on libdata-alias-perl, which breaks with Perl 5.24 (currently in experimental.) See #825011. It looks like we will have to drop libdata-alias-perl from stretch to get Perl 5.24 in, so please look at dropping the dependency one way or another. In some cases the 'refaliasing' feature in Perl >= 5.22 may be a replacement; quoting Data::Alias documentation: Perl 5.22 added some support for aliasing to the Perl core. It has a different syntax, and a different set of operations, from that supplied by this module; see "Assigning to References" in perlref. The core's aliasing facilities are implemented more robustly than this module and are better supported. If you can rely on having a sufficiently recent Perl version, you should prefer to use the core facility rather than use this module. If you are already using this module and are now using a sufficiently recent Perl, you should attempt to migrate to the core facility. -- Niko Tyni ntyni@debian.org ------8<-----------8<-----------8<-----------8<-----------8<----- Thanks for considering, gregor herrmann, Debian Perl Group
Subject: Re: [rt.cpan.org #117069] libdevel-callparser-perl: depends on libdata-alias-perl, broken with Perl 5.24
Date: Fri, 19 Aug 2016 18:19:02 +0100
To: gregor herrmann via RT <bug-Devel-CallParser [...] rt.cpan.org>
From: Zefram <zefram [...] fysh.org>
gregor herrmann via RT wrote: Show quoted text
>It doesn't seem to be a bug in the packaging, so you may want to take >a look. Thanks!
It is a bug in the Debian packaging. Devel::CallParser doesn't depend on Data::Alias at all, so should be unaffected by the unavailability of Data::Alias. Note that META.json et al do not declare any need to have Data::Alias installed. They do declare an incompatibility with very old versions of Data::Alias; that is not to be confused with a requirement to have a newer Data::Alias. Not having Data::Alias installed at all is absolutely fine for Devel::CallParser. Show quoted text
>In some cases the 'refaliasing' feature in Perl >= 5.22 may be a >replacement; quoting Data::Alias documentation:
Yes, I recall writing the quoted paragraph. The core refaliasing is likely to be sufficient substitute for a module that actually uses Data::Alias (if it can handle the Perl version requirement). Devel::CallParser does not use it, having no call for aliasing at all. Devel::CallParser only invokes Data::Alias, optionally, in a test, to test that Devel::CallParser and Data::Alias successfully coexist. The test is specifically about the Data::Alias module, which does some hairy compile-time stuff that carries a significant risk of treading on other modules' toes. The test is not about aliasing. The core refaliasing feature is not a substitute here; it has none of the issues of Data::Alias's implementation, and so a test of coexistence with core refaliasing would say nothing about coexistence with Data::Alias. Note that Data::Alias's test suite reciprocally has the same test. The intent is that the coexistence gets tested no matter which order the modules are installed in. Thus it loads Devel::CallParser for the test, despite Data::Alias not using Devel::CallParser at all. You'd better not make a habit of mistaking this sort of usage for a dependency: it would result in a circular dependency between these two modules. -zefram
Subject: Re: [rt.cpan.org #117069] libdevel-callparser-perl: depends on libdata-alias-perl, broken with Perl 5.24
Date: Fri, 19 Aug 2016 19:42:32 +0200
To: Zefram via RT <bug-Devel-CallParser [...] rt.cpan.org>
From: gregor herrmann <gregoa [...] debian.org>
On Fri, 19 Aug 2016 13:19:23 -0400, Zefram via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=117069 > > > gregor herrmann via RT wrote:
> >It doesn't seem to be a bug in the packaging, so you may want to take > >a look. Thanks!
> It is a bug in the Debian packaging. Devel::CallParser doesn't depend > on Data::Alias at all, so should be unaffected by the unavailability of > Data::Alias.
True, this default wording was misleading in this case, sorry. I already removed the build-dependency on libdata-alias-perl as, like you say, it's only optionally used in a test. The question might be if this optional test makes sense in the future, if Data::Alias doesn't work with Perl 5.24, but that's of course up to you. Cheers, gregor -- .''`. Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Arlo Guthrie: Alice's Restaurant
Download signature.asc
application/pgp-signature 949b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #117069] libdevel-callparser-perl: depends on libdata-alias-perl, broken with Perl 5.24
Date: Fri, 19 Aug 2016 18:48:28 +0100
To: gregor herrmann via RT <bug-Devel-CallParser [...] rt.cpan.org>
From: Zefram <zefram [...] fysh.org>
gregor herrmann via RT wrote: Show quoted text
>The question might be if this optional test makes sense in the >future, if Data::Alias doesn't work with Perl 5.24, but that's of >course up to you.
Data::Alias may be updated in the future, and Devel::CallParser continues to support pre-5.24 Perls. -zefram