Bug#866991: libcpan-meta-perl: uninstallable in unstable

gregor herrmann gregoa at debian.org
Mon Jul 3 16:54:20 UTC 2017


On Mon, 03 Jul 2017 19:32:49 +0300, Niko Tyni wrote:

> > I see two possibilities:
> > - lower the version in the Replaces/Breaks to <= 1.4414-1, as that's
> >   the last separateky packaged version un Debian; not as
> >   "theoretically clean" as breaking the "real" version but should be
> >   safe within the Debian universe and allows us to fix this now;
> > - wait a couple of weeks: when perl 5.26 enters unstable this
> >   problems fixes itself; but then the version in Breaks/Replaces and
> >   Provides is still arbitrary/wrong.
> > 
> > I tend to prefer the first solution but I'm happy to hear about
> > others.
> I'd go with lowering the version. The other one is not much of a fix :)

Right :)
 
> > For convenience, here's the diff which I just pushed to the git repo
> > on Alioth (with a slightly different version to also catch
> > theoretical 1.4414-1+localsomething versions):
> Oh there's versioned Provides here too! 

Yeah, I guess I wanted to get fancy as well when I introduced it :)

> The diff looks OK to me fwiw.

Cool, thanks for checking.


And now *drumroll* I can't upload the package because we have quite
interesting autopkgtest failures. First three failed tests in the
smoke test, and then:

autopkgtest [18:42:52]: test command3: /usr/share/pkg-perl-autopkgtest/runner runtime-deps-and-recommends
autopkgtest [18:42:52]: test command3: [-----------------------
dpkg-query: package 'libcpan-meta-perl' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.

#   Failed test 'Got status information for package libcpan-meta-perl'
#   at /usr/share/pkg-perl-autopkgtest/runtime-deps-and-recommends.d/syntax.t line 81.

#   Failed test 'Got file list for package libcpan-meta-perl'
#   at /usr/share/pkg-perl-autopkgtest/runtime-deps-and-recommends.d/syntax.t line 87.
# Looks like you failed 2 tests of 4.
/usr/share/pkg-perl-autopkgtest/runtime-deps-and-recommends.d/syntax.t .. 
1..4
ok 1 - Package libcpan-meta-perl is known to dpkg
not ok 2 - Got status information for package libcpan-meta-perl
not ok 3 - Got file list for package libcpan-meta-perl
ok 4 # skip nothing to test
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests 
	(less 1 skipped subtest: 1 okay)

Test Summary Report
-------------------
/usr/share/pkg-perl-autopkgtest/runtime-deps-and-recommends.d/syntax.t (Wstat: 512 Tests: 4 Failed: 2)
  Failed tests:  2-3
  Non-zero exit status: 2
Files=1, Tests=4,  0 wallclock secs ( 0.02 usr  0.02 sys +  0.02 cusr  0.00 csys =  0.06 CPU)
Result: FAIL


Not installed?! Let's look:


# dpkg -l libcpan-meta-perl
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version              Architecture         Description
+++-===============================-====================-====================-====================================================================
un  libcpan-meta-perl               <none>               <none>               (no description available)


Is this the next fallout of the versioned provides in
perl-modules-5.24?


Also interesting:

# aptitude show libcpan-meta-perl
Package: libcpan-meta-perl        
Version: 2.150010-2
State: not installed
Priority: optional
Section: perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Architecture: all
Uncompressed Size: 379 k
Depends: perl, perl (>= 5.17.1) | libcpan-meta-requirements-perl (>= 2.121), perl (>= 5.19.9) | libcpan-meta-yaml-perl (>= 0.011), perl (>= 5.21.5) |
         libjson-pp-perl (>= 2.27300)
Breaks: libparse-cpan-meta-perl (< 1.4414+)
Replaces: libparse-cpan-meta-perl (< 1.4414+)
Provides: libparse-cpan-meta-perl (= 2.150010)
Provided by: perl-modules-5.24 (5.24.1-5)
Description: Perl module to access CPAN distributions metadata


So "State: not installed", "Provided by: perl-modules-5.24 (5.24.1-5)",
but the Breaks/Replaces from the newly built local package and
the Version as well?


> We might want to automatically calculate the Provided version from the
> main version as it looks like they're synced nowadays.  Otherwise the
> Provided version will probably start lagging when people don't notice
> it while importing new upstream releases.

True, changed to
Provides: libparse-cpan-meta-perl (= ${source:Upstream-Version})


Cheers,
gregor


-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Cat Stevens: 100 I Dream
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170703/5a6189ad/attachment.sig>


More information about the pkg-perl-maintainers mailing list