From: "'MOESSBAUER, Felix' via isar-users" <isar-users@googlegroups.com>
To: "isar-users@googlegroups.com" <isar-users@googlegroups.com>,
"wzh@ilbers.de" <wzh@ilbers.de>
Cc: "Niedermayr, BENEDIKT" <benedikt.niedermayr@siemens.com>,
"Kiszka, Jan" <jan.kiszka@siemens.com>,
"cedric.hombourger@siemens.com" <cedric.hombourger@siemens.com>
Subject: Re: [PATCH 1/2] do not add cross profile when building native package
Date: Tue, 4 Nov 2025 14:20:21 +0000 [thread overview]
Message-ID: <13b33434835634a6aa803db8b99c06efdbf2717e.camel@siemens.com> (raw)
In-Reply-To: <414bb670-e392-49a9-828f-f0528b765e30@ilbers.de>
On Tue, 2025-11-04 at 13:25 +0100, Zhihang Wei wrote:
> Hi,
>
> The patch caused one test failed on fast CI, and another failed on full CI.
>
> For fast CI, the failed test case is citest.py:CrossTest.test_cross, when
> building target 'mc:phyboard-mira-bookworm:isar-image-base'. Log follows:
Hi, thanks for this report. Unfortunately I'm still not able to execute
the whole testsuite due to the issues reported in the other thread.
With the reproducer from below I was able to pin-point the issue.
Actually, it fails because the cross-profile variant of the kernel
build does not set the cross profile. This just worked previously, as
the cross profile was accidentally added for that special case as well
- which is no longer true.
The following patch fixes this for me. I'll add it to the series and
send a v2. Hopefully this will then pass the CI.
diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-
kernel/linux/linux-custom.inc
index f2892921..c3fe4fc1 100644
--- a/meta/recipes-kernel/linux/linux-custom.inc
+++ b/meta/recipes-kernel/linux/linux-custom.inc
@@ -221,6 +221,7 @@ def get_additional_build_profiles(d):
KERNEL_LIBC_DEV_ARCH = "${@ bb.utils.contains('DEB_BUILD_PROFILES',
'libcdev-arch-all', 'all\nMulti-Arch: foreign', 'any', d) }"
DEB_BUILD_PROFILES += "${@get_additional_build_profiles(d)}"
+DEB_BUILD_PROFILES:append:cross-profile = " cross"
Best regards,
Felix
>
> 21:11:12 (07/22)
> /build/isar_wzh_3_fast/21/testsuite/citest.py:CrossTest.test_cross: STARTED
> 21:52:04 (07/22)
> /build/isar_wzh_3_fast/21/testsuite/citest.py:CrossTest.test_cross:
> FAIL: Bitbake failed (2451.57 s)
>
> [stdlog] 2025-11-03 21:45:44,063 avocado.app cibuilder L0322 ERROR|
> ERROR: mc:phyboard-mira-bookworm:example-module-phy-1.0-r0
> do_dpkg_build:
> ExecutionError('/build/isar_wzh_3_fast/21/build/tmp/work/debian-bookworm-armhf/example-module-phy/1.0-r0/temp/run.dpkg_runbuild.2797715',
> 3, None, None)
> [stdlog] 2025-11-03 21:45:44,063 avocado.test cibuilder L0320 INFO | Log
> data follows:
> [stdlog] 2025-11-03 21:45:44,063 avocado.app cibuilder L0322 ERROR|
> ERROR: Logfile of failure stored in:
> /build/isar_wzh_3_fast/21/build/tmp/work/debian-bookworm-armhf/example-module-phy/1.0-r0/temp/log.do_dpkg_build.2797715
>
> DEBUG: Executing python function sstate_task_prefunc
> DEBUG: Python function sstate_task_prefunc finished
> DEBUG: Executing python function do_dpkg_build
> DEBUG: Executing shell function dpkg_schroot_create_configs
> Creating
> /etc/schroot/chroot.d/isar-jenkins-c83a1f30-2c3c-4e94-9101-7bae88f0c388-2797715
> DEBUG: Shell function dpkg_schroot_create_configs finished
> DEBUG: Executing shell function dpkg_runbuild
> sbuild (Debian sbuild) 0.85.0 (04 January 2023) on arqalyq.m.ilbers.de
>
>
--
Siemens AG
Linux Expert Center
Friedrich-Ludwig-Bauer-Str. 3
85748 Garching, Germany
--
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/13b33434835634a6aa803db8b99c06efdbf2717e.camel%40siemens.com.
prev parent reply other threads:[~2025-11-04 14:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-03 16:01 'Felix Moessbauer' via isar-users
2025-11-03 16:01 ` [PATCH 2/2] propagate distro-specific dependencies of arch all packages 'Felix Moessbauer' via isar-users
2025-11-03 16:05 ` [PATCH 1/2] do not add cross profile when building native package 'Jan Kiszka' via isar-users
2025-11-04 12:25 ` Zhihang Wei
2025-11-04 14:20 ` 'MOESSBAUER, Felix' via isar-users [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=13b33434835634a6aa803db8b99c06efdbf2717e.camel@siemens.com \
--to=isar-users@googlegroups.com \
--cc=benedikt.niedermayr@siemens.com \
--cc=cedric.hombourger@siemens.com \
--cc=felix.moessbauer@siemens.com \
--cc=jan.kiszka@siemens.com \
--cc=wzh@ilbers.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox