Skip Menu |

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

Report information
The Basics
Id: 127376
Status: resolved
Priority: 0/
Queue: File-ShareDir

People
Owner: Nobody in particular
Requestors: cpan [...] dstoecker.de
Cc:
AdminCc:

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



Subject: Failing tests for update from 1.112 to 1.116
Date: Tue, 16 Oct 2018 14:18:53 +0200 (CEST)
To: bug-File-ShareDir [...] rt.cpan.org
From: Dirk Stöcker <cpan [...] dstoecker.de>
Hello, the perl package update for File::ShareDir fails due to failing tests: See e.g. https://build.opensuse.org/package/live_build_log/devel:languages:perl:autoupdate/perl-File-ShareDir/standard/x86_64 Maybe that is caused by not handling the fact that '.' is not in perl default searchpath? Version 1.112 is ok. Failure is this: [ 15s] PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t xt/*.t [ 16s] [ 16s] # Failed test 'require File::ShareDir::Install;' [ 16s] # at t/00_prereqs.t line 49. [ 16s] # Tried to require 'File::ShareDir::Install'. [ 16s] # Error: Can't locate File/ShareDir/Install.pm in @INC (you may need to install the File::ShareDir::Install module) (@INC contains: /home/abuild/rpmbuild/BUILD/File-ShareDir-1.116/blib/lib /home/abuild/rpmbuild/BUILD/File-ShareDir-1.116/blib/arch /usr/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.28.0 /usr/lib/perl5/vendor_perl/5.28.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.28.0 /usr/lib/perl5/5.28.0/x86_64-linux-thread-multi /usr/lib/perl5/5.28.0 /usr/lib/perl5/site_perl .) at (eval 68) line 2. [ 16s] Use of uninitialized value in numeric lt (<) at t/00_prereqs.t line 52. [ 16s] Use of uninitialized value $version in concatenation (.) or string at t/00_prereqs.t line 53. [ 16s] [ 16s] # Failed test 'File::ShareDir::Install matches required ' [ 16s] # at t/00_prereqs.t line 53. [ 16s] Use of uninitialized value in numeric lt (<) at t/00_prereqs.t line 52. [ 16s] Use of uninitialized value $version in concatenation (.) or string at t/00_prereqs.t line 53. [ 16s] Use of uninitialized value in numeric lt (<) at t/00_prereqs.t line 52. [ 16s] Use of uninitialized value $version in concatenation (.) or string at t/00_prereqs.t line 53. [ 16s] Use of uninitialized value in numeric lt (<) at t/00_prereqs.t line 52. [ 16s] Use of uninitialized value $version in concatenation (.) or string at t/00_prereqs.t line 53. [ 16s] # Requirements for File-ShareDir version 1.116 [ 16s] # module | version | wanted | status [ 16s] # - configure / requires ---+----------+---------+--------- [ 16s] # ExtUtils::MakeMaker | 7.34 | 0 | ok [ 16s] Use of uninitialized value $have in sprintf at t/00_prereqs.t line 89. [ 16s] # File::ShareDir::Install | | 0.13 | not ok [ 16s] # - configure / recommends -+----------+---------+--------- [ 16s] Use of uninitialized value $have in sprintf at t/00_prereqs.t line 89. [ 16s] # inc::latest | | 0.500 | not ok [ 16s] # - runtime / requires -----+----------+---------+--------- [ 16s] # Carp | 1.50 | 0 | ok [ 16s] # Class::Inspector | 1.32 | 1.12 | ok [ 16s] # File::Spec | 3.74 | 0.80 | ok [ 16s] # warnings | 1.42 | 0 | ok [ 16s] # - runtime / recommends ---+----------+---------+--------- [ 16s] Use of uninitialized value $have in sprintf at t/00_prereqs.t line 89. [ 16s] # List::MoreUtils | | 0.428 | not ok [ 16s] Use of uninitialized value $have in sprintf at t/00_prereqs.t line 89. [ 16s] # Params::Util | | 1.07 | not ok [ 16s] # - test / requires --------+----------+---------+--------- [ 16s] # File::Path | 2.16 | 2.08 | ok [ 16s] # Test::More | 1.302133 | 0.90 | ok [ 16s] # - test / recommends ------+----------+---------+--------- [ 16s] # CPAN::Meta | 2.150010 | 2.11044 | ok [ 16s] # --------------------------+----------+---------+--------- [ 16s] # Looks like you failed 2 tests of 25. Ciao -- http://www.dstoecker.eu/ (PGP key available)
Hi Dirk, thanks for the submission. That's not because of "." is not in @INC anymore, it's because of I didn't realize about developer dependencies and optional configure stage dependencies (short: kind of stupid ^^). I schedule a fix soon. Thanks. Cheers, Jens