diff mbox series

[1/5] libxml2: upgrade 2.13.8 -> 2.14.3

Message ID 20250521080925.815334-1-hongxu.jia@windriver.com
State New
Headers show
Series [1/5] libxml2: upgrade 2.13.8 -> 2.14.3 | expand

Commit Message

Hongxu Jia May 21, 2025, 8:09 a.m. UTC
- Rebase install-tests.patch
- Remove --enable-ipv6, due to upstream [build: Remove check for IPv6 ][2]

License-Update: Mention contributors in Copyright [1]

[1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/4bd66d4549b2e8925a752e0daac3a189d2fec8f7
[2] https://gitlab.gnome.org/GNOME/libxml2/-/commit/dc6f55cf6e03ae63a40e3af9ad6879821558d6a7

Release notes: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.3
Regressions

    reader: Fix reading compressed data
    parser: Make undeclared entities in XML content fatal
    save: Fix XML escape table
    save: Fix xmlSave with NULL encoding
    Revert "valid: Remove duplicate error messages when streaming"

Bug fixes

    save: Fix serialization of attribute defaults containing <
    io: Fix linkage of __xml*BufferCreateFilename functions

Build systems

    cmake: Fix installation directories in libxml2-config.cmake
    meson: Install libxml2.py

Improvements

    parser: Make xmlCtxtGetValidCtxt depend on VALID_ENABLED
    html: Avoid HTML_PARSE_HTML5 clashing with XML_PARSE_NOENT

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../libxml/libxml2/install-tests.patch           | 16 +++++++++++-----
 .../{libxml2_2.13.8.bb => libxml2_2.14.3.bb}     |  6 ++----
 2 files changed, 13 insertions(+), 9 deletions(-)
 rename meta/recipes-core/libxml/{libxml2_2.13.8.bb => libxml2_2.14.3.bb} (93%)

Comments

Mathieu Dubois-Briand May 22, 2025, 6:30 a.m. UTC | #1
On Wed May 21, 2025 at 10:09 AM CEST, Hongxu Jia wrote:
> - Rebase install-tests.patch
> - Remove --enable-ipv6, due to upstream [build: Remove check for IPv6 ][2]
>
> License-Update: Mention contributors in Copyright [1]
>
> [1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/4bd66d4549b2e8925a752e0daac3a189d2fec8f7
> [2] https://gitlab.gnome.org/GNOME/libxml2/-/commit/dc6f55cf6e03ae63a40e3af9ad6879821558d6a7
>
> Release notes: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.3
> Regressions
>
>     reader: Fix reading compressed data
>     parser: Make undeclared entities in XML content fatal
>     save: Fix XML escape table
>     save: Fix xmlSave with NULL encoding
>     Revert "valid: Remove duplicate error messages when streaming"
>
> Bug fixes
>
>     save: Fix serialization of attribute defaults containing &lt;
>     io: Fix linkage of __xml*BufferCreateFilename functions
>
> Build systems
>
>     cmake: Fix installation directories in libxml2-config.cmake
>     meson: Install libxml2.py
>
> Improvements
>
>     parser: Make xmlCtxtGetValidCtxt depend on VALID_ENABLED
>     html: Avoid HTML_PARSE_HTML5 clashing with XML_PARSE_NOENT
>
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> ---

Hi,

Thanks for the lttng fix.

Build is now correct with this version of libxml2, but we do have some
ptest failures:

Failed ptests:
{'libxml2': ['testThreads']}

https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/1541
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/1540

Corresponding ptest logs can be found here:

https://valkyrie.yocto.io/pub/non-release/20250521-95/testresults/qemuarm64-ptest/core-image-ptest-libxml2/
https://valkyrie.yocto.io/pub/non-release/20250521-95/testresults/qemux86-64-ptest/core-image-ptest-libxml2/
Peter Marko May 22, 2025, 6:35 a.m. UTC | #2
> -----Original Message-----
> From: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
> Sent: Thursday, May 22, 2025 8:31
> To: Hongxu Jia <hongxu.jia@windriver.com>; Marko, Peter (FT D EU SK BFS1)
> <Peter.Marko@siemens.com>; alex.kanavin@gmail.com; openembedded-
> core@lists.openembedded.org
> Subject: Re: [PATCH 1/5] libxml2: upgrade 2.13.8 -> 2.14.3
> 
> On Wed May 21, 2025 at 10:09 AM CEST, Hongxu Jia wrote:
> > - Rebase install-tests.patch
> > - Remove --enable-ipv6, due to upstream [build: Remove check for IPv6 ][2]
> >
> > License-Update: Mention contributors in Copyright [1]
> >
> > [1] https://gitlab.gnome.org/GNOME/libxml2/-
> /commit/4bd66d4549b2e8925a752e0daac3a189d2fec8f7
> > [2] https://gitlab.gnome.org/GNOME/libxml2/-
> /commit/dc6f55cf6e03ae63a40e3af9ad6879821558d6a7
> >
> > Release notes: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.3
> > Regressions
> >
> >     reader: Fix reading compressed data
> >     parser: Make undeclared entities in XML content fatal
> >     save: Fix XML escape table
> >     save: Fix xmlSave with NULL encoding
> >     Revert "valid: Remove duplicate error messages when streaming"
> >
> > Bug fixes
> >
> >     save: Fix serialization of attribute defaults containing &lt;
> >     io: Fix linkage of __xml*BufferCreateFilename functions
> >
> > Build systems
> >
> >     cmake: Fix installation directories in libxml2-config.cmake
> >     meson: Install libxml2.py
> >
> > Improvements
> >
> >     parser: Make xmlCtxtGetValidCtxt depend on VALID_ENABLED
> >     html: Avoid HTML_PARSE_HTML5 clashing with XML_PARSE_NOENT
> >
> > Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> > ---
> 
> Hi,
> 
> Thanks for the lttng fix.
> 
> Build is now correct with this version of libxml2, but we do have some
> ptest failures:
> 
> Failed ptests:
> {'libxml2': ['testThreads']}

Mathieu, you can take my limxml2 upgrade instead of this one, the ptests are fixed there.
https://lists.openembedded.org/g/openembedded-core/message/215559

Alternatively, my changes in run-ptests can be shamelessly copied.

Peter

> 
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/1541
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/1540
> 
> Corresponding ptest logs can be found here:
> 
> https://valkyrie.yocto.io/pub/non-release/20250521-95/testresults/qemuarm64-
> ptest/core-image-ptest-libxml2/
> https://valkyrie.yocto.io/pub/non-release/20250521-95/testresults/qemux86-64-
> ptest/core-image-ptest-libxml2/
> 
> --
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
Mathieu Dubois-Briand May 22, 2025, 8:58 a.m. UTC | #3
On Thu May 22, 2025 at 8:35 AM CEST, Peter Marko wrote:
>
>
>> -----Original Message-----
>> From: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
>> Sent: Thursday, May 22, 2025 8:31
>> To: Hongxu Jia <hongxu.jia@windriver.com>; Marko, Peter (FT D EU SK BFS1)
>> <Peter.Marko@siemens.com>; alex.kanavin@gmail.com; openembedded-
>> core@lists.openembedded.org
>> Subject: Re: [PATCH 1/5] libxml2: upgrade 2.13.8 -> 2.14.3
>> 
>> On Wed May 21, 2025 at 10:09 AM CEST, Hongxu Jia wrote:
>> > - Rebase install-tests.patch
>> > - Remove --enable-ipv6, due to upstream [build: Remove check for IPv6 ][2]
>> >
>> > License-Update: Mention contributors in Copyright [1]
>> >
>> > [1] https://gitlab.gnome.org/GNOME/libxml2/-
>> /commit/4bd66d4549b2e8925a752e0daac3a189d2fec8f7
>> > [2] https://gitlab.gnome.org/GNOME/libxml2/-
>> /commit/dc6f55cf6e03ae63a40e3af9ad6879821558d6a7
>> >
>> > Release notes: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.3
>> > Regressions
>> >
>> >     reader: Fix reading compressed data
>> >     parser: Make undeclared entities in XML content fatal
>> >     save: Fix XML escape table
>> >     save: Fix xmlSave with NULL encoding
>> >     Revert "valid: Remove duplicate error messages when streaming"
>> >
>> > Bug fixes
>> >
>> >     save: Fix serialization of attribute defaults containing &lt;
>> >     io: Fix linkage of __xml*BufferCreateFilename functions
>> >
>> > Build systems
>> >
>> >     cmake: Fix installation directories in libxml2-config.cmake
>> >     meson: Install libxml2.py
>> >
>> > Improvements
>> >
>> >     parser: Make xmlCtxtGetValidCtxt depend on VALID_ENABLED
>> >     html: Avoid HTML_PARSE_HTML5 clashing with XML_PARSE_NOENT
>> >
>> > Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
>> > ---
>> 
>> Hi,
>> 
>> Thanks for the lttng fix.
>> 
>> Build is now correct with this version of libxml2, but we do have some
>> ptest failures:
>> 
>> Failed ptests:
>> {'libxml2': ['testThreads']}
>
> Mathieu, you can take my limxml2 upgrade instead of this one, the ptests are fixed there.
> https://lists.openembedded.org/g/openembedded-core/message/215559
>
> Alternatively, my changes in run-ptests can be shamelessly copied.
>
> Peter
>

Oh right, I remember this one now. But the patch version differs. I
could change it in your patch while picking it, but I believe it would
be better if the modified patch goes on the mailing list before landing
on master-next.
Peter Marko May 22, 2025, 12:14 p.m. UTC | #4
> -----Original Message-----
> From: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
> Sent: Thursday, May 22, 2025 10:59
> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>; Hongxu Jia
> <hongxu.jia@windriver.com>; alex.kanavin@gmail.com; openembedded-
> core@lists.openembedded.org
> Subject: Re: [PATCH 1/5] libxml2: upgrade 2.13.8 -> 2.14.3
> 
> On Thu May 22, 2025 at 8:35 AM CEST, Peter Marko wrote:
> >
> >
> >> -----Original Message-----
> >> From: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
> >> Sent: Thursday, May 22, 2025 8:31
> >> To: Hongxu Jia <hongxu.jia@windriver.com>; Marko, Peter (FT D EU SK BFS1)
> >> <Peter.Marko@siemens.com>; alex.kanavin@gmail.com; openembedded-
> >> core@lists.openembedded.org
> >> Subject: Re: [PATCH 1/5] libxml2: upgrade 2.13.8 -> 2.14.3
> >>
> >> On Wed May 21, 2025 at 10:09 AM CEST, Hongxu Jia wrote:
> >> > - Rebase install-tests.patch
> >> > - Remove --enable-ipv6, due to upstream [build: Remove check for IPv6 ][2]
> >> >
> >> > License-Update: Mention contributors in Copyright [1]
> >> >
> >> > [1] https://gitlab.gnome.org/GNOME/libxml2/-
> >> /commit/4bd66d4549b2e8925a752e0daac3a189d2fec8f7
> >> > [2] https://gitlab.gnome.org/GNOME/libxml2/-
> >> /commit/dc6f55cf6e03ae63a40e3af9ad6879821558d6a7
> >> >
> >> > Release notes: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.3
> >> > Regressions
> >> >
> >> >     reader: Fix reading compressed data
> >> >     parser: Make undeclared entities in XML content fatal
> >> >     save: Fix XML escape table
> >> >     save: Fix xmlSave with NULL encoding
> >> >     Revert "valid: Remove duplicate error messages when streaming"
> >> >
> >> > Bug fixes
> >> >
> >> >     save: Fix serialization of attribute defaults containing &lt;
> >> >     io: Fix linkage of __xml*BufferCreateFilename functions
> >> >
> >> > Build systems
> >> >
> >> >     cmake: Fix installation directories in libxml2-config.cmake
> >> >     meson: Install libxml2.py
> >> >
> >> > Improvements
> >> >
> >> >     parser: Make xmlCtxtGetValidCtxt depend on VALID_ENABLED
> >> >     html: Avoid HTML_PARSE_HTML5 clashing with XML_PARSE_NOENT
> >> >
> >> > Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> >> > ---
> >>
> >> Hi,
> >>
> >> Thanks for the lttng fix.
> >>
> >> Build is now correct with this version of libxml2, but we do have some
> >> ptest failures:
> >>
> >> Failed ptests:
> >> {'libxml2': ['testThreads']}
> >
> > Mathieu, you can take my limxml2 upgrade instead of this one, the ptests are
> fixed there.
> > https://lists.openembedded.org/g/openembedded-core/message/215559
> >
> > Alternatively, my changes in run-ptests can be shamelessly copied.
> >
> > Peter
> >
> 
> Oh right, I remember this one now. But the patch version differs. I
> could change it in your patch while picking it, but I believe it would
> be better if the modified patch goes on the mailing list before landing
> on master-next.
> 

OK, I have updated my patch to .3 and sent to mailing list.
Don't forget to pick the lttng-tools patch again with it...

Peter

> 
> --
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
Mathieu Dubois-Briand May 22, 2025, 12:25 p.m. UTC | #5
On Thu May 22, 2025 at 2:14 PM CEST, Peter Marko wrote:
>
> OK, I have updated my patch to .3 and sent to mailing list.
> Don't forget to pick the lttng-tools patch again with it...
>
> Peter
>

Thanks, I will take both patches for my next build.
Khem Raj May 26, 2025, 1:55 a.m. UTC | #6
libxml2 upgrade will need some package adjustments in other recipes
depending on it. e.g. libiio from meta-oe see

https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/2490442/raw_inline

On Thu, May 22, 2025 at 5:25 AM Mathieu Dubois-Briand via
lists.openembedded.org
<mathieu.dubois-briand=bootlin.com@lists.openembedded.org> wrote:
>
> On Thu May 22, 2025 at 2:14 PM CEST, Peter Marko wrote:
> >
> > OK, I have updated my patch to .3 and sent to mailing list.
> > Don't forget to pick the lttng-tools patch again with it...
> >
> > Peter
> >
>
> Thanks, I will take both patches for my next build.
>
> --
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#217094): https://lists.openembedded.org/g/openembedded-core/message/217094
> Mute This Topic: https://lists.openembedded.org/mt/113225735/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Peter Marko May 26, 2025, 5:48 p.m. UTC | #7
I have checked the problem and cmake file generated by libxml2 points to /usr/include now.
Build succeeds when I revert following libxml2 commit:
https://gitlab.gnome.org/GNOME/libxml2/-/commit/75dde50b20215a2a3a445b62f36a67c8ed337cab
This clearly breaks cross-compilation scenario which always has a prefix which is usually calculated from cmake file location.

Since this is included only in 2.14.3, we could for now take 2.14.2 which I submitted before.
Or take 2.14.3 plus add a patch to revert this commit.
But ultimately, we need to discuss this with upstream.

Peter

> -----Original Message-----
> From: Khem Raj <raj.khem@gmail.com>
> Sent: Monday, May 26, 2025 3:55
> To: mathieu.dubois-briand@bootlin.com
> Cc: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>; Hongxu Jia
> <hongxu.jia@windriver.com>; alex.kanavin@gmail.com; openembedded-
> core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH 1/5] libxml2: upgrade 2.13.8 -> 2.14.3
> 
> libxml2 upgrade will need some package adjustments in other recipes
> depending on it. e.g. libiio from meta-oe see
> 
> https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/2490442/raw_inline
> 
> On Thu, May 22, 2025 at 5:25 AM Mathieu Dubois-Briand via
> lists.openembedded.org
> <mathieu.dubois-briand=bootlin.com@lists.openembedded.org> wrote:
> >
> > On Thu May 22, 2025 at 2:14 PM CEST, Peter Marko wrote:
> > >
> > > OK, I have updated my patch to .3 and sent to mailing list.
> > > Don't forget to pick the lttng-tools patch again with it...
> > >
> > > Peter
> > >
> >
> > Thanks, I will take both patches for my next build.
> >
> > --
> > Mathieu Dubois-Briand, Bootlin
> > Embedded Linux and Kernel engineering
> > https://bootlin.com
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#217094): https://lists.openembedded.org/g/openembedded-
> core/message/217094
> > Mute This Topic: https://lists.openembedded.org/mt/113225735/1997914
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
> [raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
Khem Raj May 26, 2025, 6:57 p.m. UTC | #8
On Mon, May 26, 2025 at 10:48 AM Marko, Peter <Peter.Marko@siemens.com> wrote:
>
> I have checked the problem and cmake file generated by libxml2 points to /usr/include now.
> Build succeeds when I revert following libxml2 commit:
> https://gitlab.gnome.org/GNOME/libxml2/-/commit/75dde50b20215a2a3a445b62f36a67c8ed337cab
> This clearly breaks cross-compilation scenario which always has a prefix which is usually calculated from cmake file location.
>
> Since this is included only in 2.14.3, we could for now take 2.14.2 which I submitted before.
> Or take 2.14.3 plus add a patch to revert this commit.

a revert of the troubling patch on top of 2.14.3 is fine. OE is not
affected by the
the case this patch is trying to fix anyway

> But ultimately, we need to discuss this with upstream.
>
> Peter
>
> > -----Original Message-----
> > From: Khem Raj <raj.khem@gmail.com>
> > Sent: Monday, May 26, 2025 3:55
> > To: mathieu.dubois-briand@bootlin.com
> > Cc: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>; Hongxu Jia
> > <hongxu.jia@windriver.com>; alex.kanavin@gmail.com; openembedded-
> > core@lists.openembedded.org
> > Subject: Re: [OE-core] [PATCH 1/5] libxml2: upgrade 2.13.8 -> 2.14.3
> >
> > libxml2 upgrade will need some package adjustments in other recipes
> > depending on it. e.g. libiio from meta-oe see
> >
> > https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/2490442/raw_inline
> >
> > On Thu, May 22, 2025 at 5:25 AM Mathieu Dubois-Briand via
> > lists.openembedded.org
> > <mathieu.dubois-briand=bootlin.com@lists.openembedded.org> wrote:
> > >
> > > On Thu May 22, 2025 at 2:14 PM CEST, Peter Marko wrote:
> > > >
> > > > OK, I have updated my patch to .3 and sent to mailing list.
> > > > Don't forget to pick the lttng-tools patch again with it...
> > > >
> > > > Peter
> > > >
> > >
> > > Thanks, I will take both patches for my next build.
> > >
> > > --
> > > Mathieu Dubois-Briand, Bootlin
> > > Embedded Linux and Kernel engineering
> > > https://bootlin.com
> > >
> > >
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > > Links: You receive all messages sent to this group.
> > > View/Reply Online (#217094): https://lists.openembedded.org/g/openembedded-
> > core/message/217094
> > > Mute This Topic: https://lists.openembedded.org/mt/113225735/1997914
> > > Group Owner: openembedded-core+owner@lists.openembedded.org
> > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
> > [raj.khem@gmail.com]
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > >
Peter Marko May 26, 2025, 7:36 p.m. UTC | #9
https://lists.openembedded.org/g/openembedded-core/message/217275
which also includes link to upstream ticket.

Peter

> -----Original Message-----
> From: Khem Raj <raj.khem@gmail.com>
> Sent: Monday, May 26, 2025 20:57
> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>
> Cc: mathieu.dubois-briand@bootlin.com; Hongxu Jia
> <hongxu.jia@windriver.com>; alex.kanavin@gmail.com; openembedded-
> core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH 1/5] libxml2: upgrade 2.13.8 -> 2.14.3
> 
> On Mon, May 26, 2025 at 10:48 AM Marko, Peter <Peter.Marko@siemens.com>
> wrote:
> >
> > I have checked the problem and cmake file generated by libxml2 points to
> /usr/include now.
> > Build succeeds when I revert following libxml2 commit:
> > https://gitlab.gnome.org/GNOME/libxml2/-
> /commit/75dde50b20215a2a3a445b62f36a67c8ed337cab
> > This clearly breaks cross-compilation scenario which always has a prefix which
> is usually calculated from cmake file location.
> >
> > Since this is included only in 2.14.3, we could for now take 2.14.2 which I
> submitted before.
> > Or take 2.14.3 plus add a patch to revert this commit.
> 
> a revert of the troubling patch on top of 2.14.3 is fine. OE is not
> affected by the
> the case this patch is trying to fix anyway
> 
> > But ultimately, we need to discuss this with upstream.
> >
> > Peter
> >
> > > -----Original Message-----
> > > From: Khem Raj <raj.khem@gmail.com>
> > > Sent: Monday, May 26, 2025 3:55
> > > To: mathieu.dubois-briand@bootlin.com
> > > Cc: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>; Hongxu
> Jia
> > > <hongxu.jia@windriver.com>; alex.kanavin@gmail.com; openembedded-
> > > core@lists.openembedded.org
> > > Subject: Re: [OE-core] [PATCH 1/5] libxml2: upgrade 2.13.8 -> 2.14.3
> > >
> > > libxml2 upgrade will need some package adjustments in other recipes
> > > depending on it. e.g. libiio from meta-oe see
> > >
> > > https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/2490442/raw_inline
> > >
> > > On Thu, May 22, 2025 at 5:25 AM Mathieu Dubois-Briand via
> > > lists.openembedded.org
> > > <mathieu.dubois-briand=bootlin.com@lists.openembedded.org> wrote:
> > > >
> > > > On Thu May 22, 2025 at 2:14 PM CEST, Peter Marko wrote:
> > > > >
> > > > > OK, I have updated my patch to .3 and sent to mailing list.
> > > > > Don't forget to pick the lttng-tools patch again with it...
> > > > >
> > > > > Peter
> > > > >
> > > >
> > > > Thanks, I will take both patches for my next build.
> > > >
> > > > --
> > > > Mathieu Dubois-Briand, Bootlin
> > > > Embedded Linux and Kernel engineering
> > > > https://bootlin.com
> > > >
> > > >
> > > > -=-=-=-=-=-=-=-=-=-=-=-
> > > > Links: You receive all messages sent to this group.
> > > > View/Reply Online (#217094):
> https://lists.openembedded.org/g/openembedded-
> > > core/message/217094
> > > > Mute This Topic: https://lists.openembedded.org/mt/113225735/1997914
> > > > Group Owner: openembedded-core+owner@lists.openembedded.org
> > > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
> > > [raj.khem@gmail.com]
> > > > -=-=-=-=-=-=-=-=-=-=-=-
> > > >
diff mbox series

Patch

diff --git a/meta/recipes-core/libxml/libxml2/install-tests.patch b/meta/recipes-core/libxml/libxml2/install-tests.patch
index 1c8c13ab5cc..2570efcdf50 100644
--- a/meta/recipes-core/libxml/libxml2/install-tests.patch
+++ b/meta/recipes-core/libxml/libxml2/install-tests.patch
@@ -1,21 +1,24 @@ 
-From 8c1054eacb430472068f21e4840749c384e8e866 Mon Sep 17 00:00:00 2001
+From 5bebe007b3efd1a723bd45bb9b3303f8645e9810 Mon Sep 17 00:00:00 2001
 From: Ross Burton <ross.burton@arm.com>
-Date: Mon, 5 Dec 2022 17:02:32 +0000
+Date: Mon, 19 May 2025 09:45:18 +0800
 Subject: [PATCH] add yocto-specific install-ptest target
 
 Add a target to install the test suite.
 
 Upstream-Status: Inappropriate
 Signed-off-by: Ross Burton <ross.burton@arm.com>
+
+Rebase to v2.14.3
+Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
 ---
  Makefile.am | 10 ++++++++++
  1 file changed, 10 insertions(+)
 
 diff --git a/Makefile.am b/Makefile.am
-index 4cb9a5c..8adcd7e 100644
+index 6f98144..ecb3b54 100644
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -27,6 +27,16 @@ check_PROGRAMS = \
+@@ -26,6 +26,16 @@ check_PROGRAMS = \
  	testparser \
  	testrecurse
  
@@ -29,6 +32,9 @@  index 4cb9a5c..8adcd7e 100644
 +	cp -r $(srcdir)/result $(DESTDIR)$(ptestdir)
 +	cp -r $(srcdir)/python/tests $(DESTDIR)$(ptestdir)/python
 +
- bin_PROGRAMS = xmllint xmlcatalog
+ bin_PROGRAMS = xmllint
  
  bin_SCRIPTS = xml2-config
+-- 
+2.34.1
+
diff --git a/meta/recipes-core/libxml/libxml2_2.13.8.bb b/meta/recipes-core/libxml/libxml2_2.14.3.bb
similarity index 93%
rename from meta/recipes-core/libxml/libxml2_2.13.8.bb
rename to meta/recipes-core/libxml/libxml2_2.14.3.bb
index e82e0e8ec36..1cdc80cbb76 100644
--- a/meta/recipes-core/libxml/libxml2_2.13.8.bb
+++ b/meta/recipes-core/libxml/libxml2_2.14.3.bb
@@ -4,7 +4,7 @@  HOMEPAGE = "https://gitlab.gnome.org/GNOME/libxml2"
 BUGTRACKER = "http://bugzilla.gnome.org/buglist.cgi?product=libxml2"
 SECTION = "libs"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://Copyright;md5=f437ed9058e8e5135e47c01e973376ba \
+LIC_FILES_CHKSUM = "file://Copyright;md5=5873615e8a9ecbf5c8857c4312ee05d6 \
                     file://dict.c;beginline=6;endline=15;md5=2b4b7b827d2d8b080372433c4c9c85b6 \
                     file://list.c;beginline=4;endline=13;md5=b9c25b021ccaf287e50060602d20f3a7 \
                     "
@@ -19,7 +19,7 @@  SRC_URI += "http://www.w3.org/XML/Test/xmlts20130923.tar;subdir=${BP};name=testt
            file://install-tests.patch \
            "
 
-SRC_URI[archive.sha256sum] = "277294cb33119ab71b2bc81f2f445e9bc9435b893ad15bb2cd2b0e859a0ee84a"
+SRC_URI[archive.sha256sum] = "6de55cacc8c2bc758f2ef6f93c313cb30e4dd5d84ac5d3c7ccbd9344d8cc6833"
 SRC_URI[testtar.sha256sum] = "c6b2d42ee50b8b236e711a97d68e6c4b5c8d83e69a2be4722379f08702ea7273"
 
 # Disputed as a security issue, but fixed in d39f780
@@ -28,10 +28,8 @@  CVE_STATUS[CVE-2023-45322] = "disputed: issue requires memory allocation to fail
 BINCONFIG = "${bindir}/xml2-config"
 
 PACKAGECONFIG ??= "python \
-    ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
 "
 PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3"
-PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
 
 inherit autotools pkgconfig binconfig-disabled ptest