Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524882 - dev-perl/List-AllUtils-0.80.0 should depend on >=virtual/perl-Scalar-List-Utils-1.310.0 - List::Util version 1.31 required--this is only version 1.27 at /usr/lib64/perl5/vendor_perl/5.18.2/List/AllUtils.pm line 8.
Summary: dev-perl/List-AllUtils-0.80.0 should depend on >=virtual/perl-Scalar-List-Uti...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Manuel Rüger (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-09 21:16 UTC by Sven
Modified: 2014-10-10 18:20 UTC (History)
1 user (show)

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 Sven 2014-10-09 21:16:48 UTC
If Scalar-List-Utils-1.350.0 is not installed, you get the following error with biber 1.9:

$ biber
List::Util version 1.31 required--this is only version 1.27 at /usr/lib64/perl5/vendor_perl/5.18.2/List/AllUtils.pm line 8.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.18.2/List/AllUtils.pm line 8.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.18.2/Biber/Config.pm line 13.
...

Reproducible: Always
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2014-10-10 14:02:05 UTC
I'm not able to reproduce this here. 
Which version of virtual/perl-Scalar-List-Utils have you installed?
Which version of dev-perl/List-AllUtils have you installed?

Have you run perl-cleaner --all on perl-5.18 update?
Comment 2 Sven 2014-10-10 17:14:24 UTC
This is a new gentoo install, which I started 3 days ago. There was no need to run perl-cleaner. Anyhow, the version of List::Util that comes with perl 5.18 is only 1.27.

You are probably right that the bug is with List-AllUtils. I have dev-perl/List-AllUtils-0.80.0 installed.
Comment 3 Sven 2014-10-10 17:20:50 UTC
Line 8 of AllUtils.pm (in version 0.80.0) is
  use List::Util 1.31 ();
so it is clearly wrong that dev-perl/List-AllUtils-0.80.0 currently only depends on =virtual/perl-Scalar-List-Utils-1.190.0.
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2014-10-10 17:54:06 UTC
CC'ing perl-devs then.
Comment 5 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-10-10 18:09:40 UTC
(In reply to Sven from comment #3)
> Line 8 of AllUtils.pm (in version 0.80.0) is
>   use List::Util 1.31 ();
> so it is clearly wrong that dev-perl/List-AllUtils-0.80.0 currently only
> depends on =virtual/perl-Scalar-List-Utils-1.190.0.

What? 

 >=virtual/perl-Scalar-List-Utils-1.190.0

it means grater or equal. Meanwhile biber has dependency on _ANY_ of dev-perl/List-AllUtils. Not a bug.
Comment 6 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-10-10 18:14:12 UTC
Upstreams dependency map clearly states that it must have >= 1.310.0

https://metacpan.org/source/DROLSKY/List-AllUtils-0.08/META.json

However, The dependencies do in fact currently only declare 1.190.0, which includes current stable, which is of course, too old.

All other dependencies look OK though, it could optionally include RDEPEND virtual/perl-Exporter

This mistake is incidentally one of the things I got right when I submitted a bump patch for List-AllUtils ( bug 524094 ) in the first place, and the mistake was re-made due to not using that :P

https://bugs.gentoo.org/attachment.cgi?id=385798&action=diff

Thus, it is a bug: Because dev-perl/List-AllUtils declares an incorrect minimum version.
Comment 7 Manuel Rüger (RETIRED) gentoo-dev 2014-10-10 18:20:23 UTC
10 Oct 2014; Manuel Rüger <mrueg@gentoo.org> +List-AllUtils-0.90.0.ebuild,
List-AllUtils-0.80.0.ebuild:
Raise dependency on virtual/perl-Scalar-List-Utils. Fixes bug #524882. Version
bump to 0.90.0