On Friday, September 12, 2025 at 4:32:56 PM UTC+5:30 MOESSBAUER, Felix wrote:
On Fri, 2025-09-12 at 02:34 -0700, Srinuvasan Arjunan wrote:
> Hi,
>
>         When generating SBOM for foreign architectures (e.g., arm64), some Python packages fail to build. One such example is python3-cyclonedx-python-lib. During arm64 builds it throws the below error:
>
> | The following packages have unmet dependencies:
> |  sbuild-build-depends-main-dummy:arm64 : Depends: dh-python:arm64
> |                                          Depends: python3-all:arm64 but it is not going to be installed
> |                                          Depends: python3-setuptools:arm64
> |                                          Depends: pybuild-plugin-pyproject:arm64
> |                                          Depends: python3-hatchling:arm64 but it is not installable
>
>

Hi, this happens because we cross-compile the arch:all package (which
we shoudn't) and also bitbake dependencies are not propagated
correctly. Fixing all that has been taken care of in the following
patches:

- handle DPKG_ARCH=all case for transitive deps
- dpkg-raw: add files to source package

These are not yet applied (but hopefully they will be soon).

Felix


--
Siemens AG
Linux Expert Center
Friedrich-Ludwig-Bauer-Str. 3
85748 Garching, Germany


   Thanks for the update.

   Many thanks,
   Srinu 

--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/be66bd4e-50e9-427b-9eb3-03ef84284cden%40googlegroups.com.