Skip Menu |

This queue is for tickets about the Test-utf8 CPAN distribution.

Report information
The Basics
Id: 120706
Status: open
Priority: 0/
Queue: Test-utf8

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
KENTNL [...] cpan.org
PLICEASE [...] cpan.org
Cc:
AdminCc:

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



Subject: install fails on 5.25.11
install fails on 5.25.11 because '.' is no longer in @INC by default: % perl Makefile.PL Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /home/ollisg/.perlbrew/libs/perl-5.25.11@dev/lib/perl5/x86_64-linux-thread-multi /home/ollisg/.perlbrew/libs/perl-5.25.11@dev/lib/perl5 /home/ollisg/perl5/perlbrew/perls/perl-5.25.11/lib/site_perl/5.25.11/x86_64-linux-thread-multi /home/ollisg/perl5/perlbrew/perls/perl-5.25.11/lib/site_perl/5.25.11 /home/ollisg/perl5/perlbrew/perls/perl-5.25.11/lib/5.25.11/x86_64-linux-thread-multi /home/ollisg/perl5/perlbrew/perls/perl-5.25.11/lib/5.25.11) at Makefile.PL line 1. easiest fix is to add this to the top of your Makefile.PL: use lib '.';
Subject: install fails on 5.25.11 due to @INC
This fixes things.
Subject: utf8.patch.txt
diff --git a/Makefile.PL b/Makefile.PL index e2a0095b6..4f5a22e10 100644 --- a/modules/Test-utf8/Test-utf8/Makefile.PL +++ b/modules/Test-utf8/Test-utf8/Makefile.PL @@ -1,3 +1,5 @@ +BEGIN { push @INC, '.' unless $INC[-1] eq '.' } + use inc::Module::Install; name 'Test-utf8';
On 2017-03-23 03:18:00, PLICEASE wrote: Show quoted text
> install fails on 5.25.11 because '.' is no longer in @INC by default:
This continues to be a problem. I recommend moving away from Module::Install entirely, as it has other issues on modern perls (such as not generating a META.json file and therefore build and test prerequisites are mixed together).