Skip Menu |

This queue is for tickets about the Module-Mask-Deps CPAN distribution.

Report information
The Basics
Id: 77851
Status: open
Priority: 0/
Queue: Module-Mask-Deps

People
Owner: matt.lawrence [...] virgin.net
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



Subject: 5.14 Safe.pm when only 5.005 demanded
Date: Sat, 16 Jun 2012 09:52:51 +1000
To: bug-Module-Mask-Deps [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
With Module::Mask::Deps 0.07 and recent debian i386 perl 5.14.2 and the META.yml below, running perl -MModule::Mask::Deps -e 'require Safe' gets an error Can't locate utf8_heavy.pl in @INC where I hoped Module::Mask::Deps would recognise that utf8_heavy.pl is some sort of internal part of the utf implementation in the running perl, and therefore allowed, irrespective of the fact I only demand perl 5.005 in the META.yml.

Message body is not shown because sender requested not to inline it.

On Fri Jun 15 19:54:15 2012, user42@zip.com.au wrote: Show quoted text
> With Module::Mask::Deps 0.07 and recent debian i386 perl 5.14.2 and the > META.yml below, running > > perl -MModule::Mask::Deps -e 'require Safe' > > gets an error > > Can't locate utf8_heavy.pl in @INC > > where I hoped Module::Mask::Deps would recognise that utf8_heavy.pl is > some sort of internal part of the utf implementation in the running > perl, and therefore allowed, irrespective of the fact I only demand perl > 5.005 in the META.yml. > >
I do try to cover those kinds of cases but obviously something is going wrong there. I'd be interested to see the stack trace for this. Generally, whitelisted modules should be able to require whatever they like, at any level of remove. With any luck I'll find some time to investigate this properly soon. Patches welcome! :-)
Subject: Re: [rt.cpan.org #77851] 5.14 Safe.pm when only 5.005 demanded
Date: Tue, 19 Jun 2012 11:09:29 +1000
To: bug-Module-Mask-Deps [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
"Matthew Lawrence via RT" <bug-Module-Mask-Deps@rt.cpan.org> writes: Show quoted text
> > I'd be interested to see the stack trace for this.
Hmm. Looks like it's all visible, if it can be interpreted ... Can't locate utf8_heavy.pl in @INC (@INC contains: Module::Mask=HASH(0xa12f9a0) Module::Mask::Deps=HASH(0xa0a1fdc) /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl/5.14/utf8.pm line 17. at /usr/share/perl5/Module/Mask.pm line 237 Module::Mask::INC('Module::Mask::Deps=HASH(0xa0a1fdc)', 'utf8_heavy.pl') called at /usr/share/perl5/Module/Mask/Deps.pm line 237 Module::Mask::Deps::INC('Module::Mask::Deps=HASH(0xa0a1fdc)', 'utf8_heavy.pl') called at /usr/share/perl/5.14/utf8.pm line 17 utf8::AUTOLOAD('utf8', 'ToFold', undef, 4, 0) called at /usr/share/perl/5.14/Safe.pm line 69 require Safe.pm called at -e line 1 -- Like grandpa's axe, three new heads and two new handles.
On Mon Jun 18 21:09:38 2012, user42@zip.com.au wrote: Show quoted text
> "Matthew Lawrence via RT" <bug-Module-Mask-Deps@rt.cpan.org> writes:
> > > > I'd be interested to see the stack trace for this.
> > Hmm. Looks like it's all visible, if it can be interpreted ... >
I've lost track of this. Was it broken in 0.07 or 0.06? I introduced some changes to dependency discovery in 0.07 but I can't remember whether I did because of this ticket or for some other reason.
Subject: Re: [rt.cpan.org #77851] 5.14 Safe.pm when only 5.005 demanded
Date: Wed, 10 Oct 2012 09:18:08 +1100
To: bug-Module-Mask-Deps [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
"Matthew Lawrence via RT" <bug-Module-Mask-Deps@rt.cpan.org> writes: Show quoted text
> > I've lost track of this. Was it broken in 0.07 or 0.06?
Both :). Show quoted text
> I introduced some changes to dependency discovery in 0.07 but I can't > remember whether I did because of this ticket or for some other reason.
Still seems bad for me. I struck it the other day too with something I think was ordinary modules, not Safe.pm. I haven't tried to tease out a test case. -- The sigfile covers series. To the tune of "I Fought the Law": I drank a slab, and the slab won.
On Tue Oct 09 18:19:23 2012, user42@zip.com.au wrote: Show quoted text
> "Matthew Lawrence via RT" <bug-Module-Mask-Deps@rt.cpan.org> writes:
> > > > I've lost track of this. Was it broken in 0.07 or 0.06?
> > Both :).
Right. Yes. You mentioned the version number explicitly in the initial report.