Skip Menu |

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

Report information
The Basics
Id: 120413
Status: resolved
Priority: 0/
Queue: Test-Object

Owner: Nobody in particular
Requestors: KENTNL [...]
Cc: PLICEASE [...]

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


Subject: Fails install when no '.' in @INC
On 5.25.10 with -Ddefault_inc_excludes_dot

Fetching ... OK
Configuring Test-Object-0.07 ... Can't locate inc/Module/ in @INC (you may need to install the inc::Module::Install module) (@INC contains: /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/site_perl/5.25.10/x86_64-linux /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/site_perl/5.25.10 /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/5.25.10/x86_64-linux /home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/lib/5.25.10) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.

- Gentoo Perl Maintainer ( )
From: ppisar [...]
Download (untitled) / with headers
text/plain 372b
Dne Po 27.úno.2017 02:37:34, KENTNL napsal(a): Show quoted text
> On 5.25.10 with -Ddefault_inc_excludes_dot > > Fetching ... > OK > Configuring Test-Object-0.07 ... Can't locate inc/Module/ in > @INC
A fix is attached. Another solution is not using inc::Module::Install or declaring it as a configure-time dependency.
Subject: Test-Object-0.07-Fix-building-on-Perl-without-.-in-INC.patch
From d43f322d24db7505125624a1b137a3d0e4253a2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <> Date: Tue, 16 May 2017 14:24:13 +0200 Subject: [PATCH] Fix building on Perl without "." in @INC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Písař <> --- Makefile.PL | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.PL b/Makefile.PL index ebceb46..d4c9ffa 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,3 +1,4 @@ +BEGIN { push @INC, '.'; } use inc::Module::Install; name 'Test-Object'; -- 2.9.4
Download (untitled) / with headers
text/plain 546b
This is kind of a big deal now that 5.26.0 has been released, which by default, does not have "." in @INC. This means Dist::Zilla for example cannot be installed from CPAN without skipping tests, or, using PERL_USE_UNSAFE_INC=1. I also realize that this module has not had any releases in over a decade, and ADAMK has not uploaded anything to CPAN since 2013, so perhaps this author is no longer active? I'm willing to take COMAINT of this if you do not have time to push a fix out to CPAN. My PAUSE id is MSCHOUT. -- Regards, Michael Schout
fixed in 1.09.
er I mean fixed in 0.08.

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

Please report any issues with to