Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CPAN-Reporter CPAN distribution.

Report information
The Basics
Id: 39731
Status: resolved
Priority: 0/
Queue: CPAN-Reporter

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc: jjore [...] cpan.org
AdminCc:

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



CC: JJORE [...] cpan.org
Subject: overload-eval has issues with Devel::Autoflush
Hi David, today overload-eval-0.07 caught my attention and it seems obvious that it has issues with CPAN::Reporter and in particular with Devel::Autoflush because up to 1.15 its cpantesters results were nearly completely green. Since then I see only fails. Watch in the recent reports this line: Undefined subroutine &main:: called at /tmp/CPAN-Reporter-lib-HRNE/Devel/Autoflush.pm line 12 E.g. http://www.nntp.perl.org/group/perl.cpan.testers/2008/09/msg2299448.html (CC'd to JJORE) Regards,
Subject: Re: [rt.cpan.org #39731] overload-eval has issues with Devel::Autoflush
Date: Wed, 1 Oct 2008 10:30:56 -0400
To: bug-CPAN-Reporter [...] rt.cpan.org
From: "David Golden" <dagolden [...] cpan.org>
That looks like an unexpected interaction because Devel::Autoflush happens to use the "$VERSION = eval $VERSION" incantation and thus its version gets printed, which isn't what the tests expect. Easily removed. Then I just hope someone doesn't write overload::equals and print out the initial VERSION assignment. I wonder whether just using Devel::Autoflush on Makefile.PL and Build.Pl might be somewhat safer, as the problems it tries to address are more often there than in tests. -- David
CC: ANDK [...] cpan.org, jjore [...] cpan.org
Subject: Re: [rt.cpan.org #39731] overload-eval has issues with Devel::Autoflush
Date: Wed, 01 Oct 2008 21:54:52 +0200
To: bug-CPAN-Reporter [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Wed, 01 Oct 2008 10:31:16 -0400, "David Golden via RT" <bug-CPAN-Reporter@rt.cpan.org> said:
Show quoted text
> That looks like an unexpected interaction because Devel::Autoflush > happens to use the "$VERSION = eval $VERSION" incantation and thus its > version gets printed, which isn't what the tests expect. Easily > removed. Then I just hope someone doesn't write overload::equals and > print out the initial VERSION assignment.
If you want further surprises, look at Devel::ebug. I just found it with 5.10.0 failing with some flush string in the logs. But when I try it without CPAN.pm in between, it is "All tests successful". Show quoted text
> I wonder whether just using Devel::Autoflush on Makefile.PL and > Build.Pl might be somewhat safer, as the problems it tries to address > are more often there than in tests.
Very interesting solution indeed. -- andreas
CC: bug-CPAN-Reporter [...] rt.cpan.org, ANDK [...] cpan.org, jjore [...] cpan.org
Subject: Re: [rt.cpan.org #39731] overload-eval has issues with Devel::Autoflush
Date: Wed, 01 Oct 2008 22:14:31 +0200
To: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Wed, 01 Oct 2008 21:54:52 +0200, andreas.koenig.7os6VVqR@franz.ak.mind.de (Andreas J. Koenig) said:
Show quoted text
> If you want further surprises, look at Devel::ebug.
And did we already talk about Test::Dependencies? It belongs in the same category: Devel::Autoflush in the test logfile but not so when I run 'make test' directly. -- andreas
This specific bug was fixed in the latest Devel::Autoflush. The more general suggestion of only running D::A for *.PL and not tests is on the Todo list, as soon as I figure out an elegant way to change the API. -- David