Skip Menu |

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

Report information
The Basics
Id: 121698
Status: rejected
Priority: 0/
Queue: Text-Smart

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

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



Subject: make fails on Perl without "." in @INC
Perl 5.26.0 removes "." from @INC and make command fails: $ make cp lib/Text/Smart.pm blib/lib/Text/Smart.pm cp lib/Text/Smart/HTML.pm blib/lib/Text/Smart/HTML.pm cp bin/text-smart blib/script/text-smart "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/text-smart Manifying 1 pod document Manifying 2 pod documents "/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" META.yml.PL META.yml "/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" Text-Smart.spec.PL Text-Smart.spec do "lib/Text/Smart.pm" failed, '.' is no longer in @INC; did you mean do "./lib/Text/Smart.pm"? at Text-Smart.spec.PL line 10. lib/Text/Smart.pm: No such file or directory at Text-Smart.spec.PL line 13. make: *** [Makefile:446: Text-Smart.spec] Error 2 A fix is attached.
Subject: Text-Smart-1.0.2-Fix-building-on-Perl-without-.-in-INC.patch
From ef1c44ff957933ac137e2987d4ae288ca74b5fcb 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 11:37: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> --- Text-Smart.spec.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Text-Smart.spec.PL b/Text-Smart.spec.PL index c60c802..ff12645 100644 --- a/Text-Smart.spec.PL +++ b/Text-Smart.spec.PL @@ -7,7 +7,7 @@ use warnings; die unless (scalar @ARGV == 1); -unless (do 'lib/Text/Smart.pm') +unless (do './lib/Text/Smart.pm') { if ($@) { die $@ }; die "lib/Text/Smart.pm: $!"; -- 2.9.4
FYI, I have no done any work on this perl module for almost 10 years and so don't intend to fix this bug. I will shortly retire this module from CPAN, and thus suggest that Fedora does the same.