From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 12 Sep 2025 11:34:44 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-qt1-f187.google.com (mail-qt1-f187.google.com [209.85.160.187]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 58C9Yhtk025822 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 12 Sep 2025 11:34:43 +0200 Received: by mail-qt1-f187.google.com with SMTP id d75a77b69052e-4b5f112dafesf45832121cf.1 for ; Fri, 12 Sep 2025 02:34:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1757669677; x=1758274477; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:references:in-reply-to:message-id:to:from:date:sender:from :to:cc:subject:date:message-id:reply-to; bh=iQRFSR9aB4/ks2eP3KwLC04P2foYPtDbkrc3O3OGjbo=; b=jBdGyaVa0BtIKKsCFGG+ptOrR3d/H6wBFR9eKyyV6eh8bQdjMA8gM0a5X4BmHqJxGv EA7moj/xVIfViBHfs+ghuTu8H94kn4GG57tqykrF/UUIzy3HQDAmkLehqyQQ1VoEp9Pa lM1Vl4wC3Ww2Vv3ocT2L/OyY6kaU3aWcNDKUBX2RvPlPeeLhxSA9jfZctNyR5PBpUZnZ ewHg+0WAMsIF07L4bheMsVaEnF2jR1NTVJVjylrdui8YXy9VNhfUpL1Aug1dQ9QQUlMd jUvzncTdmJDeei0s29RVXdEJSX9lNn/ewexHFdznUXnRsD0jWyrEp5nI6Ca+orhgtFaY RTdw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1757669677; x=1758274477; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:references:in-reply-to:message-id:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=iQRFSR9aB4/ks2eP3KwLC04P2foYPtDbkrc3O3OGjbo=; b=hS19kYvv9Wicl1WMTIiWAwBV37bbOVSmTDZvbuih1xDCisk3cPrr+rWVbcPZVPz3cY W7a8m6WgcNNfOQtG1AKybA4vwGm9pVZrttLjAwKMXm9BtQ0vluskfFp9NYImyPC2baDo bEcI8E3vAR1kJ16xENNkOBYrHCuU7JBqaqhZcF67M2T/p1mKifKonLmUzwYUCP4+PwrK 6MrJ02AuwgYPsGnq/iuObCTdBPVdoFvVR5fHqIbzDzkICgjsE6mWLllu6D2OTZeVKKAk bJmyJzN4ITot9vGxJ07XAFwRviZo/Ig3XBKKuvUS/cHpAmLxRTu2B0BFM8v53jyQuLC/ 7ySg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757669677; x=1758274477; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=iQRFSR9aB4/ks2eP3KwLC04P2foYPtDbkrc3O3OGjbo=; b=taVp5/2PVuWviAwbd+ZXFxiC8txS8xQIDA4mS5MsYlIG7wb+jnNYkYqq4pJZ/maOsK WXeL2wxM0EtJ0HXQgPzujBSRjRxnjcFZyuB9DUnX1Aj7HYDTjNLYKq7hk+kIdjr2YAMk bBZuKACesVAkasLjCDLe5xI9Q6iTVaRg0GUm7nvGoDF3OzOCnp95HiYAWGKvgGWJNMXQ C32HiVy5pZ7592KebMWsNDf/kyAjY0ET/j+8k5w6BCiRHOt+ont+xrjypVT/w/qTkEbG 1kk7y83PM285BkwBN4mDDaiDpBvMbK97h/oiE5po5pCgrLjp5WQ8szRyl4c957XbTAH7 0ibw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=1; AJvYcCUUOGEqlICPwZ3l/HCh7Pbta0hq98VuoybY5JDJRpuKg3P/N3iQGyem1BIPYkpCJdoyniZ8@ilbers.de X-Gm-Message-State: AOJu0YyDhj6eDvUHkSIh+o9O90A7C/OJNE5bRlTNBCFemLfeJK+lKYdN rzexTvj0c5/Q7WlVMxYbbSXKgfOc5ac01OgngFI35aNsDcFjVYcrESBA X-Google-Smtp-Source: AGHT+IGr/EaOsOTiEa/oDkBaX0WF6mVyZgAuSE8kdzeFA19G7MksVd9ldnb3jUTiZPr5MoyCwl5RZQ== X-Received: by 2002:ac8:7f41:0:b0:4b5:4874:4f8a with SMTP id d75a77b69052e-4b77cfcba10mr20835681cf.28.1757669677301; Fri, 12 Sep 2025 02:34:37 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h=AZMbMZcFSoHY9YvGNffdDfr4RzUHtPKrWOTznONrfTxkfvC9lw== Received: by 2002:a05:622a:9002:b0:4b0:7a8b:b32a with SMTP id d75a77b69052e-4b625baa078ls25142901cf.2.-pod-prod-00-us-canary; Fri, 12 Sep 2025 02:34:36 -0700 (PDT) X-Received: by 2002:a05:620a:a1d5:10b0:823:9bff:ab98 with SMTP id af79cd13be357-8239bffabddmr384129085a.17.1757669676544; Fri, 12 Sep 2025 02:34:36 -0700 (PDT) Date: Fri, 12 Sep 2025 02:34:35 -0700 (PDT) From: Srinuvasan Arjunan To: isar-users Message-Id: In-Reply-To: <96a80423-234b-4dcc-9620-5209f2744e4dn@googlegroups.com> References: <20250911130408.3836054-1-srinuvasan.a@siemens.com> <96a80423-234b-4dcc-9620-5209f2744e4dn@googlegroups.com> Subject: Re: [PATCH 0/1] Add SBOM generation with debsbom MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_63380_466257068.1757669675580" X-Original-Sender: srinuvasanasv@gmail.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: Klq96UapsXjF ------=_Part_63380_466257068.1757669675580 Content-Type: multipart/alternative; boundary="----=_Part_63381_2057574971.1757669675580" ------=_Part_63381_2057574971.1757669675580 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, When generating SBOM for foreign architectures (e.g., arm64), some= =20 Python packages fail to build. One such example is=20 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= =20 it is not going to be installed | Depends: python3-setuptools:arm6= 4 | Depends:=20 pybuild-plugin-pyproject:arm64 | Depends: python3-hatchling:arm64= =20 but it is not installable The fix is to add the :native suffix for Python build dependencies. For=20 example: DEBIAN_BUILD_DEPENDS =3D "debhelper (>=3D 11~), \ dh-python, \ python3-all:native, \ python3-setuptools, \ pybuild-plugin-pyproject, \ python3-poetry:native, \ python3-py-serializable:native, \ python3-packageurl-python:native, \ python3-sortedcontainers, \ python3-ddt:native, \ python3-defusedxml:native, \ python3-license-expression:native, \ python3-jsonschema:native, \ python3-lxml:native, \ " In short, Python recipes required for the build must explicitly use the=20 :native suffix to avoid cross-architecture dependency resolution issues. Similar fixes are needed for all the python recipes in this patch. Many thanks, Srinu On Friday, September 12, 2025 at 1:47:13=E2=80=AFPM UTC+5:30 Srinuvasan Arj= unan=20 wrote: Hi Steiger, In this patch series, the first patch (*meta: package Python dependencies= =20 for SBOM generation*) does not work on foreign architectures. I have fixed= =20 those cross-build issues =E2=80=94 shall I send a v2 of this patch in the s= eries? =20 Many thanks, Srinu On Thursday, September 11, 2025 at 6:31:54=E2=80=AFPM UTC+5:30 srinuv...@si= emens.com=20 wrote: From: srinuvasan =20 Includes additional fixes alongside the following patch series=20 https://groups.google.com/g/isar-users/c/4JntAI3gL1s=20 srinuvasan (1):=20 meta: derive ROOTFS_DISTRO correctly in sbom-chroot's=20 do_prepare_rootfs=20 meta/recipes-devtools/sbom-chroot/sbom-chroot.bb | 5 -----=20 1 file changed, 5 deletions(-)=20 --=20 2.39.5=20 --=20 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 e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= cce16b7c-3500-494e-b8ae-3f4365909124n%40googlegroups.com. ------=_Part_63381_2057574971.1757669675580 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

=C2=A0 =C2=A0 =C2=A0 =C2=A0 When generating SBOM for f= oreign architectures (e.g., arm64), some Python packages fail to build. One= such example is python3-cyclonedx-python-lib. During arm64 builds it throw= s the below error:

| The following packages have unmet dependencies:
| =C2=A0s= build-build-depends-main-dummy:arm64 : Depends: dh-python:arm64
| =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Depend= s: python3-all:arm64 but it is not going to be installed
| =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Depends: pyth= on3-setuptools:arm64
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0Depends: pybuild-plugin-pyproject:arm64
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0Depends: python3-hatchling:arm64 but it is not installable


The fix is to add the :native suffix for= Python build dependencies. For example:

DEBIAN_BUILD_DEPENDS =3D "debhelper (>=3D 11~), \
<= /span>=C2=A0 =C2=A0 dh-python, \
=C2=A0 =C2=A0 python3-all:native, \=C2=A0 =C2=A0 python3-setuptools, \
=C2=A0 =C2=A0 pybuild-plugin-p= yproject, \
=C2=A0 =C2=A0 python3-poetry:native, \
=C2=A0 =C2=A0 = python3-py-serializable:native, \
=C2=A0 =C2=A0 python3-packageurl-pyt= hon:native, \
=C2=A0 =C2=A0 python3-sortedcontainers, \
=C2=A0 = =C2=A0 python3-ddt:native, \
=C2=A0 =C2=A0 python3-defusedxml:native, = \
=C2=A0 =C2=A0 python3-license-expression:native, \
=C2=A0 =C2= =A0 python3-jsonschema:native, \
=C2=A0 =C2=A0 python3-lxml:native, \<= br />"

In short, Python recipes required for the build must expl= icitly use the :native suffix to avoid cross-architecture dependency resolu= tion issues.

Similar fixes are needed for all the python recipes in this patch.

Many thanks= ,
Srinu

On = Friday, September 12, 2025 at 1:47:13=E2=80=AFPM UTC+5:30 Srinuvasan Arjuna= n wrote:
Hi Steiger,

In this patch series, the first patch (meta: p= ackage Python dependencies for SBOM generation) does not work on forei= gn architectures. I have fixed those cross-build issues =E2=80=94 shall I s= end a v2 of this patch in the series?=C2=A0=C2=A0

Many thanks,
Srinu


On Thursday, September 11, 2025 at 6:31:54=E2=80=AFPM UTC+5:30 srinuv...@siemens.com wrote:
From: srinuvasan <srinuv...@= siemens.com>

Includes additional fixes alongside the following patch series
https://groups.google.com/g/isar-users/c/4J= ntAI3gL1s

srinuvasan (1):
meta: derive ROOTFS_DISTRO correctly in sbom-chroot's
do_prepare_rootfs

meta/recipes-devtools/sbom-chroot/sbom-chroot.bb | 5 -----
1 file changed, 5 deletions(-)

--=20
2.39.5

--
You received this message because you are subscribed to the Google Groups &= quot;isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-use= rs+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-use= rs/cce16b7c-3500-494e-b8ae-3f4365909124n%40googlegroups.com.
------=_Part_63381_2057574971.1757669675580-- ------=_Part_63380_466257068.1757669675580--