#1105133 pysmbc FTCBFS: multiple reasons

Package:
src:pysmbc
Source:
src:pysmbc
Submitter:
Helmut Grohne
Date:
2025-05-12 04:57:02 UTC
Severity:
normal
Tags:
#1105133#5
Date:
2025-05-11 20:24:06 UTC
From:
To:
pysmbc fails to cross build for a number of reasons.

On the surface, it's python3-pytest dependency is not satisfiable. One
would expect it to not be needed during cross builds and indeed,
annotating it <!nocheck> gets rid of it without affecting binary output.

Then, the python3-all-dev dependency needs to be converted for cross
compilation. It becomes "python3-all-dev:any, libpython3-all-dev".

Last but not least, setup.py hard codes the build architecture
pkg-config and therefore fails finding required packages. I propose
making it substitable via the environment and providing a suitable
substitution.

You may find all of the proposed changes in the attached debdiff. Once
applying it, pysmbc becomes cross buildable.

Helmut