Re: lttng-tools-2.14.0-rc1: Not possible to disable babeltrace2 dependency

Norbert Lange via lttng-dev <[email protected]> Tue, 17 Jun 2025 16:18:31 +0200
Newsgroups org.lttng.lists.lttng-dev
Message-ID <CADYdroPaw5bMAinD203xd3mOO001izA==UDu+C1Jso32jFAEOQ@mail.gmail.com>
Am Di., 17. Juni 2025 um 16:13 Uhr schrieb Kienan Stewart via
lttng-dev <[email protected]>:
>
> Hi Norbert,
>
> could you describe more about the context of the system you were
> building on, and which version of babeltrace you had installed?
>
> thanks,
> kienan
>
> On 6/17/25 6:54 AM, Norbert Lange via lttng-dev wrote:
> > Hello,
> >
> > I had to add babeltrace2_CFLAGS="-DA" babeltrace2_LIBS="-lm" to the
> > configure line
> > to be able to build.
> >
> > There should be a --without-babeltrace2 switch and possible automatic detection.
> >
> > Regards, Norbert

Its a crosstool-ng toolchain based on gcc 10.5.
There is NO babeltrace2 available, and that is what is not handled, I
have to define babeltrace2_CFLAGS and babeltrace2_LIBS to make it
through the checks.

Regards, Norbert