Skip Menu |

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

Report information
The Basics
Id: 120425
Status: resolved
Priority: 0/
Queue: Test-Spelling

People
Owner: cwhitener [...] gmail.com
Requestors: KENTNL [...] cpan.org
Cc: PLICEASE [...] cpan.org
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-Spelling-0.20 ... 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 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
Configuring Test-Spelling failed.

-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
From: ppisar [...] redhat.com
Dne Po 27.úno.2017 12:51:09, KENTNL napsal(a): Show quoted text
> On 5.25.10 with -Ddefault_inc_excludes_dot > > Configuring Test-Spelling-0.20 ... Can't locate inc/Module/Install.pm
A fix is attached. Another solution is not to use inc::Module::Install at all.
Subject: Test-Spelling-0.20-Fix-building-on-Perl-without-.-in-INC.patch
From e36ef1404c6ba79b90db9701b75e600f3c11e206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Thu, 18 May 2017 10:33:13 +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 a127b0a..fc4d12f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,3 +1,4 @@ +BEGIN { push @INC, '.'; } use inc::Module::Install; use Module::Install::GithubMeta; use Module::Install::ManifestSkip; -- 2.9.4
Hi Everyone, I have released a trial version today that should take care of the issue. Instead of using inc::Module::Install, it will be using ExtUtils::MakeMaker created by Dist::Zilla. The trial release out there now makes no other changes other than to the build and the process to create the build. Once that tests well with cpantesters, I'll cut a real release that should resolve this problem. Thanks! Chase
Hi Everyone, Today's release of 0.22 should correct this issue. While I don't expect issues with the build, I am going to hold off for a short time before doing any actual dist work while this gets thoroughly tested in the wild. Thanks, Chase