Skip Menu |

This queue is for tickets about the Test-Tester CPAN distribution.

Report information
The Basics
Id: 40988
Status: open
Priority: 0/
Queue: Test-Tester

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
nick [...] ccl4.org
Th.J.v.Hoesel+CPAN [...] gmail.com
Cc:
AdminCc:

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



Subject: INSTALLDIRS=perl should not be set.
Test::Tester has INSTALLDIRS=perl set in its Makefile.PL. This indicates to MakeMaker that it is a core module and should be installed with other core modules. Test::Tester is not in the core. INSTALLDIRS should not be set. The fact that it is being installed in the core, rather than site_perl, is causing problems for me (and anyone else) who upgrades their perl install to a newer version. (Given the default @INC order). However, I suspect that the fix needs to be careful, as any existing install has the current version of Test::Tester installed in the wrong place, but early in @INC ahead of site_perl. (see also http://rt.cpan.org/Public/Bug/Display.html?id=40987 and http://rt.cpan.org/Public/Bug/Display.html?id=8893 )
Bump. This is annoying and causes issues with bundling modules with cpanm and alike. Please fix this.
This bug causes problem in automated builds in tons of places. It is a one-line change, please fix this.
As the initial comment states, there is one additional issue with the fact that it is currently deploying to the wrong location. I think it would be sane to remove "INSTALLDIRS=perl" from the Makefile and add a small check to see if the module is currently installed in the wrong location, I think the safest would be to simply abort the installation and ask the user to remove the module from the old location.
Subject: Re: [rt.cpan.org #40988] INSTALLDIRS=perl should not be set.
Date: Fri, 21 Oct 2011 07:31:20 +0900
To: bug-Test-Tester [...] rt.cpan.org
From: Fergal Daly <fergal [...] esatclear.ie>
I have 0 time to work on this but if someone could send a patch I'll release it.
Here is the patch. Am Do 20. Okt 2011, 18:31:31, fergal@esatclear.ie schrieb: Show quoted text
> I have 0 time to work on this but if someone could send a patch I'll > release it.
Subject: Test-Tester.patch
diff -ru Test-Tester-0.108.orig/Makefile.PL Test-Tester-0.108/Makefile.PL --- Test-Tester-0.108.orig/Makefile.PL 2004-07-06 00:22:41.000000000 +0200 +++ Test-Tester-0.108/Makefile.PL 2012-02-09 02:00:17.157874629 +0100 @@ -19,7 +19,6 @@ AUTHOR => 'Fergal Daly <fergal@esatclear.ie>', NAME => $module, VERSION_FROM => $pm_file, - INSTALLDIRS => 'perl', PREREQ_PM => { 'Test::Builder' => 0, },
Subject: Re: [rt.cpan.org #40988] INSTALLDIRS=perl should not be set.
Date: Fri, 10 Feb 2012 08:04:10 +0900
To: bug-Test-Tester [...] rt.cpan.org
From: Fergal Daly <fergal [...] esatclear.ie>
That is not the patch I was referring to. That will leave people with it installed in the old and the new dirs. See the comment at "Thu Oct 20 11:51:36 2011".