Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <Moritz.Haase@bmw.de>, <openembedded-core@lists.openembedded.org>
Cc: <alex.kanavin@gmail.com>
Subject: Re: [OE-core] [PATCH v2] json-c: upgrade 0.18 -> 0.19
Date: Thu, 02 Jul 2026 09:47:22 +0200	[thread overview]
Message-ID: <DJNX3WT8EPIC.1IJ439OLYUYFU@bootlin.com> (raw)
In-Reply-To: <20260701090208.3598070-1-Moritz.Haase@bmw.de>

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



      reply	other threads:[~2026-07-02  7:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-01  9:02 [PATCH v2] json-c: upgrade 0.18 -> 0.19 Moritz Haase
2026-07-02  7:47 ` Mathieu Dubois-Briand [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=DJNX3WT8EPIC.1IJ439OLYUYFU@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=Moritz.Haase@bmw.de \
    --cc=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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