Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425260 - perl 5.16.0 complains about incorrect use of length function by perl-core/IO-Compress-2.024
Summary: perl 5.16.0 complains about incorrect use of length function by perl-core/IO-...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-08 09:40 UTC by Paul McDermott
Modified: 2012-07-09 22:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...