On 08/08/2025 4:16 pm, Andrew Cooper wrote:
> On 03/08/2025 2:36 pm, Andrew Cooper wrote:
>> On 03/08/2025 9:52 am, Christoph Grüninger wrote:
>>> Dear Xen developers,
>>>
>>> you are using the dependency yajl (yet another json library, [1]) to
>>> parse JSON files. The project seems abandoned with the last commit 10
>>> years ago, the last release over 11 years ago, and 75 open pull
>>> requests. Packaging yajl requires patches, e.g., to make it compatible
>>> with CMake 4.0.
>>> There are some forks but none has replaced the old one yet [2].
>>>
>>> I think there are three paths forward:
>>> 1. Xen could pick a prominent fork and use it as its main dependency.
>>> 2. Xen could create a fork of its own, hopefully attracting more
>>> people interested in an maintained successor of yajl.
>>> 3. Switch to a different JSON parser library that remained healthy.
>>>
>>> Sure, you could stick to option 4., do nothing an offload the burden
>>> to fix yajl to distribution packagers.
>>>
>>> Xen is an important project and its decision can create momentum that
>>> might lead other projects.
>>>
>>> [1] https://github.com/lloyd/yajl
>>> [2] https://github.com/lloyd/yajl/issues/252
>> CCing the libxl maintainers.
> To follow up here, please try
> https://lore.kernel.org/xen-devel/[email protected]/T/#u
> which should make libxl use json-c by preference.

Xen 4.21.0-rc1 was released today.  yajl is no longer a hard
dependency.  Xen will prefer json-c to yajl, if ./configure can find it.

Please test and feed back any issues you find.

~Andrew

Reply via email to