<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/json-c, branch master-next</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=master-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=master-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2025-07-01T07:49:37+00:00</updated>
<entry>
<title>json-c: Remove icecc specific comment</title>
<updated>2025-07-01T07:49:37+00:00</updated>
<author>
<name>Moritz Haase</name>
<email>Moritz.Haase@bmw.de</email>
</author>
<published>2025-06-27T06:13:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=81d51469f6559c93a35ffbc7a016672864800ba4'/>
<id>urn:sha1:81d51469f6559c93a35ffbc7a016672864800ba4</id>
<content type='text'>
6481e8b209b ("json-c: fix icecc compilation") disabled '-Werror' unconditionally
for all compilers. We want to keep it disabled to reduce efforts when updating
or adding support for new toolchains (see [0]), but since support for icecc has
been removed via ba4fd5229893 ("classes/recipes-devtools: Drop icecc from
OE-Core") recently, we can drop the comment referencing it.

[0]: https://lists.openembedded.org/g/openembedded-core/message/219364

(From OE-Core rev: 8b5466701979931506bb179812a0a66ed9b43c1c)

Signed-off-by: Moritz Haase &lt;Moritz.Haase@bmw.de&gt;
CC: quentin.schulz@cherry.de
CC: m.felsch@pengutronix.de
CC: ross.burton@arm.com
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>json-c: Don't build unneeded apps to unblock builds with CMake 4+</title>
<updated>2025-06-26T10:02:34+00:00</updated>
<author>
<name>Moritz Haase</name>
<email>Moritz.Haase@bmw.de</email>
</author>
<published>2025-06-23T09:56:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=22f513741db0ff258fe3ec02f5edbc8809aa0d26'/>
<id>urn:sha1:22f513741db0ff258fe3ec02f5edbc8809aa0d26</id>
<content type='text'>
Disable build of the apps, as we don't seem to package them (upstream says they
aren't ready, see [0]). They are the only part of the code that doesn't build
yet with CMake 4+. One alternative would be to apply [1], but the PR hasn't been
merged yet by upstream, so we keep it simple.

[0]: https://github.com/json-c/json-c/blob/7cee5237dc6c0831e3f9dc490394eaea44636861/apps/CMakeLists.txt#L119-L121
[1]: https://github.com/json-c/json-c/pull/888

(From OE-Core rev: cb5234acdab200bd43b89416d8d7e9df91af58cc)

Signed-off-by: Moritz Haase &lt;Moritz.Haase@bmw.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>json-c: upgrade 0.17 -&gt; 0.18</title>
<updated>2024-09-30T16:00:50+00:00</updated>
<author>
<name>Yi Zhao</name>
<email>yi.zhao@windriver.com</email>
</author>
<published>2024-09-22T03:31:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b076530cbb27666dc4d86d2b69747239031eb621'/>
<id>urn:sha1:b076530cbb27666dc4d86d2b69747239031eb621</id>
<content type='text'>
ChangeLog:
https://github.com/json-c/json-c/blob/json-c-0.18-20240915/ChangeLog

(From OE-Core rev: f5cd6133d229a7acfb9b9983833370744bd2ba7b)

Signed-off-by: Yi Zhao &lt;yi.zhao@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>json-c: avoid ptest failure caused by valgrind</title>
<updated>2024-09-20T14:59:03+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2024-09-20T04:11:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4a6d8703072031a5ef9eaf118e69538157646597'/>
<id>urn:sha1:4a6d8703072031a5ef9eaf118e69538157646597</id>
<content type='text'>
json-c's ptest will automatically detect valgrind and use it to run
tests. This will fail in case valgrind does not work, e.g., intel-x86-64
(corei7-64) + lib32 image. The error is about illegal instruction.
Error message is like below:

  Illegal instruction     (core dumped) valgrind --tool=memcheck ...
  ERROR: "test1Formatted spaced pretty" exited with non-zero exit status: 132

So we explicitly disable valgrind by exporting USE_VALGRIND=0.

(From OE-Core rev: b0429a278e39b7a2846144bcc3fcc24ca298cab7)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>json-c: use upstream texts for SUMMARY and DESCRIPTION</title>
<updated>2024-08-13T08:29:15+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2024-08-12T08:17:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bff68f30f24de2b342ed80078c8daa491453a0b9'/>
<id>urn:sha1:bff68f30f24de2b342ed80078c8daa491453a0b9</id>
<content type='text'>
Change SUMMARY and DESCRIPTION according to json-c's homepage
https://github.com/json-c/json-c/wiki.

(From OE-Core rev: b5b203457fdb6825abc7c430876bd5b7c8b3f882)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>json-c: fix icecc compilation</title>
<updated>2023-12-02T17:18:57+00:00</updated>
<author>
<name>Marco Felsch</name>
<email>m.felsch@pengutronix.de</email>
</author>
<published>2023-11-28T22:47:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6481e8b209bbbab810a8ca0acd5b20882fdcf43c'/>
<id>urn:sha1:6481e8b209bbbab810a8ca0acd5b20882fdcf43c</id>
<content type='text'>
Skip -Werror to make it possible to compile this recipe with ICECC else
all fallthrough comments will be removed since we pre-process the files
on the host before sending them to the compile nodes which then cause
errors because of default -Werror switch.

Fixes: caf64f85b5c5 ("json-c: update 0.13.1 - &gt; 0.14")
(From OE-Core rev: 915f8307b063e17ddadd5dface83578b8ad254e2)

Signed-off-by: Marco Felsch &lt;m.felsch@pengutronix.de&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>json-c: define CVE_VERSION</title>
<updated>2023-09-28T11:37:47+00:00</updated>
<author>
<name>Peter Marko</name>
<email>peter.marko@siemens.com</email>
</author>
<published>2023-09-27T21:06:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d9d8cd345f2a4b5ab7996f8a087413c0495d41c5'/>
<id>urn:sha1:d9d8cd345f2a4b5ab7996f8a087413c0495d41c5</id>
<content type='text'>
Recently NVD updated all CVEs for json-c and old fixed
cves are reported in some older yocto branches.
NVD match clause now includes full tag name including
date which is "greater" than tag without additional numbers.

Define CVE_VERSION identical to full tag also on master to
avoid future CVEs to be reported incorrectly.
Put it close to hash so recipe update patch includes this line.

(From OE-Core rev: 190dec283b7deeb7ff898d1811924db806509e4a)

Signed-off-by: Peter Marko &lt;peter.marko@siemens.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>json-c: upgrade 0.16 -&gt; 0.17</title>
<updated>2023-09-26T09:35:27+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2023-09-22T07:24:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=02b4104c1428b9d4768f64f548961098f74e86f6'/>
<id>urn:sha1:02b4104c1428b9d4768f64f548961098f74e86f6</id>
<content type='text'>
Fix run-ptest to append to log instead of overwriting it with every test invocation.

(From OE-Core rev: cae5ef60e96f19a656b4bd5e32fcc446450e675c)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>json-c: Fix function prototypes</title>
<updated>2022-08-16T13:57:58+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2022-08-14T22:20:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ddb63d9e02b17877d5e56f8ab73befa1632861f7'/>
<id>urn:sha1:ddb63d9e02b17877d5e56f8ab73befa1632861f7</id>
<content type='text'>
This is flagged with clang 15

(From OE-Core rev: 4af59d145103778debec000100c10846fa64afa4)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>json-c: Add ptest for json-c</title>
<updated>2022-08-14T07:13:32+00:00</updated>
<author>
<name>Simone Weiss</name>
<email>simone.weiss@elektrobit.com</email>
</author>
<published>2022-08-12T09:39:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=271bbd9cc3d492402aaa95ffa295949403c2bfd0'/>
<id>urn:sha1:271bbd9cc3d492402aaa95ffa295949403c2bfd0</id>
<content type='text'>
Adapt json-c recipe to compile and deploy a ptest for json-c.
Also add a small script for executing the tests.
All tests were successful on a trial and took around 20 seconds.

(From OE-Core rev: 757a5fbdeed58573c40d6e21475cc516aa49fd1c)

Signed-off-by: Simone Weiß &lt;simone.weiss@elektrobit.com&gt;
Signed-off-by: Kai Tomerius &lt;kai.tomerius@elektrobit.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
