On Mon Aug 10, 2026 at 8:19 PM CEST, Trevor Gamblin wrote:
> The libpng ptest suite fails intermittently on the Autobuilder. This
> seems to be tied to the pngimage-full test, which is the last one to run
> and differs from pngimage-quick by using an --exhaustive flag to
> indicate that a very wide variety of feature/configuration combos for
> the libpng library should be tested. Disable the suite by patching
> Makefile.am to exclude it, then conditionally include the patch for
> riscv64 systems with a SRC_URI override.
>
> For comparison, here's what the test suite output looks like with the
> patch applied (note the last handful of results before the summary):
>
> |PASS: tests/pngunknown-discard
> |PASS: tests/pngunknown-if-safe
> |PASS: tests/pngunknown-sAPI
> |PASS: tests/pngunknown-sTER
> |PASS: tests/pngunknown-save
> |PASS: tests/pngunknown-vpAg
> |PASS: tests/pngimage-quick
> |============================================================================
> |Testsuite summary for libpng 1.6.58
> |============================================================================
> |# TOTAL: 35
> |# PASS: 35
> |# SKIP: 0
> |# XFAIL: 0
> |# FAIL: 0
> |# XPASS: 0
> |# ERROR: 0
> |============================================================================
> |make[1]: Leaving directory '/usr/lib/libpng/ptest/src'
> |DURATION: 464
> |END: /usr/lib/libpng/ptest
> |2026-08-10T18:09
> |STOP: ptest-runner
> |TOTAL: 1 FAIL: 0
> |root@qemuriscv64:~#
>
> Signed-off-by: Trevor Gamblin <[email protected]>
> ---
Hi Trevor,
Thanks for your patch.
It looks like the inner patch fails to apply, probably because of your
other libpng changes:
ERROR: libpng-1.6.58-r0 do_patch: Applying patch
'/srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-multimedia/libpng/files/0001-Makefile.am-drop-pngimage-full-from-TESTS.patch'
on target directory
'/srv/pokybuild/yocto-worker/qemuriscv64/build/build/tmp/work/riscv64imafdc-poky-linux/libpng/1.6.58/sources/libpng-1.6.58'
CmdError('quilt --quiltrc
/srv/pokybuild/yocto-worker/qemuriscv64/build/build/tmp/work/riscv64imafdc-poky-linux/libpng/1.6.58/recipe-sysroot-native/etc/quiltrc
push', 1, 'stdout: Applying patch
0001-Makefile.am-drop-pngimage-full-from-TESTS.patch
patching file Makefile.am
Hunk #1 FAILED at 109.
1 out of 1 hunk FAILED -- rejects in file Makefile.am
Patch 0001-Makefile.am-drop-pngimage-full-from-TESTS.patch does not apply
(enforce with -f)
https://autobuilder.yoctoproject.org/valkyrie/#/builders/45/builds/2113
https://autobuilder.yoctoproject.org/valkyrie/#/builders/58/builds/2107
Can you have a look at the issue?
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#243395):
https://lists.openembedded.org/g/openembedded-core/message/243395
Mute This Topic: https://lists.openembedded.org/mt/120690758/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-