Bug#761003: autopkgtest: @ shouldn't be satisfied by a virtual package
Martin Pitt
mpitt at debian.org
Wed Sep 10 06:05:34 UTC 2014
Control: tag -1 pending
Hello Niko,
Niko Tyni [2014-09-09 22:11 +0300]:
> Reading failure logs of Martin Pitt's recent mass test of pkg-perl
> packages [1], there seems to be a problem with testing binary packages
> that are also Provided as a virtual package. A few examples of such
> packages are libhttp-tiny-perl, libio-compress-perl, and libencode-perl.
>
> I can see that this is probably according to the spec
No, it's actually not: it says
``@`` stands for the package(s) generated by the source package
containing the tests
i. e. satisfying them with (unrelated) virtual packages is not the
intended meaning of this.
> I guess we could work around this by depending on '@ (>= 0~)'
That particular hack wouldn't work, as @ is just a plain text
substitution, it doesn't take any "qualifiers" into account. So this
needs to be fixed in autopkgtest itself:
http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=2b841c17c7
Thanks for pointing out this interesting edge case!
BTW, I'm now running the second half of the perl mass test with this
patch applied.
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the autopkgtest-devel
mailing list