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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Charset: utf8
Content-Disposition: inline
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 508
Download (untitled) / with headers
text/plain 508b
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,
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,DK_SIGNED,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-2190-1222843744-135.39731-4-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-39731 [...] rt.cpan.org> <rt-3.6.HEAD-2190-1222843744-135.39731-4-0 [...] rt.cpan.org>
Content-Type: text/plain; charset=UTF-8
X-RT-Original-Encoding: utf-8
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id C9B3219B809D for <bug-CPAN-Reporter [...] rt.cpan.org>; Wed, 1 Oct 2008 10:31:06 -0400 (EDT)
Received: (qmail 16478 invoked from network); 1 Oct 2008 14:31:06 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 1 Oct 2008 14:31:06 -0000
Received: from rv-out-0506.google.com (HELO rv-out-0506.google.com) (209.85.198.237) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Oct 2008 07:30:59 -0700
Received: by rv-out-0506.google.com with SMTP id g37so549195rvb.33 for <bug-CPAN-Reporter [...] rt.cpan.org>; Wed, 01 Oct 2008 07:30:56 -0700 (PDT)
Received: by 10.141.3.17 with SMTP id f17mr4423400rvi.180.1222871456744; Wed, 01 Oct 2008 07:30:56 -0700 (PDT)
Received: by 10.141.177.5 with HTTP; Wed, 1 Oct 2008 07:30:56 -0700 (PDT)
Delivered-To: cpan-bug+CPAN-Reporter [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #39731] overload-eval has issues with Devel::Autoflush
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=W3GFeI8hulYkKrp1+nP1dDXruVzJ27oaNlnVp+kuisvPQgTsWn1RUJ3hdUPrIkUbfW iuIuYGoiFd4blUJ93zYpNfTzZRXwLST6WwVx/xYb/CH7okQEQUtA7yb0FWbEntfxf+ot p0hVKZABgR8vKOxQJnPVuWfjPazNLP/4vIioM=
Return-Path: <xdaveg [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=tfJtTxGYYb4eCx98CdnZuiIdIcfZ96olWHS65BOoImY=; b=NdynAQV3upmo9l4cn5VVLlWsBI+9DpFJrUtQBEwLBWM4pdHVoSRinch6pGQvUJSFz/ dxJoV5hYzHYgy7eMnjSbNVZn5WkJfSiyqQ6qY0ZpW65fhZgMNdA41qMgIiSOz+7f9Mhm XaZ9vzZVmX0g2lm0QNAAy1QJYvs1971w4ls0o=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-CPAN-Reporter [...] rt.cpan.org
X-Google-Sender-Auth: 799877a7c2b9769c
Sender: xdaveg [...] gmail.com
Date: Wed, 1 Oct 2008 10:30:56 -0400
X-Spam-Level: *
Message-Id: <5d4beb40810010730t368d2d53k10459ea99ce7e50d [...] mail.gmail.com>
To: bug-CPAN-Reporter [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: "David Golden" <dagolden [...] cpan.org>
RT-Message-ID: <rt-3.6.HEAD-2192-1222871473-366.39731-0-0 [...] rt.cpan.org>
Content-Length: 496
Download (untitled) / with headers
text/plain 496b
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
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
X-Authentication-Warning: k75.linux.bogus: k set sender to andreas.koenig.7os6VVqR [...] franz.ak.mind.de using -f
In-Reply-To: <rt-3.6.HEAD-2192-1222871473-366.39731-6-0 [...] rt.cpan.org> (David Golden via's message of "Wed\, 01 Oct 2008 10\:31\:16 -0400")
References: <RT-Ticket-39731 [...] rt.cpan.org> <rt-3.6.HEAD-2190-1222843744-135.39731-4-0 [...] rt.cpan.org> <5d4beb40810010730t368d2d53k10459ea99ce7e50d [...] mail.gmail.com> <rt-3.6.HEAD-2192-1222871473-366.39731-6-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id E800B19B809A for <bug-CPAN-Reporter [...] rt.cpan.org>; Wed, 1 Oct 2008 15:55:09 -0400 (EDT)
Received: (qmail 16751 invoked from network); 1 Oct 2008 19:55:09 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 1 Oct 2008 19:55:09 -0000
Received: from franz.ak.mind.de (HELO franz.ak.mind.de) (212.42.235.66) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Oct 2008 12:55:05 -0700
Received: from k75.linux.bogus (localhost.localdomain [127.0.0.1]) by k75.linux.bogus (8.14.3/8.14.3/Debian-1) with ESMTP id m91Jsq7l017805; Wed, 1 Oct 2008 21:54:52 +0200
Received: (from k [...] localhost) by k75.linux.bogus (8.14.3/8.14.3/Submit) id m91JsqfM017803; Wed, 1 Oct 2008 21:54:52 +0200
Delivered-To: cpan-bug+CPAN-Reporter [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #39731] overload-eval has issues with Devel::Autoflush
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
Return-Path: <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-CPAN-Reporter [...] rt.cpan.org
Date: Wed, 01 Oct 2008 21:54:52 +0200
X-Spam-Level: *
Message-Id: <8763oc5bw3.fsf [...] k75.linux.bogus>
To: bug-CPAN-Reporter [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
RT-Message-ID: <rt-3.6.HEAD-2174-1222890916-9.39731-0-0 [...] rt.cpan.org>
Content-Length: 871
Download (untitled) / with headers
text/plain 871b
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
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
X-Authentication-Warning: k75.linux.bogus: k set sender to andreas.koenig.7os6VVqR [...] franz.ak.mind.de using -f
In-Reply-To: <8763oc5bw3.fsf [...] k75.linux.bogus> (Andreas J. Koenig's message of "Wed\, 01 Oct 2008 21\:54\:52 +0200")
References: <RT-Ticket-39731 [...] rt.cpan.org> <rt-3.6.HEAD-2190-1222843744-135.39731-4-0 [...] rt.cpan.org> <5d4beb40810010730t368d2d53k10459ea99ce7e50d [...] mail.gmail.com> <rt-3.6.HEAD-2192-1222871473-366.39731-6-0 [...] rt.cpan.org> <8763oc5bw3.fsf [...] k75.linux.bogus>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 92B3C4D80AC for <bug-CPAN-Reporter [...] rt.cpan.org>; Wed, 1 Oct 2008 16:16:17 -0400 (EDT)
Received: (qmail 23325 invoked from network); 1 Oct 2008 20:16:16 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 1 Oct 2008 20:16:16 -0000
Received: from franz.ak.mind.de (HELO franz.ak.mind.de) (212.42.235.66) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Oct 2008 13:16:14 -0700
Received: from k75.linux.bogus (localhost.localdomain [127.0.0.1]) by k75.linux.bogus (8.14.3/8.14.3/Debian-1) with ESMTP id m91KEW86020334; Wed, 1 Oct 2008 22:14:32 +0200
Received: (from k [...] localhost) by k75.linux.bogus (8.14.3/8.14.3/Submit) id m91KEWac020333; Wed, 1 Oct 2008 22:14:32 +0200
Delivered-To: cpan-bug+CPAN-Reporter [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #39731] overload-eval has issues with Devel::Autoflush
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
Return-Path: <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-CPAN-Reporter [...] rt.cpan.org
Date: Wed, 01 Oct 2008 22:14:31 +0200
X-Spam-Level: *
Message-Id: <87zllo3wew.fsf [...] k75.linux.bogus>
To: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
RT-Message-ID: <rt-3.6.HEAD-2192-1222892190-53.39731-0-0 [...] rt.cpan.org>
Content-Length: 344
Download (untitled) / with headers
text/plain 344b
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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-5580-1226893201-1977.39731-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 221
Download (untitled) / with headers
text/plain 221b
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


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.