Skip Menu |
 

This queue is for tickets about the Tie-IxHash CPAN distribution.

Report information
The Basics
Id: 99851
Status: patched
Priority: 0/
Queue: Tie-IxHash

People
Owner: Nobody in particular
Requestors: andrew [...] isolutions.com.au
Cc:
AdminCc:

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



Subject: Missing prerequisite in Tie::IxHash v1.23 - Test::More
Date: Tue, 28 Oct 2014 13:15:19 +1030
To: bug-Tie-IxHash [...] rt.cpan.org
From: Andrew Speer <andrew [...] isolutions.com.au>
Download (untitled) / with headers
text/plain 1.1k
Hello, Building of Tie::IxHash 1.23 on a base RHEL6 box fails because Test::More is not installed by default, and Tie::IxHash Makefile.PL does not spec it as a prerequisite: CPAN.pm: Going to build C/CH/CHORNY/Tie-IxHash-1.23.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Tie::IxHash cp lib/Tie/IxHash.pm blib/lib/Tie/IxHash.pm Manifying blib/man3/Tie::IxHash.3pm CHORNY/Tie-IxHash-1.23.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/each-delete.t .. Can't locate Test/More.pm in @INC (@INC contains: /root/.cpan/build/Tie-IxHash-1.23-mMtA5g/blib/lib /root/.cpan/build/Tie-IxHash-1.23-mMtA5g/blib/arch /opt/perl5lib /root/perl5lib /opt/perl5lib /root/perl5lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at t/each-delete.t line 3. BEGIN failed--compilation aborted at t/each-delete.t line 3. t Appreciate if you could add it to Makefile.PL as a prereq to facilitate automated CPAN installs: PREREQ_PM => { 'Test::More' => 0, }, Thanks, Andrew
Download (untitled) / with headers
text/plain 771b
On Mon Oct 27 22:45:49 2014, andrew@isolutions.com.au wrote: Show quoted text
> Hello, > > Building of Tie::IxHash 1.23 on a base RHEL6 box fails because Test::More > is not installed by default, and Tie::IxHash Makefile.PL does not spec it > as a prerequisite:
That's because Test::More is part of a standard perl install and therefore any install missing that module is broken. Red Hat provide a perl-core package that brings you back to a standard, working perl. You need to install that before attempting to install any CPAN modules. We tried to convince them to keep 'perl' as a complete perl and use a perl-minimal or something for rpm dependencies, but they decided that making that dep change to the available rpms would be too much effort. IxHash isn't doing anything wrong.
Subject: Re: [rt.cpan.org #99851] Missing prerequisite in Tie::IxHash v1.23 - Test::More
Date: Wed, 29 Oct 2014 16:25:17 +1030
To: bug-Tie-IxHash [...] rt.cpan.org
From: Andrew Speer <andrew [...] isolutions.com.au>
Download (untitled) / with headers
text/plain 693b
Fair comment - it's understandable that a module shouldn't have to make up for RHEL packaging decisions​. The problem is easy enough to fix from my perspective - but in some cases (where root access is not available) it is not always possible to install an additional RPM - but it is possible to install additional CPAN modules to a private library. Given that RHEL is a 900lb Gorilla in the Linux server market you couldn't throw a bone and add (say) a TEST_REQUIRES or BUILD_REQUIRES section in the Makefile.PL for just Test::More ? It would ensure that automated CPAN install of modules that depend on Tie::IxHash wouldn't fail. Thanks for the quick response and consideration, Andrew


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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