This queue is for tickets about the File-ShareDir CPAN distribution.

Report information
The Basics
Id:
133918
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
dmacks [...] netspace.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: 00_prereqs.t fails to find bundled File::ShareDir::Install
Date: Fri, 18 Dec 2020 08:10:10 -0500
To: <bug-File-ShareDir@rt.cpan.org>
From: Daniel Macks <dmacks@netspace.org>
Originally filed against fink's file-sharedir-pm (1.118-1 on OS X 10.15, apple's perl-5.18.4): https://github.com/fink/fink-distributions/issues/711 PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t xt/*.t t/00_prereqs.t ..... 1/? # Failed test 'require File::ShareDir::Install;' # at t/00_prereqs.t line 51. # Tried to require 'File::ShareDir::Install'. # Error: Can't locate File/ShareDir/Install.pm in @INC (you may need to install the File::ShareDir::Install module) (@INC contains: /opt/sw/build.build/file-sharedir-pm-1.118-1/File-ShareDir-1.118/blib/lib /opt/sw/build.build/file-sharedir-pm-1.118-1/File-ShareDir-1.118/blib/arch /opt/sw/lib/perl5/5.18.4/darwin-thread-multi-2level /opt/sw/lib/perl5/5.18.4/darwin-thread-multi-2level /opt/sw/lib/perl5/5.18.4 /opt/sw/lib/perl5/darwin-thread-multi-2level /opt/sw/lib/perl5/5.18.4/darwin-thread-multi-2level /opt/sw/lib/perl5/5.18.4 /opt/sw/lib/perl5/darwin-thread-multi-2level /opt/sw/lib/perl5 /opt/sw/lib/perl5/darwin /opt/sw/lib/perl5/5.18.4/darwin-thread-multi-2level /opt/sw/lib/perl5/5.18.4 /opt/sw/lib/perl5/darwin-thread-multi-2level /opt/sw/lib/perl5 /opt/sw/lib/perl5/darwin /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.4 /System/Library/Perl/5.1! 8/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at (eval 52) line 2. # Requirements for File-ShareDir version 1.118 # module | version | wanted | status # - configure / requires ---+----------+---------+--------- # ExtUtils::MakeMaker | 6.66 | 0 | ok # File::ShareDir::Install | n/a | 0.13 | not ok # - configure / recommends -+----------+---------+--------- # inc::latest | 0.4003 | 0.500 | not ok # - runtime / requires -----+----------+---------+--------- # Carp | 1.29 | 0 | ok # Class::Inspector | 1.36 | 1.12 | ok # File::Spec | 3.40 | 0.80 | ok # warnings | 1.18 | 0 | ok # - runtime / recommends ---+----------+---------+--------- # List::MoreUtils | 0.33 | 0.428 | not ok # Params::Util | 1.07 | 1.07 | ok # - test / requires --------+----------+---------+--------- # File::Path | 2.09 | 2.08 | ok # Test::More | 0.98 | 0.90 | ok # - test / recommends ------+----------+---------+--------- # CPAN::Meta | 2.133380 | 2.11044 | ok # --------------------------+----------+---------+--------- # Looks like you failed 1 test of 23. I get the same result on my 10.13 box using Apple's perl-5.18.2 (the stand-alone File::ShareDir::Install module is not installed). In both cases, "." *is* in @INC. Looking at the build-time directory, the only Install.pm is in ./inc/inc_File-ShareDir-Install/File/ShareDir/Install.pm but inc/inc_File-ShareDir-Install is not listed in @INC in the above diagnostic. dan -- Daniel Macks dmacks@netspace.org


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.