Skip Menu |

This queue is for tickets about the Class-Trigger CPAN distribution.

Report information
The Basics
Id: 120820
Status: open
Priority: 0/
Queue: Class-Trigger

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

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



Subject: Configuration fails with Perl 5 blead due to no-dot-by-default-in-@INC
In Perl 5.26.0, '.' will no longer be found by default in @INC. Today I attempted to build and test Class-Trigger via 'cpanm' against Perl 5 blead. I got these errors. ##### $ /home/jkeenan/testing/blead/bin/perl -I /home/jkeenan/testing/blead/lib Makefile.PL Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /home/jkeenan/testing/blead/lib /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.11/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.11 /home/jkeenan/testing/blead/lib/perl5/5.25.11/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/5.25.11) at Makefile.PL line 1. BEGIN failed--compilation aborted at Makefile.PL line 1. ##### The patch attached enabled me to configure, build and test this library. Please review. There may be other CPAN libraries for which Class-Trigger is a prerequisite. For CPAN testers to evaluate the 5.26.0-readiness of those libraries, a corrected and CPAN-released version of Class-Trigger will be needed. Thank you very much. Jim Keenan
Subject: Class-Trigger.20170331.diff
--- Makefile.PL.orig 2017-03-31 21:17:38.543106491 -0400 +++ Makefile.PL 2017-03-31 21:17:53.417698786 -0400 @@ -1,3 +1,4 @@ +use lib '.'; use inc::Module::Install; name 'Class-Trigger'; all_from 'lib/Class/Trigger.pm';
This is now broken on 5.26 and above.