On Wed Jul 1, 2026 at 11:02 AM CEST, Moritz Haase via lists.openembedded.org
wrote:
> Release notes are available at [0].
>
> Newly added tests (see [1]) require the 'json_parse' app at (test) runtime.
> Thus, apps are now being built and the 'json_parse' app is deployed in the
> 'ptest' package. We do not package the apps separately as upstream doesn't
> consider them to be ready for that (see [2]). This approach is based on the
> discussion in [3].
>
> [0]: https://github.com/json-c/json-c/blob/json-c-0.19/ChangeLog
> [1]:
> https://github.com/json-c/json-c/blob/d9d8cab82291637671f6c90cf06e578750a08718/tests/test_json_parse_cli.test#L18
> [2]:
> https://github.com/json-c/json-c/blob/d9d8cab82291637671f6c90cf06e578750a08718/apps/CMakeLists.txt#L122-L124
> [3]: https://lists.openembedded.org/g/openembedded-core/topic/120026557#
>
Hi Moritz,
Thanks for the new version.
> do_install_ptest() {
> - install -d ${D}/${PTEST_PATH}/tests
> + install -d ${D}/${PTEST_PATH}/{apps,tests}
> +
> + # The 'json_parse_cli' test executes the 'json_parse' app via
> '../apps/json_parse', so we
> + # package it accordingly.
> + install ${B}/apps/json_parse ${D}/${PTEST_PATH}/apps
> +
It looks like install task is failing on the autouilder:
ERROR: json-c-0.19-r0 do_install_ptest_base: Execution of
'/srv/pokybuild/yocto-worker/qemux86-64-x32/build/build/tmp/work/x86_64_x32-poky-linux-gnux32/json-c/0.19/temp/run.do_install_ptest_base.1456696'
failed with exit code 1
...
| install: target
'/srv/pokybuild/yocto-worker/qemux86-64-x32/build/build/tmp/work/x86_64_x32-poky-linux-gnux32/json-c/0.19/image//usr/lib/json-c/ptest/tests':
No such file or directory
| WARNING: exit code 1 from a shell command.
https://autobuilder.yoctoproject.org/valkyrie/#/builders/11/builds/4006
https://autobuilder.yoctoproject.org/valkyrie/#/builders/22/builds/4068
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3946
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/3959
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 (#240021):
https://lists.openembedded.org/g/openembedded-core/message/240021
Mute This Topic: https://lists.openembedded.org/mt/120061116/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-