Debian Bug report logs -
#794194
britney: Strip off Multi-Arch qualifiers in reverse dependency calculation
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Release Team <debian-release@lists.debian.org>:
Bug#794194; Package release.debian.org.
(Fri, 31 Jul 2015 07:09:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Martin Pitt <mpitt@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Release Team <debian-release@lists.debian.org>.
(Fri, 31 Jul 2015 07:09:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: release.debian.org
Severity: normal
Tags: patch
User: release.debian.org@packages.debian.org
Usertags: britney
Hello,
in Ubuntu's britney instance (which triggers autopkgtests for gating
unstable → testing promotion) we noticed that some reverse
dependencies were not being triggered, for example:
Package: ipython3
Depends: python3:any (>= 3.3.2-2~)
(Dep list trimmed). This is because britney's reverse dependency
calculation tries to look up "python3:any" in the package map, which
isn't a valid package name. Thus these multi-arch qualifiers should be
stripped off in register_reverses().
Attached patch does that.
Thanks for considering,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
[0001-Consider-packages-with-M-A-qualifiers-in-reverse-dep.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Release Team <debian-release@lists.debian.org>:
Bug#794194; Package release.debian.org.
(Sat, 16 Jan 2016 14:54:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Niels Thykier <niels@thykier.net>:
Extra info received and forwarded to list. Copy sent to Debian Release Team <debian-release@lists.debian.org>.
(Sat, 16 Jan 2016 14:54:03 GMT) (full text, mbox, link).
Message #10 received at 794194@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags -1 moreinfo
On Fri, 31 Jul 2015 09:06:59 +0200 Martin Pitt <mpitt@debian.org> wrote:
> Package: release.debian.org
> Severity: normal
> Tags: patch
> User: release.debian.org@packages.debian.org
> Usertags: britney
>
> Hello,
>
> in Ubuntu's britney instance (which triggers autopkgtests for gating
> unstable → testing promotion) we noticed that some reverse
> dependencies were not being triggered, for example:
>
> Package: ipython3
> Depends: python3:any (>= 3.3.2-2~)
>
> (Dep list trimmed). This is because britney's reverse dependency
> calculation tries to look up "python3:any" in the package map, which
> isn't a valid package name. Thus these multi-arch qualifiers should be
> stripped off in register_reverses().
>
> Attached patch does that.
>
> Thanks for considering,
>
> Martin
> --
> Martin Pitt | http://www.piware.de
> Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
Hi Martin,
Thanks for the patch.
Does this issue still apply to Britney at the current master branch? We
have removed register_reverses in favour of a different approach for
unrelated reasons.
Thanks,
~Niels
[signature.asc (application/pgp-signature, attachment)]
Added tag(s) moreinfo.
Request was from Niels Thykier <niels@thykier.net>
to 794194-submit@bugs.debian.org.
(Sat, 16 Jan 2016 14:54:03 GMT) (full text, mbox, link).
Reply sent
to Martin Pitt <mpitt@debian.org>:
You have taken responsibility.
(Tue, 09 Feb 2016 21:36:04 GMT) (full text, mbox, link).
Notification sent
to Martin Pitt <mpitt@debian.org>:
Bug acknowledged by developer.
(Tue, 09 Feb 2016 21:36:05 GMT) (full text, mbox, link).
Message #17 received at 794194-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hey Niels,
Niels Thykier [2016-01-16 14:34 +0000]:
> Does this issue still apply to Britney at the current master branch? We
> have removed register_reverses in favour of a different approach for
> unrelated reasons.
Sorry for the late answer. Indeed that whole code is gone, so this
patch doesn't apply any more. I can't say yet whether this also
applies to the new installability module -- I just saw that this
replaced the reverse dependency trees. I'm using that in my
autopkgtest module to trigger tests for reverse dependencies, so on
the next merge I need to port that. I guess it's not too hard to do, I
just need to dive into the code a bit.
I'll raise this again if this still is an issue with the new code,
until then we can close this.
Thanks!
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
[signature.asc (application/pgp-signature, inline)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 09 Mar 2016 07:52:04 GMT) (full text, mbox, link).
Bug unarchived.
Request was from Martin Pitt <martin.pitt@ubuntu.com>
to control@bugs.debian.org.
(Tue, 12 Jul 2016 07:39:20 GMT) (full text, mbox, link).
Bug reopened
Request was from Martin Pitt <martin.pitt@ubuntu.com>
to control@bugs.debian.org.
(Tue, 12 Jul 2016 07:39:21 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Release Team <debian-release@lists.debian.org>:
Bug#794194; Package release.debian.org.
(Tue, 12 Jul 2016 07:42:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Martin Pitt <mpitt@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Release Team <debian-release@lists.debian.org>.
(Tue, 12 Jul 2016 07:42:04 GMT) (full text, mbox, link).
Message #28 received at 794194@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tag -1 confirmed -moreinfo
Hello Niels,
Niels Thykier [2016-01-16 14:34 +0000]:
> Does this issue still apply to Britney at the current master branch? We
> have removed register_reverses in favour of a different approach for
> unrelated reasons.
Yes, it does still apply. I rebased Ubuntu's britney onto current
master, and the test_multiarch_dep() test fails. So I reopened the
bug.
Current britney uses apt_pkg.parse_depends() which already has an
option to strip off multi-arch qualifiers. It just needs to be
enabled.
Patch attached.
Thanks,
Martin
[1] https://git.launchpad.net/~ubuntu-release/+git/britney2-ubuntu/tree/tests/test_autopkgtest.py#n1233
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
[0001-Consider-packages-with-M-A-qualifiers-for-reverse-de.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]
Added tag(s) confirmed.
Request was from Martin Pitt <mpitt@debian.org>
to 794194-submit@bugs.debian.org.
(Tue, 12 Jul 2016 07:42:05 GMT) (full text, mbox, link).
Removed tag(s) moreinfo.
Request was from Martin Pitt <mpitt@debian.org>
to 794194-submit@bugs.debian.org.
(Tue, 12 Jul 2016 07:42:06 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Release Team <debian-release@lists.debian.org>:
Bug#794194; Package release.debian.org.
(Tue, 12 Jul 2016 16:54:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Niels Thykier <niels@thykier.net>:
Extra info received and forwarded to list. Copy sent to Debian Release Team <debian-release@lists.debian.org>.
(Tue, 12 Jul 2016 16:54:03 GMT) (full text, mbox, link).
Message #37 received at 794194@bugs.debian.org (full text, mbox, reply):
Control: tags -1 moreinfo
Martin Pitt:
> Control: tag -1 confirmed -moreinfo
>
> Hello Niels,
>
> Niels Thykier [2016-01-16 14:34 +0000]:
>> Does this issue still apply to Britney at the current master branch? We
>> have removed register_reverses in favour of a different approach for
>> unrelated reasons.
>
> Yes, it does still apply. I rebased Ubuntu's britney onto current
> master, and the test_multiarch_dep() test fails. So I reopened the
> bug.
>
Ok thanks. :)
> Current britney uses apt_pkg.parse_depends() which already has an
> option to strip off multi-arch qualifiers. It just needs to be
> enabled.
>
> Patch attached.
>
> Thanks,
>
> Martin
>
> [1] https://git.launchpad.net/~ubuntu-release/+git/britney2-ubuntu/tree/tests/test_autopkgtest.py#n1233
>
>
We need to handle the multi-arch dependencies explicitly as "pkg:amd64"
is *not* acceptable for an i386 packages (etc.). Unfortunately, the
proposed patch causes exactly that behaviour[1]. :-/
[1] We have a very crude test for this in
https://anonscm.debian.org/cgit/collab-maint/britney2-tests.git/tree/t/multi-arch-depends/
It probably only covers the most straight forward case.
Added tag(s) moreinfo.
Request was from Niels Thykier <niels@thykier.net>
to 794194-submit@bugs.debian.org.
(Tue, 12 Jul 2016 16:54:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, elbrus@debian.org, Debian Release Team <debian-release@lists.debian.org>:
Bug#794194; Package release.debian.org.
(Tue, 20 Dec 2016 10:48:20 GMT) (full text, mbox, link).
Acknowledgement sent
to Paul Gevers <elbrus@debian.org>:
Extra info received and forwarded to list. Copy sent to elbrus@debian.org, Debian Release Team <debian-release@lists.debian.org>.
(Tue, 20 Dec 2016 10:48:20 GMT) (full text, mbox, link).
Message #44 received at 794194@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: release.debian.org
Followup-For: Bug #794194
User: release.debian.org@packages.debian.org
Usertags: britney
Control: tags 794194 -moreinfo
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
While diving into debci/britney integration, I noticed that the Ubuntu patch to
fix this issue isn't up-to-date anymore in this bug. It seems that the current
implementation in Ubuntu is answering the concerns.
Paul
P.s. I may try to commit the fix myself to the GitHub archive, but I try
to focus a little bit, so I thought to at least let this bug know.
- -- System Information:
Debian Release: stretch/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.8.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAlhZDAgACgkQnFyZ6wW9
dQoI4Af+OCo5a5Bs9NEsj5gW/in6W9rub1cGDeP5yCxw3vXdX4R8xzbVAEXi4r6j
fYZOtoOdCU4Q+Mtp+AYwKqeG3cqtAwC9jhSje/8/5tAMbDCDl2e/EJvoJAA78udJ
b9b0TJI0SEk1vuYf1AXDKpednm4U1lhR+6N1JhEUZylsgbgv6ppPJpZr1Ufq8CvP
sI4wKpXBOAx5vq7/N+PqgOA1Is6/a9/1dc+5b206gH1UpU9t7Rp/KqpAbu++4RT2
YRKGzyTx0+IoHQtBNKALt+nJjoUNOo7XcUHeZlaV8CV1l3f1dBGN+n16iU8svcQE
WIFByifN0uvgRQrNoBdDDf7Vfj/eIw==
=AxHY
-----END PGP SIGNATURE-----
[0001-Consider-packages-with-M-A-qualifiers-for-reverse-de.patch (text/x-diff, attachment)]
Removed tag(s) moreinfo.
Request was from Paul Gevers <elbrus@debian.org>
to 794194-submit@bugs.debian.org.
(Tue, 20 Dec 2016 10:48:20 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 5 00:52:58 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.