New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warnings from cpan/IO-Compress/t/cz-03zlib-v1.t #11960
Comments
From @nwc10I'm seeing this in blead: ../cpan/IO-Compress/t/cz-03zlib-v1.t .............................. 1/464 Argument "xM-^\" isn't numeric in numeric eq (==) at (eval in cmp_ok) t/cz-03zlib-v1.t line 1244. I'm not seeing this if I build the same version of IO-Compress against perl 5.14.2 has the same version of Test::More as blead. Hence I'm rather at a loss as to what the underlying cause is, and whether Even if it's cosmetic, I think we should fix it before perl 5.16.0 ships. Nicholas Clark |
From @jkeenanOn Tue Feb 14 10:38:58 2012, nicholas wrote:
I have confirmed all of the above on two different Linux/i386 boxes. I am attaching a small program which is a stripped-down version of the As my program demonstrates, "'foobar' == Z_OK" would constitute a Thank you very much. |
From @jkeenanuse lib qw( cpan/IO-Compress/t/compress );
use strict;
use warnings;
use bytes;
use Test::More qw( no_plan );
use CompTestUtils;
use Symbol;
BEGIN {
use_ok('Compress::Zlib', qw(:ALL memGunzip memGzip zlib_version));
use_ok('IO::Compress::Gzip::Constants') ;
use_ok('IO::Compress::Gzip', qw($GzipError)) ;
}
\# Check zlib_version and ZLIB_VERSION are the same\.
SKIP: {
skip "TEST_SKIP_VERSION_CHECK is set", 1
if $ENV{TEST_SKIP_VERSION_CHECK};
is Compress::Zlib::zlib_version, ZLIB_VERSION,
"ZLIB_VERSION matches Compress::Zlib::zlib_version" ;
}
{
title "repeated calls to flush";
my $hello = "I am a HAL 9000 computer" ;
my ($err, $x, $X, $status);
ok( ($x, $err) = deflateInit ( ), "Create deflate object" );
isa_ok $x, "Compress::Raw::Zlib::deflateStream" ;
cmp_ok $err, '==', Z_OK, "status is Z_OK" ;
$status = $x->deflate($hello, $X) ;
cmp_ok $status, '==', Z_OK, "deflate returned Z_OK" ;
cmp_ok 'foobar', '==', Z_OK, "FWIW, 'foobar' is numerically equal to Z_OK" ;
cmp_ok $x->flush($X, Z_SYNC_FLUSH), '==', Z_OK, "flush returned Z_OK" ;
$X = '';
cmp_ok $x->flush($X, Z_SYNC_FLUSH), '==', Z_OK, "second flush returned Z_OK" ;
is $X, "", "no output from second flush";
} |
The RT System itself - Status changed from 'new' to 'open' |
From @nwc10On Fri, Feb 17, 2012 at 11:14:21AM -0800, James E Keenan via RT wrote:
Thanks for confirming the problem and reducing the test case.
No, it doesn't seem to be. But really what I'm wondering is why *the same code* doesn't warn on Nicholas Clark |
From @pmqsFrom: Nicholas Clark (via RT) [mailto:perlbug-followup@perl.org]
It's a dumb bug in the test harness. I'll get a new version uploaded to Paul |
From @pmqsOn Fri Feb 17 12:07:11 2012, nicholas wrote:
The tests were supposed to be checking that the status codes returned I've fixed the mistake in my development copy.
Indeed so. Interestingly, I get the warnings with blead on a 64-bit RHEL 6.1 but Paul |
From @pmqsUploaded new version of IO-Compress to CPAN. That should silence the Paul |
From @rjbsOn Sat Feb 18 14:05:56 2012, pmqs wrote:
Paul, as you may recall, the new version, which includes other change, had some failures when it I wonder if you would be so kind as to build a release (with a dev version number, likely) with Since you've said this is just a test coding error, I'm not steadfast that we can't release with this Thanks very much. |
From @pmqsOn Tue Feb 28 19:35:40 2012, rjbs wrote:
Is there any reason not to include the latest version of IO-Compress in The only differences I can see between 2.048 (in blead) and 2.049 (on Apart, that is, from updating the version dependencies to sorry for not responding sooner. For some reason didn't see your request. Paul |
From @rjbs
Funny, I didn't see YOUR email either. The latest releases do not build with g++ BinGOs applied the K&R header fixer (if I recall correctly) but then we hit type errors. At this Dealing with the introduction and reversion of the new compression libraries has caused a |
From @pmqsFrom: Ricardo SIGNES via RT [mailto:perlbug-followup@perl.org]
I see core has revered to 2.048, which is the most sensible move until 5.16 is out. If there is anything needed done before 5.16, please shout. Paul |
From @rjbsAt this point I think the solution is to suck it up and live with the warnings. We will upgrade IO- |
From [Unknown Contact. See original ticket]At this point I think the solution is to suck it up and live with the warnings. We will upgrade IO- |
@rjbs - Status changed from 'open' to 'resolved' |
From rmbarker.cpan@btinternet.comOn Thu, 2012-03-22 at 18:37 -0700, Ricardo SIGNES via RT wrote:
I think it would work to just update t/cz-03zlib-v1.t from the latest Robin |
From @pmqsFrom: Robin Barker [mailto:rmbarker.cpan@btinternet.com]
I thought core had been reverted back past where I introduced the warning Paul |
From @rjbs* Paul Marquess <Paul.Marquess@ntlworld.com> [2012-03-23T15:59:00]
No, core was reverted back to where everything built everywhere, but the https://rt-archive.perl.org/perl5/Ticket/Display.html?id=110736#txn-1088272 -- |
From @bingosOn Fri, Mar 23, 2012 at 07:59:00PM -0000, Paul Marquess wrote:
Reverted from 2.049 (and 2.051 for Compress-Raw-Zlib) back to 2.048 http://perl5.git.perl.org/perl.git/shortlog/refs/heads/smoke-me/compression-modules has all the applicable commits that were reverted. I have created a smoke-me branch http://perl5.git.perl.org/perl.git/shortlog/refs/heads/smoke-me/cz-03zlib-v1.t with the t/cz-03zlib-v1.t update only. --
|
Migrated from rt.perl.org#110736 (status was 'resolved')
Searchable as RT110736$
The text was updated successfully, but these errors were encountered: