From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "Pratik Farkase" <pratik.farkase@est.tech>,
<openembedded-core@lists.openembedded.org>
Cc: <pratik.farkase@ericsson.com>
Subject: Re: [OE-core][PATCH v3] libffi: add ptest support
Date: Mon, 11 May 2026 08:09:55 +0200 [thread overview]
Message-ID: <DIFMGYW1190K.3MKM3KN0DWQMB@bootlin.com> (raw)
In-Reply-To: <20260508113653.21478-1-pratik.farkase@est.tech>
On Fri May 8, 2026 at 1:36 PM CEST, Pratik Farkase wrote:
> Add ptest support for libffi using all upstream test suites: bhaible,
> call, closures, complex, go, and threads.
>
> Tests are compiled on-target against the installed libffi. Headers
> (including the generated fficonfig.h) and a linker symlink are installed
> in the ptest directory to avoid depending on libffi-dev.
>
> Tested on qemux86-64 with ptest-runner: 199 PASS, 0 FAIL, 2 SKIP (349s).
>
> Signed-off-by: Pratik Farkase <pratik.farkase@est.tech>
> ---
Hi Pratik,
Thanks for the patch.
Do you have any clue about why this is triggering some selftest
failures? I'm a bit surprised by that, but I confirm it comes from this
patch:
2026-05-10 16:16:13,784 - oe-selftest - INFO - locales.LocalesTest.test_locales_off (subunit.RemotedTestCase)
2026-05-10 16:16:13,787 - oe-selftest - INFO - ... FAIL
...
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-c, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-el-gr, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-en-gb, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-es-es, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-fa-ir, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-hr-hr, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-ja-jp.euc-jp, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-lt-lt, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-pl-pl, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-pl-pl.iso-8859-2, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-ru-ru, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: Fatal QA errors were found, failing task.
...
2026-05-10 16:19:03,004 - oe-selftest - INFO - locales.LocalesTest.test_locales_on (subunit.RemotedTestCase)
2026-05-10 16:19:03,005 - oe-selftest - INFO - ... FAIL
...
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-c, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-el-gr, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-en-gb, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-es-es, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-fa-ir, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-hr-hr, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-ja-jp.euc-jp, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-lt-lt, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-pl-pl, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-pl-pl.iso-8859-2, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.88.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-ru-ru, but it isn't a build dependency? [build-deps]
NOTE: Setscene tasks completed
https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/3929
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3827
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/3696
I also note some is install error:
ERROR: lib64-core-image-sato-sdk-1.0-r0 do_rootfs: Could not invoke dnf. Command '...' returned 1:
...
Error: Transaction test error:
file /usr/bin/g++ conflicts between attempted installs of lib64-g++-symlinks-15.2.0-r0.x86_64 and g++-symlinks-15.2.0-r0.core2_32
file /usr/bin/cpp conflicts between attempted installs of cpp-symlinks-15.2.0-r0.core2_32 and lib64-cpp-symlinks-15.2.0-r0.x86_64
file /usr/bin/gcc conflicts between attempted installs of lib64-gcc-symlinks-15.2.0-r0.x86_64 and gcc-symlinks-15.2.0-r0.core2_32
Finally, I note a ptest failures (on riscv64). This one look like
intermittent, if it happens too often, we might want to exclude the
failing test:
Failed ptests:
{'libffi': ['libffi.complex/complex_int']}
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1576
I will try to run more tests, as again, I'm a bit surprised by some of
these failures.
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-05-11 6:10 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-07 8:52 [OE-core][PATCH v1] libffi: add ptest support Pratik Farkase
2026-05-08 10:24 ` [OE-core][PATCH v2] " Pratik Farkase
2026-05-08 11:25 ` Marko, Peter
2026-05-08 11:38 ` Pratik Farkase
2026-05-08 11:36 ` [OE-core][PATCH v3] " Pratik Farkase
2026-05-11 6:09 ` Mathieu Dubois-Briand [this message]
2026-05-11 9:00 ` Pratik Farkase
2026-05-11 12:25 ` Mathieu Dubois-Briand
2026-05-12 8:30 ` Pratik Farkase
2026-05-12 15:16 ` Mathieu Dubois-Briand
2026-05-13 5:33 ` Mathieu Dubois-Briand
2026-05-13 8:27 ` Pratik Farkase
2026-05-13 11:31 ` Mathieu Dubois-Briand
2026-05-13 13:30 ` Pratik Farkase
2026-05-13 13:27 ` [OE-core][PATCH v4] " Pratik Farkase
2026-05-20 16:02 ` Ross Burton
2026-05-21 8:30 ` Pratik Farkase
2026-05-25 9:30 ` [OE-core][PATCH v5] " Pratik Farkase
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=DIFMGYW1190K.3MKM3KN0DWQMB@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=pratik.farkase@ericsson.com \
--cc=pratik.farkase@est.tech \
/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