Skip Menu |
 

This queue is for tickets about the Data-Visitor CPAN distribution.

Report information
The Basics
Id: 117067
Status: open
Priority: 0/
Queue: Data-Visitor

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: libdata-visitor-perl: depends on libdata-alias-perl, broken with Perl 5.24
Download (untitled) / with headers
text/plain 1.6k
We have the following bug reported to the Debian package of Data-Visitor (https://bugs.debian.org/834796): It doesn't seem to be a bug in the packaging, so you may want to take a look. Thanks! (Data::Alias is optional, still worth mentioning …) ------8<-----------8<-----------8<-----------8<-----------8<----- Package: libdata-visitor-perl Version: 0.30-1 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
Download (untitled) / with headers
text/plain 1.3k
On 2016-08-19 08:28:11, GREGOA wrote: Show quoted text
> We have the following bug reported to the Debian package of > Data-Visitor (https://bugs.debian.org/834796): > > It doesn't seem to be a bug in the packaging, so you may want to take > a look. Thanks!
I think this *is* a bug in the packaging. The CPAN distribution Data-Visitor does not have a dependency on Data::Alias (it is not mentioned in META.json, and dynamic_config is false) -- it is only loaded optionally, to handle weak references. The debian package should not have a hard dependency on it either. We can certainly look at adding this enhancement though: Show quoted text
> 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. >
Subject: Re: [rt.cpan.org #117067] libdata-visitor-perl: depends on libdata-alias-perl, broken with Perl 5.24
Date: Fri, 19 Aug 2016 23:11:28 +0200
To: Karen Etheridge via RT <bug-Data-Visitor [...] rt.cpan.org>
From: gregor herrmann <gregoa [...] debian.org>
Download (untitled) / with headers
text/plain 1.1k
On Fri, 19 Aug 2016 14:19:54 -0400, Karen Etheridge via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=117067 > > > On 2016-08-19 08:28:11, GREGOA wrote:
> > We have the following bug reported to the Debian package of > > Data-Visitor (https://bugs.debian.org/834796): > > > > It doesn't seem to be a bug in the packaging, so you may want to take > > a look. Thanks!
> > I think this *is* a bug in the packaging. The CPAN distribution > Data-Visitor does not have a dependency on Data::Alias (it is not > mentioned in META.json, and dynamic_config is false) -- it is only > loaded optionally, to handle weak references. The debian package > should not have a hard dependency on it either.
It didn't (just a Recommends) and I mentioned that I realize that it's only loaded optionally. Sorry for hiding this note behind the default text template which was indeed misleading in this case. 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: Rolling Stones: Dancing With Mr D
Download signature.asc
application/pgp-signature 949b

Message body not shown because it is not plain text.



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.