Package Details: perl-dbix-class 0.082840-4

Git Clone URL: https://aur.archlinux.org/perl-dbix-class.git (read-only)
Package Base: perl-dbix-class
Description: Extensible and flexible object <-> relational mapper.
Upstream URL: http://search.cpan.org/dist/DBIx-Class
Licenses: GPL, PerlArtistic
Submitter: None
Maintainer: mbunkus
Last Packager: mbunkus
Votes: 6
Popularity: 0.000000
First Submitted: 2008-11-25 14:42
Last Updated: 2017-09-28 19:56

Latest Comments

mbunkus commented on 2017-04-17 14:07

@jnbek I'm not sure what you're trying to tell me, I'm sorry. DBIx::Class explicitly requires[1] List::Util 1.16. As that's satisfied by Arch's perl package, I haven't included an explicit dependency in the list.

That doesn't say anything about whether or not DBIx::Class's explicit dependencies have their dependencies in order. Note that the case I was talking about in 2014 is about List::AllUtils, not about List::Utils. Both are distinct packages[2][3]. The former is in Core, the latter isn't and has never been. However, the issue has been fixed already as perl-datetime-timezone now requires perl-list-allutils properly.

[1] http://cpansearch.perl.org/src/RIBASUSHI/DBIx-Class-0.082840/META.yml
[2] http://search.cpan.org/~pevans/Scalar-List-Utils-1.47/lib/List/Util.pm
[3] http://search.cpan.org/~drolsky/List-AllUtils-0.14/lib/List/AllUtils.pm

jnbek commented on 2017-04-16 15:59

@mbunkus, it's worth noting that the AUR version of List::AllUtils is 'newer' so to speak, since the List::AllUtils modules are also in CORE. However, pkgs like Moose and others, require the version from AUR. It seems DBIx::Class wants the CORE version.

List::Util ...loaded. (1.47 >= 1.16)

To make the test work, you might have to force %INC to reference the CORE version instead of VENDOR... I'm not exactly sure how to do that in the pkgbuild without patching the Makefile.PL or what not... but yea, there's that... perl-datetime-timezone doesn't have perl-list-allutils listed as a dep, cuz it's being provided in the core/perl pkgbuild.. :-/ This pkgbuild 'should' make test okay if the AUR perl-list-allutils is not installed.

mbunkus commented on 2014-10-27 08:25

Note that 0.082810 currently fails two tests if the Perl package List::AllUtils is not installed. This is due to a missing dependency in the package perl-datetime-timezone for which a bug has already been filed: https://bugs.archlinux.org/task/42531

The situation:
- Tests in perl-dbix-class »use DateTime::Timezone::OlsonDB::Observer«
- That one »use List::AllUtils«
- perl-datetime-timezone does not depend on perl-list-allutils, though, which it should.
- perl-list-allutils is, as of writing, still in AUR while perl-datetime-timezone is in community.

So if you want to upgrade perl-dbix-class you can either disable its tests or install perl-list-allutils from the AUR before you install or upgrade perl-dbix-class.