Skip Menu |

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

Report information
The Basics
Id: 119087
Status: rejected
Priority: 0/
Queue: File-Sharedir-Install

People
Owner: Nobody in particular
Requestors: me [...] eboxr.com
Cc:
AdminCc:

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



Subject: Missing TAP::Harness::Env dependency
Notice this error when installing File::ShareDir::Install on a fresh perl install via perlbrew. TAP::Harness should be added to the list of dependencies. --> Working on File::ShareDir::Install Fetching http://www.cpan.org/authors/id/E/ET/ETHER/File-ShareDir-Install-0.11.tar.gz -> OK Unpacking File-ShareDir-Install-0.11.tar.gz Entering File-ShareDir-Install-0.11 Checking configure dependencies from META.json Checking if you have Module::Build::Tiny 0.034 ... Yes (0.034) Configuring File-ShareDir-Install-0.11 Running Build.PL Creating new 'Build' script for 'File-ShareDir-Install' version '0.11' -> OK Checking dependencies from MYMETA.json ... Checking if you have IO::Dir 0 ... Yes (1.10) Checking if you have strict 0 ... Yes (1.07) Checking if you have warnings 0 ... Yes (1.18) Checking if you have ExtUtils::MakeMaker 7.1101 ... Yes (7.24) Checking if you have Exporter 0 ... Yes (5.68) Checking if you have Carp 0 ... Yes (1.29) Checking if you have Module::Metadata 0 ... Yes (1.000011) Checking if you have File::Spec 0.8 ... Yes (3.40) Checking if you have File::Path 0 ... Yes (2.09) Checking if you have Test::More 0 ... Yes (0.98) Building and testing File-ShareDir-Install-0.11 cp lib/File/ShareDir/Install.pm blib/lib/File/ShareDir/Install.pm Can't locate TAP/Harness/Env.pm in @INC (you may need to install the TAP::Harness::Env module) (@INC contains: ~/perl5/lib/perl5/darwin-thread-multi-2level ~/perl5/lib/perl5 /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.2 /System/Library/Perl/5.18/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 /System/Library/Perl/Extras/5.18/Module/Build/Tiny.pm line 103. -> FAIL Installing File::ShareDir::Install failed. See ~/.cpanm/work/1480568684.29714/build.log for details. Retry with --force to force install it. -> FAIL Installing the dependencies failed: Module 'File::ShareDir::Install' is not installed
More details here: https://github.com/atoomic/snapcast-volume-ui/issues/1 can be reproduced using cpanm File::ShareDir::Install on a fresh perl 5.18 On Thu Dec 01 01:44:34 2016, atoomic wrote: Show quoted text
> Notice this error when installing File::ShareDir::Install on a fresh > perl install via perlbrew. > TAP::Harness should be added to the list of dependencies. > > --> Working on File::ShareDir::Install > Fetching http://www.cpan.org/authors/id/E/ET/ETHER/File-ShareDir- > Install-0.11.tar.gz > -> OK > Unpacking File-ShareDir-Install-0.11.tar.gz > Entering File-ShareDir-Install-0.11 > Checking configure dependencies from META.json > Checking if you have Module::Build::Tiny 0.034 ... Yes (0.034) > Configuring File-ShareDir-Install-0.11 > Running Build.PL > Creating new 'Build' script for 'File-ShareDir-Install' version '0.11' > -> OK > Checking dependencies from MYMETA.json ... > Checking if you have IO::Dir 0 ... Yes (1.10) > Checking if you have strict 0 ... Yes (1.07) > Checking if you have warnings 0 ... Yes (1.18) > Checking if you have ExtUtils::MakeMaker 7.1101 ... Yes (7.24) > Checking if you have Exporter 0 ... Yes (5.68) > Checking if you have Carp 0 ... Yes (1.29) > Checking if you have Module::Metadata 0 ... Yes (1.000011) > Checking if you have File::Spec 0.8 ... Yes (3.40) > Checking if you have File::Path 0 ... Yes (2.09) > Checking if you have Test::More 0 ... Yes (0.98) > Building and testing File-ShareDir-Install-0.11 > cp lib/File/ShareDir/Install.pm blib/lib/File/ShareDir/Install.pm > Can't locate TAP/Harness/Env.pm in @INC (you may need to install the > TAP::Harness::Env module) (@INC contains: ~/perl5/lib/perl5/darwin- > thread-multi-2level ~/perl5/lib/perl5 /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.2 > /System/Library/Perl/5.18/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 > /System/Library/Perl/Extras/5.18/Module/Build/Tiny.pm line 103. > -> FAIL Installing File::ShareDir::Install failed. See > ~/.cpanm/work/1480568684.29714/build.log for details. Retry with > --force to force install it. > -> FAIL Installing the dependencies failed: Module > 'File::ShareDir::Install' is not installed
On 2016-11-30 22:44:34, atoomic wrote: Show quoted text
> Notice this error when installing File::ShareDir::Install on a fresh > perl install via perlbrew. > TAP::Harness should be added to the list of dependencies. > > --> Working on File::ShareDir::Install > Fetching http://www.cpan.org/authors/id/E/ET/ETHER/File-ShareDir- > Install-0.11.tar.gz > -> OK > Unpacking File-ShareDir-Install-0.11.tar.gz > Entering File-ShareDir-Install-0.11 > Checking configure dependencies from META.json > Checking if you have Module::Build::Tiny 0.034 ... Yes (0.034) > Configuring File-ShareDir-Install-0.11 > Running Build.PL > Creating new 'Build' script for 'File-ShareDir-Install' version '0.11' > -> OK > Checking dependencies from MYMETA.json ... > Checking if you have IO::Dir 0 ... Yes (1.10) > Checking if you have strict 0 ... Yes (1.07) > Checking if you have warnings 0 ... Yes (1.18) > Checking if you have ExtUtils::MakeMaker 7.1101 ... Yes (7.24) > Checking if you have Exporter 0 ... Yes (5.68) > Checking if you have Carp 0 ... Yes (1.29) > Checking if you have Module::Metadata 0 ... Yes (1.000011) > Checking if you have File::Spec 0.8 ... Yes (3.40) > Checking if you have File::Path 0 ... Yes (2.09) > Checking if you have Test::More 0 ... Yes (0.98) > Building and testing File-ShareDir-Install-0.11 > cp lib/File/ShareDir/Install.pm blib/lib/File/ShareDir/Install.pm > Can't locate TAP/Harness/Env.pm in @INC (you may need to install the > TAP::Harness::Env module) (@INC contains: ~/perl5/lib/perl5/darwin- > thread-multi-2level ~/perl5/lib/perl5 /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.2 > /System/Library/Perl/5.18/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 > /System/Library/Perl/Extras/5.18/Module/Build/Tiny.pm line 103. > -> FAIL Installing File::ShareDir::Install failed. See > ~/.cpanm/work/1480568684.29714/build.log for details. Retry with > --force to force install it. > -> FAIL Installing the dependencies failed: Module > 'File::ShareDir::Install' is not installed
TAP::Harness::Env is not used directly by File::ShareDir::Install, but by Module::Build::Tiny (as you can see from the error message). You have Module::Build::Tiny 0.034 installed, which means, if its prerequisites were respected, you should have TAP::Harness::Env installed: https://metacpan.org/source/LEONT/Module-Build-Tiny-0.034/META.json#L36 If you do not, something is wrong with your perl installation as Module::Build::Tiny would not have installed properly without its prerequisites (or possibly something deleted TAP::Harness::Env after it was installed). There is nothing to be done in File::ShareDir::Install or Module::Build::Tiny -- all prerequisites are declared correctly.