Skip Menu |

This queue is for tickets about the MooseX-Types-Path-Class CPAN distribution.

Report information
The Basics
Id: 113612
Status: rejected
Priority: 0/
Queue: MooseX-Types-Path-Class

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

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



Subject: Missing dependency to TAP::Harness::Env
Hi, I was installing Dist::Zilla with cpan-minus and the dependency install stop on MooseX::Types::Path::Class. The problem was a missing dependency to TAP::Harness::Env. My environnement is MacOSX Yosemite, but I don't things that it is related.... Best, Jérôme.
On 2016-04-08 01:33:45, JAUDOUX wrote: Show quoted text
> Hi, > > I was installing Dist::Zilla with cpan-minus and the dependency > install stop on MooseX::Types::Path::Class. The problem was a missing > dependency to TAP::Harness::Env. My environnement is MacOSX Yosemite, > but I don't things that it is related....
TAP::Harness::Env is not directly used anywhere in the distribution. Can you paste me the error you got and perhaps I can help narrow it down?
CC: JAUDOUX [...] cpan.org
Subject: Re: [rt.cpan.org #113612] Missing dependency to TAP::Harness::Env
Date: Sat, 9 Apr 2016 10:13:15 +0200
To: bug-MooseX-Types-Path-Class [...] rt.cpan.org
From: jérôme Audoux <jerome.audoux [...] gmail.com>
Hi, This is an extract of my build log, where you can see where it fails : Searching MooseX::Types::Path::Class (0) on cpanmetadb ... --> Working on MooseX::Types::Path::Class Fetching http://www.cpan.org/authors/id/E/ET/ETHER/MooseX-Types-Path-Class-0.08.tar.gz -> OK Unpacking MooseX-Types-Path-Class-0.08.tar.gz Entering MooseX-Types-Path-Class-0.08 Checking configure dependencies from META.json Checking if you have Module::Build::Tiny 0.007 ... Yes (0.034) Configuring MooseX-Types-Path-Class-0.08 Running Build.PL Creating new 'Build' script for 'MooseX-Types-Path-Class' version '0.08' -> OKChecking dependencies from MYMETA.json ... Checking if you have Moose 0 ... Yes (2.1202) Checking if you have MooseX::Types 0 ... Yes (0.41) Checking if you have strict 0 ... Yes (1.07) Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.66) Checking if you have Test::More 0.88 ... Yes (0.98) Checking if you have Path::Class 0.16 ... Yes (0.33) Checking if you have File::Spec 0 ... Yes (3.40) Checking if you have MooseX::Types::Moose 0 ... Yes (0.41) Checking if you have warnings 0 ... Yes (1.18) Checking if you have MooseX::Getopt 0 ... Yes (0.59) Checking if you have if 0 ... Yes (0.0602) Checking if you have Moose::Util::TypeConstraints 0 ... Yes (2.1202) Building and testing MooseX-Types-Path-Class-0.08 cp lib/MooseX/Types/Path/Class.pm blib/lib/MooseX/Types/Path/Class.pm Can't locate TAP/Harness/Env.pm in @INC (you may need to install the TAP::Harness::Env module) (@INC contains: /Users/jaudoux/Local/lib/perl5/darwin-thread-multi-2level /Users/jaudoux/Local/lib/perl5 /Users/jaudoux/Local/lib/perl5//darwin-thread-multi-2level /Users/jaudoux/Local/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 MooseX::Types::Path::Class failed. See /Users/jaudoux/.cpanm/work/1460103972.27988/build.log for details. Retry with --force to force install it. -> FAIL Installing the dependencies failed: Module 'MooseX::Types::Path::Class' is not installed -> FAIL Bailing out the installation for Dist-Zilla-5.044. Best, Jérôme. 2016-04-08 17:53 GMT+02:00 Karen Etheridge via RT < bug-MooseX-Types-Path-Class@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=113612 > > > On 2016-04-08 01:33:45, JAUDOUX wrote:
> > Hi, > > > > I was installing Dist::Zilla with cpan-minus and the dependency > > install stop on MooseX::Types::Path::Class. The problem was a missing > > dependency to TAP::Harness::Env. My environnement is MacOSX Yosemite, > > but I don't things that it is related....
> > TAP::Harness::Env is not directly used anywhere in the distribution. > Can you paste me the error you got and perhaps I can help narrow it down? >
This is the key line: Show quoted text
> Can't locate TAP/Harness/Env.pm in @INC (you may need to install the > TAP::Harness::Env module) (@INC contains: > /Users/jaudoux/Local/lib/perl5/darwin-thread-multi-2level > /Users/jaudoux/Local/lib/perl5 > /Users/jaudoux/Local/lib/perl5//darwin-thread-multi-2level > /Users/jaudoux/Local/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.
Module::Build::Tiny is trying to load TAP::Harness::Env. It is correctly listed as a prerequisite, as you can see here: https://metacpan.org/source/LEONT/Module-Build-Tiny-0.034/META.json#L68 Therefore Module::Build::Tiny was installed incorrectly, so I would suggest that you look into how that happened, or reinstall it now to ensure all prerequisites are there.
Closing.