Skip Menu |

This queue is for tickets about the Array-Diff CPAN distribution.

Report information
The Basics
Id: 120416
Status: resolved
Worked: 2 min
Priority: 0/
Queue: Array-Diff

People
Owner: NEILB [...] cpan.org
Requestors: KENTNL [...] cpan.org
NHORNE [...] cpan.org
Cc:
AdminCc:

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



Subject: Fails install when no '.' in @INC

On 5.25.10 with -Ddefault_inc_excludes_dot

 

Configuring Array-Diff-0.07 ... Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/site_perl/5.25.10/x86_64-linux /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/site_perl/5.25.10 /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/5.25.10/x86_64-linux /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/5.25.10) at Makefile.PL line 3.
BEGIN failed--compilation aborted at Makefile.PL line 3.



-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
 

This patch fixes it: *** ../Array-Diff-0.07-0/Makefile.PL Thu Oct 7 20:00:09 2010 --- ./Makefile.PL Mon Nov 26 11:31:15 2018 *************** *** 1,6 **** --- 1,8 ---- sub auto_set_repository {} + use lib '.'; use inc::Module::Install; + no lib '.'; name 'Array-Diff'; all_from 'lib/Array/Diff.pm';
On 2017-02-27 00:07:36, KENTNL wrote: Show quoted text
> On 5.25.10 with -Ddefault_inc_excludes_dot > > Configuring Array-Diff-0.07 ... Can't locate inc/Module/Install.pm in > @INC (you > may need to install the inc::Module::Install module) (@INC contains: > /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc- > nodot/lib/site_perl/5.25.10/x86_64-linux > /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc- > nodot/lib/site_perl/5.25.10 > /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc- > nodot/lib/5.25.10/x86_64-linux > /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc- > nodot/lib/5.25.10) at > Makefile.PL line 3. > BEGIN failed--compilation aborted at Makefile.PL line 3.
I've started to hit this on travis builds where this is pulled in as a prereq, where PERL_USE_UNSAFE_INC is set to false. Would it be possible to release a fix? either a one line change to "use lib '.'", or a conversion off of Module::Install.. either would get things working again. many thanks!
I'll do a release this weekend. Feel free to nudge me if I forget.
Fixed in 0.08