Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: brian [...] theconrys.com
Cc: bconry [...] isc.org
AdminCc:

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



CC: bconry [...] isc.org
Subject: Undeclared dependency on TAP::Harness
I was attempting to install Dist::Zilla::MintingProfile::RTx on a relatively clean OSX system-default Perl, which pulled in Dist::Zilla which pulled in MooseX::Types::Path::Class. The install of which failed with the following error: Can't locate TAP/Harness/Env.pm in @INC (you may need to install the TAP::Harness::Env module) (@INC contains: /Users/bconry/perl5/lib/perl5/darwin-thread-multi-2level /Users/bconry/perl5/lib/perl5 /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2lev> -> FAIL Installing MooseX::Types::Path::Class failed. See /Users/bconry/.cpanm/work/1441141667.75291/build.log for details. Retry with --force to force install it. I'm guessing this is probably a simple case of an undeclared dependency on TAP::Harness because TAP::Harness is only used in the tests and not in the actual module itself. Either way, this looks like a bug to me. Thanks, Brian
On 2015-09-01 14:29:56, BCONRY wrote: Show quoted text
> I was attempting to install Dist::Zilla::MintingProfile::RTx on a > relatively clean OSX > system-default Perl, which pulled in Dist::Zilla which pulled in > MooseX::Types::Path::Class. > > The install of which failed with the following error: > > Can't locate TAP/Harness/Env.pm in @INC (you may need to install the > TAP::Harness::Env module) (@INC contains: > /Users/bconry/perl5/lib/perl5/darwin-thread-multi-2level > /Users/bconry/perl5/lib/perl5 /Library/Perl/5.18/darwin-thread-multi- > 2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread- > multi-2lev> > -> FAIL Installing MooseX::Types::Path::Class failed. See > /Users/bconry/.cpanm/work/1441141667.75291/build.log for details. > Retry with --force to force install it. > > I'm guessing this is probably a simple case of an undeclared > dependency on > TAP::Harness because TAP::Harness is only used in the tests and not in > the actual > module itself.
TAP::Harness isn't used by the tests at all. Something in your environment is pulling it in, but it's impossible to say what because you didn't include the contents of build.log.
Attached.
Subject: build.log
Download build.log
application/octet-stream 9.5k

Message body not shown because it is not plain text.

On Wed Sep 02 10:13:27 2015, BCONRY wrote: Show quoted text
> Attached.
I just noticed that the line I originally pasted into the ticket was truncated. As you can see from the log, the full line ends with "at /System/Library/Perl/Extras/5.18/Module/Build/Tiny.pm line 103.", which I didn't notice earlier. If I had noticed it earlier I would have filed the bug where it belongs, with Module::Build::Tiny. Sorry. Brian
On Wed Sep 02 10:35:20 2015, BCONRY wrote: Show quoted text
> On Wed Sep 02 10:13:27 2015, BCONRY wrote:
> > Attached.
> > I just noticed that the line I originally pasted into the ticket was > truncated. > > As you can see from the log, the full line ends with "at > /System/Library/Perl/Extras/5.18/Module/Build/Tiny.pm line 103.", > which I didn't notice earlier. > > If I had noticed it earlier I would have filed the bug where it > belongs, with Module::Build::Tiny. > > Sorry. > > Brian
Just a further little FYI... apparently it isn't the fault of Module::Build::Tiny either. Asking cpanm to install Module::Build::Tiny detected that TAP::Harness::ENV is needed (and missing). So it appears that Apple is shipping a Module::Build::Tiny without all of its dependencies... /sigh Thanks, Brian
On 2015-09-02 07:40:04, BCONRY wrote: Show quoted text
> Just a further little FYI... apparently it isn't the fault of > Module::Build::Tiny either. Asking cpanm to install > Module::Build::Tiny detected that TAP::Harness::ENV is needed (and > missing). > > So it appears that Apple is shipping a Module::Build::Tiny without all > of its dependencies...
I couldn't reproduce this on my OSX box running 10.8, but I could on one running 10.10: $; /usr/bin/perl -v This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail) $; PERL5LIB= /usr/bin/perl -MModule::Build::Tiny -wle'print $INC{"Module/Build/Tiny.pm"}' /System/Library/Perl/Extras/5.18/Module/Build/Tiny.pm $; PERL5LIB= /usr/bin/perl -MModule::Build::Tiny -wle'print $INC{"TAP/Harness.pm"}' Use of uninitialized value in print at -e line 1. $; PERL5LIB= /usr/bin/perl -MModule::Build::Tiny -wle'print $INC{"TAP/Harness/Env.pm"}' Use of uninitialized value in print at -e line 1. ugh indeed!
Correction, TAP::Harness is there, but TAP::Harness::Env is not: $; PERL5LIB= /usr/bin/perl -MTAP::Harness -wle'print $INC{"TAP/Harness.pm"}' /System/Library/Perl/5.18/TAP/Harness.pm $; PERL5LIB= /usr/bin/perl -MTAP::Harness::Env -e1 Can't locate TAP/Harness/Env.pm in @INC (you may need to install the TAP::Harness::Env module) (@INC contains: /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 .). BEGIN failed--compilation aborted.