[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1028184: unsatisfiable cross Build-Depends: python3-jinja2



Hi Helmut,

On Sun, Jan 08, 2023 at 07:44:16AM +0100, Helmut Grohne wrote:
> Source: linux
> Version: 6.1.4-1
> Tags: patch
> Severity: important
> Justification: breaks architecture bootstrap
> User: helmutg@debian.org
> Usertags: rebootstrap
> User: debian-cross@lists.debian.org
> Usertags: cross-satisfiability
> 
> Hi,
> 
> the addition of the python3-jinja2 build dependency happens to break
> architecture bootstrap. It's not as bad as it may sound initially
> though.
> 
> python3-jinja2 is an architecture-dependent package due to being a C
> extension. As such it is installed for the host architecture by default.
> Thus apt tries to install the whole python stack for the host
> architecture and that doesn't go well. We cannot make python3-jinja2
> Multi-Arch: foreign, because it really isn't, so consumers (like linux)
> have to choose how they use it instead. In this case, it's meant to be
> run during build and that means it should be annotated :native. While at
> it, I think that it is more honest to also apply this to python3 as well
> in order to disallow a host architecture Python interpreter.
> 
> This happens to be easy to work around in rebootstrap, so don't upload
> linux just for this bug, but please include the patch in your next
> regular upload to unstable.

Thanks, picked it up locally, and will later push to sid branch and
will be included in the next unstable upload.

Regards,
Salvatore


Reply to: