Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 425260

Summary: perl 5.16.0 complains about incorrect use of length function by perl-core/IO-Compress-2.024
Product: Gentoo Linux Reporter: Paul McDermott <pmcdermott98>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul McDermott 2012-07-08 09:40:20 UTC
Applications using the perl IO:Compress package will warn about incorrect use of the length function in IO::Compress::Zlib::Extra

Reproducible: Always

Steps to Reproduce:
1.Run a program using IO:Compress under perl 5.16
2.
3.


Expected Results:  
No warning messages

Warning message from perl 5.16:

length() used on @array (did you mean "scalar(@array)"?) at /usr/lib/perl5/vendor_perl/5.16.0/IO/Compress/Zlib/Extra.pm line 166.
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2012-07-08 14:41:34 UTC
Don't use testing dev-lang/perl and stable perl-core/ packages. It doesn't work reliably.
Comment 2 Paul McDermott 2012-07-09 22:02:44 UTC
But I've ended up here becuase autounmask thinks that perl-5.16 is needed by Test-Simple and Ima-DBI:

#required by virtual/perl-Test-Simple-0.980.0-r2, required by dev-perl/Ima-DBI-0.350.0, required by @selected, required by @world (argument)
=dev-lang/perl-5.16.0 ~x86

I don't know how to avoid the upgrade if Test-Simple thinks 5.16 is needed...