Skip Menu |

This queue is for tickets about the Text-VimColor CPAN distribution.

Report information
The Basics
Id: 121756
Status: resolved
Priority: 0/
Queue: Text-VimColor

People
Owner: RWSTAUNER [...] cpan.org
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.26
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/VimCommand.pm in @INC (you may need to install the inc::VimCommand 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 15. BEGIN failed--compilation aborted at Makefile.PL line 15. Fix for Makefile.PL is attached. But because the file is generated, you should have to fix Dist::Zilla::Plugin::MakeMaker.
Subject: Text-VimColor-0.26-Fix-building-on-Perl-without-.-in-INC.patch
From b1d5de04d6cb32216124b3bcbbf107eb9420a128 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 09:22:01 +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 307758c..9459394 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -12,6 +12,7 @@ use warnings; use 5.006; +BEGIN { push @INC, '.'; } use inc::VimCommand; use ExtUtils::MakeMaker; -- 2.9.4
From: ppisar [...] redhat.com
Dne Čt 18.Květen.2017 03:28:09, ppisar napsal(a): Show quoted text
> Fix for Makefile.PL is attached. But because the file is generated, > you should have to fix Dist::Zilla::Plugin::MakeMaker.
Actually the code is located in [Run::AfterBuild] section in ./dist.ini.
Thanks! Should be fixed in v0.28