[Pkg-utopia-maintainers] Bug#1025606: Bug#1025606: network-manager: build-depends on transitional policykit-1 package

Michael Biebl biebl at debian.org
Tue Dec 6 16:47:21 GMT 2022


Hi Simon

Am 06.12.22 um 16:32 schrieb Simon McVittie:
> Source: network-manager
> Version: 1.40.6-1
> Severity: normal
> User: pkg-utopia-maintainers at lists.alioth.debian.org
> Usertags: policykit-1
> Control: block 1025540 by -1
> 
> This package has a Build-Depends on the transitional package policykit-1,
> which has been separated into polkitd, pkexec and (deprecated)
> polkitd-pkla packages. The runtime dependency was already switched to
> polkitd | policykit-1.
> 
> If this package requires polkit at build-time for the gettext
> extensions polkit.its and polkit.loc, please build-depend on both
> libpolkit-gobject-1-dev and polkitd, even if the package does not
> actually depend on libpolkit-gobject-1 at runtime. This is because
> the gettext extensions are currently in polkitd, but might be moved to
> libpolkit-gobject-1-dev in future (see #955204).
> 
> If it needs polkitd for some other reason, please build-depend on
> polkitd. I'm assuming it probably doesn't need pkexec at build-time?
> 
> For packages that are expected to be backported to bullseye, it's OK to
> use an alternative dependency like polkitd | policykit-1. The backports
> build-dependency resolver is willing to consider less-preferred alternative
> build-dependencies, unlike the unstable build-dependency resolver.

The policykit-1 Build-Depends is indeed for the polkit.its file.
Unfortunately, alternative build-depends do not seem to work (at least 
sbuild failed with Build-Depends: polkitd | policykit-1)

So I kept policykit-1 as b-dep, as NM get's regular stable backports.

Either PolicyKit get's a stable backport itself, or I'll postpone the 
b-dep switch to bookworm+1.

Regards,
Michael


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20221206/d6ff3a67/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list