Skip Menu |

This queue is for tickets about the libintl-perl CPAN distribution.

Report information
The Basics
Id: 120446
Status: resolved
Priority: 0/
Queue: libintl-perl

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

make[1]: Entering directory '/home/kent/.cpanm/work/1488232535.11722/libintl-perl-1.26/gettext_xs'
"/home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/bin/perl5.25.10" -MExtUtils::Command::MM -e 'cp_nonempty' -- gettext_xs.bs ../blib/arch/auto/Locale/gettext_xs/gettext_xs.bs 644
make[1]: Leaving directory '/home/kent/.cpanm/work/1488232535.11722/libintl-perl-1.26/gettext_xs'
Can't locate MyInstall.pm in @INC (you may need to install the MyInstall 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).



-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
On Mon Feb 27 17:00:32 2017, KENTNL wrote: Show quoted text
> On 5.25.10 with -Ddefault_inc_excludes_dot > > make[1]: Entering directory > '/home/kent/.cpanm/work/1488232535.11722/libintl-perl-1.26/gettext_xs' > "/home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc- > nodot/bin/perl5.25.10" > -MExtUtils::Command::MM -e 'cp_nonempty' -- gettext_xs.bs > ../blib/arch/auto/Locale/gettext_xs/gettext_xs.bs 644 > make[1]: Leaving directory > '/home/kent/.cpanm/work/1488232535.11722/libintl-perl-1.26/gettext_xs' > Can't locate MyInstall.pm in @INC (you may need to install the > MyInstall > 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). > > > > -- > - CPAN kentnl@cpan.org > - Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
I was able to get substantially farther into the configure/build/test/install cycle than the above. I suspect this is mainly due to miyagawa's release of an updated App-cpanminus that works around most of the no-dot-in-default-@INC problems. However, while 'make' succeeded, 'make test' did not. ##### $ /home/jkeenan/testing/blead/bin/prove -I/home/jkeenan/testing/blead/lib -vb ./tests/03language_pp.t ./tests/03language_pp.t .. 1..8 # Running under perl version 5.026000 for linux # Current time local: Tue Apr 4 18:14:02 2017 # Current time GMT: Tue Apr 4 22:14:02 2017 # Using Test.pm version 1.30 ok 1 ok 2 ok 3 ok 4 not ok 5 not ok 6 # Test 5 got: "January" (./tests/03language_pp.t at line 75) # Expected: "J\xE4nner" # ./tests/03language_pp.t line 75 is: skip $missing_locale, gettext ('January'), 'J�nner'; # Test 6 got: "February" (./tests/03language_pp.t at line 79) # Expected: "Februar" # ./tests/03language_pp.t line 79 is: skip $missing_locale, gettext ('February'), 'Februar'; # not 'Feber'! ok 7 ok 8 Failed 2/8 subtests Test Summary Report ------------------- ./tests/03language_pp.t (Wstat: 0 Tests: 8 Failed: 2) Failed tests: 5-6 Files=1, Tests=8, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.02 cusr 0.00 csys = 0.03 CPU) Result: FAIL ##### However, when I forked this distro's github repository and tested the fork, all tests PASSed. github is at version 2.00; CPAN is at version 1.26. I therefore recommend that the libintl maintainers release version 2.00 to CPAN at their earliest opportunity. Quite a few other libraries have dependencies on Locale::Textdomain, in particular. They will not work on perl-5.26.0 until this distribution does. Thank you very much. Jim Keenan
From: ppisar [...] redhat.com
Dne Po 27.úno.2017 17:00:32, KENTNL napsal(a): Show quoted text
> '/home/kent/.cpanm/work/1488232535.11722/libintl-perl-1.26/gettext_xs' > Can't locate MyInstall.pm in @INC (you may need to install the
A fix is attached.
Subject: libintl-perl-1.26-Fix-building-on-Perl-without-.-in-INC.patch
From 70ca3b6f3e6b02bec419e944a937fd1b19b0decc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Mon, 15 May 2017 14:26:38 +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 CPAN RT#120446 Signed-off-by: Petr Písař <ppisar@redhat.com> --- Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.PL b/Makefile.PL index 898040d..5b25425 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -182,7 +182,7 @@ sub tools_other my $fragment = $self->SUPER::tools_other (@_); $fragment =~ s/^MOD_INSTALL\s*=\s*(.*?)-MExtUtils::Install - /MOD_INSTALL =$1-MMyInstall/msx; + /MOD_INSTALL =$1-I. -MMyInstall/msx; return $fragment; } -- 2.9.4
fixed in 1.27