Skip Menu |

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

Report information
The Basics
Id: 121704
Status: new
Priority: 0/
Queue: Test-Script-Run

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

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



Subject: Makefile.PL fails on Perl without "." in @INC
Perl 5.26.0 removes "." from @INC and Makefile.PL fails: $ perl Makefile.PL Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Makefile.PL line 1. BEGIN failed--compilation aborted at Makefile.PL line 1. A fix is attached. Another solution is not using inc::Module::Install or declaring it as a configure-time dependency.
Subject: Test-Script-Run-0.08-Fix-building-on-Perl-without-.-in-INC.patch
From d775d167582eb5a0a8b26d3c0e91144666dd54b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Tue, 16 May 2017 14:13:42 +0200 Subject: [PATCH] Fix building on Perl without "." in @INC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Písař <ppisar@redhat.com> --- Makefile.PL | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.PL b/Makefile.PL index f75a264..23717c4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,3 +1,4 @@ +BEGIN { push @INC, '.'; } use inc::Module::Install; name 'Test-Script-Run'; -- 2.9.4