Bug#683861: libconfig-model-perl: dependency version check and epochs

gregor herrmann gregoa at debian.org
Sat Aug 4 21:42:20 UTC 2012


Package: libconfig-model-perl
Version: 2.023-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

% cat debian/control
Source: libmodule-metadata-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Dominique Dumont <dod at debian.org>,
 gregor herrmann <gregoa at debian.org>
Section: perl
Priority: optional
Build-Depends: debhelper (>= 8)
Build-Depends-Indep: perl (>= 5.13.9) | libversion-perl (>= 1:0.8700),
                     perl
[...]

% cme fix dpkg -from control -filter Depends
Fixing from control...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Connecting to qa.debian.org to check libversion-perl versions. Please wait...
Invalid version format (non-numeric data) at /usr/share/perl5/Config/Model/Debian/Dependency.pm line 277.


And /usr/share/perl5/Config/Model/Debian/Dependency.pm 277 is:

    my $v_decimal = Module::CoreList->first_release( $dep_name_as_perl[0], version->parse( $dep_v ) );


I guess stripping off the epoch would be good here.

Hm, is this introduced by my patch (in experimental)?

+-    my $v_decimal = Module::CoreList->first_release( $dep_name_as_perl[0], $dep_v );
++    my $v_decimal = Module::CoreList->first_release( $dep_name_as_perl[0], version->parse( $dep_v ) );

Hm, no:

% perl -MModule::CoreList -e 'print $v_decimal = Module::CoreList->first_release( 'version', 1:0.8700 );'                                                
syntax error at -e line 1, near "1:"
Execution of -e aborted due to compilation errors.

% perl -MModule::CoreList -e 'print $v_decimal = Module::CoreList->first_release( 'version', version->parse(1:0.8700) );'
syntax error at -e line 1, near "1:"
Execution of -e aborted due to compilation errors.

(And the same when 1:0.8700 is quoted.)


Cheers,
gregor


- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libconfig-model-perl depends on:
ii  libany-moose-perl                 0.17-1
ii  libanyevent-http-perl             2.14-1
ii  libanyevent-perl                  7.010-1
ii  libapt-pkg-perl                   0.1.26+b1
ii  libcarp-assert-more-perl          1.12-2
ii  libexception-class-perl           1.32-1
ii  libfile-homedir-perl              0.99-1
ii  libhash-merge-perl                0.12-2
ii  liblist-moreutils-perl            0.33-1+b1
ii  liblog-log4perl-perl              1.29-1
ii  libmouse-perl                     0.99-1
ii  libmousex-nativetraits-perl       1.07-1
ii  libmousex-strictconstructor-perl  0.02-1
ii  libnamespace-autoclean-perl       0.13-1
ii  libparse-recdescent-perl          1.967009+dfsg-1
ii  libpod-pom-perl                   0.27-1
ii  libsoftware-license-perl          0.103004-2
ii  libtext-autoformat-perl           1.669002-1
ii  libtext-diff-perl                 1.41-1
ii  libyaml-perl                      0.84-1
ii  lintian                           2.5.10.1
ii  perl                              5.14.2-12

Versions of packages libconfig-model-perl recommends:
ii  bash-completion                         1:2.0-1
pn  fuse-utils                              <none>
pn  libfuse-perl                            <none>
ii  libmodule-corelist-perl                 2.69-1
ii  perl                                    5.14.2-12
ii  perl-modules [libmodule-corelist-perl]  5.14.2-12

Versions of packages libconfig-model-perl suggests:
ii  libconfig-model-tkui-perl   1.337-1
ii  libterm-readline-gnu-perl   1.20-2+b1
ii  libterm-readline-perl-perl  1.0303-1

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJQHZc8AAoJELs6aAGGSaoGWoEP/1fb0tQ4/8ABl1lS1cdsLKOL
otJAdy+TeKDhhohvk/F5ZPJzsRXkA1vh6zkBCYBXJ4b4TGkD2p1YEZjzsKd3CarP
0rduscURVSEwx42UWMcXD+0/Dd2k2AD6MBMEe+CBHbOugrrhZ/8ihuYT+hi+i8X/
h3pltcImjk0HDhZxkla1ApEmgpTpkoU2/bYcDozGnirXpHTwLC+aSWZ+e2wpK7zC
cIEvR8MNNcBTFKpZW06BEnOwUEZYIrWlzuU83B1pKUBVXbiYJo8zJRjWH1maTn7C
26RpZKbEHyA390G6Ybm3E6lLSCHUjRFoSEnF+A8Gn0IFDX23k0iBui8v/gdVk4cK
bFpk9a4wZINaziEcw/mPIdFi4o9vNgFq885LN81HGicMisqtHI5DcItUmc4K/PFz
pTbafs7lKV/rAyUGc+PDmZ7r0EVqTRxD6QEg780eG5qpeau94tMQmPma8Q8pB8In
oSwFGtkEXKQBIMhSsqqcXlku9xtsULF4wdaYexFaTh4RbrdZBA3NwY1t1iqD+/ZF
pTxlvVSNK6KncwQlPiov6rExQV324loGdD+SH2ydNCz7HF2Y8lxa361NEGkKbYxq
7d5KE87wTn9mxQF5w9hBDQFTFVwT04AxMnfRf2s/TYM7qectNs4qPGmbFE2Bsamj
qcYzj+nE101NVYh5EmB7
=7EoO
-----END PGP SIGNATURE-----



More information about the pkg-perl-maintainers mailing list