Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 87004
Status: resolved
Priority: 0/
Queue: Test-MockModule

People
Owner: GFRANKS [...] cpan.org
Requestors: victor [...] vsespb.ru
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05
Fixed in: 0.06



Subject: Test fail without CGI.pm
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.13-29064-1374099064-1419.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 348
Download (untitled) / with headers
text/plain 348b
Tests fail with a warning "Cant locate CGI.pm in @INC" CGI is not listed in prereqs. Problem that 1) CGI is going to be dropped from core 2) It's already dropped from CentOS 6 (even if "perl" or "perl-core" packages) and installed. Probably Fedora affected too. more info http://www.nntp.perl.org/group/perl.perl5.porters/2009/08/msg149747.html
MIME-Version: 1.0
In-Reply-To: <rt-4.0.13-29064-1374099064-1419.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.13-29064-1374099064-1419.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.16-7547-1377917613-1030.87004-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 607
Download (untitled) / with headers
text/plain 607b
I have a fix for this issue in this github repository: https://github.com/stephenenelson/test-mockmodule I replaced CGI with an example module, making it more resistant to Perl 5 core changes. On Wed Jul 17 18:11:04 2013, vsespb wrote: Show quoted text
> Tests fail with a warning "Cant locate CGI.pm in @INC" > > CGI is not listed in prereqs. > > Problem that > 1) CGI is going to be dropped from core > 2) It's already dropped from CentOS 6 (even if "perl" or "perl-core" > packages) > and installed. Probably Fedora affected too. more info > http://www.nntp.perl.org/group/perl.perl5.porters/2009/08/msg149747.html
MIME-Version: 1.0
In-Reply-To: <rt-4.0.13-29064-1374099064-1419.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.13-29064-1374099064-1419.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-4565-1408602595-1127.87004-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 268
Download (untitled) / with headers
text/plain 268b
On 2013-07-17 18:11:04, vsespb wrote: Show quoted text
> Tests fail with a warning "Cant locate CGI.pm in @INC" > > CGI is not listed in prereqs. > > Problem that > 1) CGI is going to be dropped from core
That happened with perl 5.21.x. CGI.pm is not anymore part of the perl core.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.16-7547-1377917613-1030.87004-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.13-29064-1374099064-1419.0-0-0 [...] rt.cpan.org> <rt-4.0.16-7547-1377917613-1030.87004-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-8105-1408989624-757.87004-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 318
Download (untitled) / with headers
text/plain 318b
On 2013-08-30 22:53:33, STEPHEN wrote: Show quoted text
> I have a fix for this issue in this github repository: > > https://github.com/stephenenelson/test-mockmodule > > I replaced CGI with an example module, making it more resistant to > Perl 5 core changes.
Excellent. Release soon? I got Travis builds dying on this. :-( David
MIME-Version: 1.0
In-Reply-To: <rt-4.0.16-7547-1377917613-1030.87004-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.13-29064-1374099064-1419.0-0-0 [...] rt.cpan.org> <rt-4.0.16-7547-1377917613-1030.87004-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-12968-1415126217-1268.87004-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
RT-Send-CC: SIMONFLK [...] cpan.org
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 422
Download (untitled) / with headers
text/plain 422b
On 2013-08-30 22:53:33, STEPHEN wrote: Show quoted text
> I have a fix for this issue in this github repository: > > https://github.com/stephenenelson/test-mockmodule > > I replaced CGI with an example module, making it more resistant to > Perl 5 core changes.
Hey there, Simon, any chance of a release soon? If you need someone else to do it, you could add me or Stephen (if he's willing) as co-maintainers via PAUSE. Thanks, David
MIME-Version: 1.0
In-Reply-To: <rt-4.0.13-29064-1374099064-1419.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.13-29064-1374099064-1419.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-16390-1426387272-569.87004-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
RT-Send-CC: dwheeler [...] cpan.org, SREZIC [...] cpan.org, victor [...] vsespb.ru, stephenenelson [...] mac.com
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 74
This update was merged in and released today in v0.06 of Test::MockModule.


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.