Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: Kienan Stewart via lttng-dev <lttng-dev@lists.lttng.org>
To: Norbert Lange <nolange79@gmail.com>,
	lttng-dev <lttng-dev@lists.lttng.org>
Subject: Re: lttng-tools-2.14.0-rc1: fails to compile with libxml2-2.14.4
Date: Tue, 17 Jun 2025 10:19:04 -0400	[thread overview]
Message-ID: <d7e4f68f-2942-474b-96f5-9dc669b1d109@efficios.com> (raw)
In-Reply-To: <CADYdroM27zgM1RWHoCocru7VY6kHi1=g3PK4QJ0D67Wra1tc8A@mail.gmail.com>

Hi Norbert,

thanks for the report.

The libxml build failure is fixed in 
2d2e77ddc9e3e63c3c658e824fb754f5a534a6ab, which in the stable-2.14 
branch[1] post-rc1.

thanks,
kienan

[1]: 
https://github.com/lttng/lttng-tools/commit/2d2e77ddc9e3e63c3c658e824fb754f5a534a6ab

On 6/17/25 10:15 AM, Norbert Lange via lttng-dev wrote:
> /tmp/dev_develop_libxml2/usr/include/libxml2/libxml/encoding.h:173:7:
> note: declared here
>    173 |     } input XML_DEPRECATED_MEMBER;
>        |       ^~~~~
> ../../../src/common/config/session-config.cpp:297:75: error: no match
> for call to '(_xmlCharEncodingHandler::<unnamed union>) (xmlChar*&,
> int*, const xmlChar*, int*)'
>    297 |  ret = handler->input(out_str, &out_len, (const xmlChar *)
> in_str, &in_len);
>        |
>             ^
> 
> Changing the call to handler->input.legacyFunc seems to fix it.
> 
> Also lttng seems to need libxml2, but doesnt add the necessary flags.
> 
> Regards, Norbert


  reply	other threads:[~2025-06-17 14:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-17 14:15 Norbert Lange via lttng-dev
2025-06-17 14:19 ` Kienan Stewart via lttng-dev [this message]
2025-06-17 14:50 ` Kienan Stewart via lttng-dev
2025-06-17 15:08   ` Norbert Lange via lttng-dev
2025-06-17 17:29     ` Kienan Stewart via lttng-dev

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=d7e4f68f-2942-474b-96f5-9dc669b1d109@efficios.com \
    --to=lttng-dev@lists.lttng.org \
    --cc=kstewart@efficios.com \
    --cc=nolange79@gmail.com \
    /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