XPost: linux.debian.bugs.dist
From:
[email protected]
Hi,
On Fri, 4 Nov 2022 06:58:07 +0100 Helmut Grohne <
[email protected]> wrote:
I think dpkg-checkbuildeps should not reject a Multi-Arch: foreign package satisfying a build dependency annotated :native. The internal resolver of sbuild definitely considers this valid and iirc, apt and dose also think this is valid.
While it is kinda useless, I see two reasons to allow it.
1. Migrating packages to Multi-Arch: foreign. As packages are not yet
fully tagged foreign, maintainers add :native annotations to help
cross building. Once their dependency gets annotated foreign, the
dependee FTBFS. This makes the transition unnecessarily hard.
2. In some ecosystems, we have a mix of foreign and same packages. This
is popular in scripted languages with extension modules. If you need
parts of this stack as a build tool, it is far more convenient to
just annotate the whole stack :native than checking which of it is
modules and which of it is extensions.
Hope this makes sense. Ccing to [email protected] to get more eyeballs on this.
3. Backporting source packages in situations where a build dependency is
not yet marked Multi-Arch: foreign in stable but was marked as Multi-Arch:
foreign in unstable. In those cases, it would be nice if one could just
add :native to the build dependency such that the same source package can
be built on both stable and unstable without modifications.
This idea came up when Michael Tokarev asked how to backport src:samba in #debian-devel.
Thanks!
cheers, josch
--==============R47774004027049216=MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: signature
Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmeEYyYACgkQ8sulx4+9 g+EIIg/+PHeS/wqxpfaId4Ta4Ir4S7Du8+h/QucbXm7kQjGTJ30hIzM1unNOoVa/ vDPkXl/b6G0qBg+WHQWdriu+tC+ong9PdYIOzbsh9HiNZUL3/Vf60L5pxXsl4p3Y Ke47uUjd4a41zejPJw201kBQ1mt2hsPcQ2b9io5LtVHluC9XDKGs7k6YNSm9PJfZ T3YPXe1oiO8cL9fdN64gd8qij1qnTiAJn3I8cghg4QgrC6+UeT3LAjUe87+oCRSS Igo5m4hB6VVlq1rL4wsWcz3DO/xeTjLTGCV04+UF/d6+4htXZyb1Tgpcs3eCqqr6 JZONSo9CilPp3E+Hzql4odpOHkTZbJVHfw6W4gvlgkYhgPdejaQL19EAB1XHCQz7 LKd9yiq3rNiv+Qay3XnMK2pnUmvCg2EaJin1UW1GOdtnlaQy9lyajm5YJTlaVC3f 8d3zs8HIhesh6/fOj95/s1WT4SkNHim3FN6Fa3HqACpHrbNWASo7EZ48tqVXJPXc +EXYz+3FtDYKRYn+QvBfKUX4K3X/YICdxCBoYTOS6BRucQdSyAY8xCJTH5F4/5TV 5+Hs1x1cbghXwVxVlpVqtYWfGBwAYSDsO3gHNyAxYCazCvpi4kc1AMQwtC3OoNHv ewoELUmkoYkjOJWnsxuaWl2G4RYT/54WnlPnZaDyjan9ObHaGAc=
=X3+h
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)