Skip Menu |

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

Report information
The Basics
Id: 120438
Status: open
Priority: 0/
Queue: Test-YAML-Valid

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

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



Subject: Fails install when no '.' in @INC
On 5.25.10 with -Ddefault_inc_excludes_dot

Configuring Test-YAML-Valid-0.04 ... 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.
Configuring Test-YAML-Valid failed.

-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
From: ppisar [...] redhat.com
Dne Po 27.úno.2017 15:00:47, KENTNL napsal(a): Show quoted text
> On 5.25.10 with -Ddefault_inc_excludes_dot > > Configuring Test-YAML-Valid-0.04 ... Can't locate > inc/Module/Install.pm in @INC
A fix is attached.
Subject: Test-YAML-Valid-0.04-Fix-building-on-Perl-without-.-in-INC.patch
From 7f2fff100ecf0734e967378ce12882de123883e7 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 13:29:54 +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 9a362fa..b11a6f7 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,5 +1,6 @@ use strict; use warnings; +BEGIN { push @INC, '.'; } use inc::Module::Install; name('Test-YAML-Valid'); -- 2.9.4