lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* lttng-tools-2.14.0-rc1: Not possible to disable babeltrace2 dependency
@ 2025-06-17 10:54 Norbert Lange via lttng-dev
  2025-06-17 14:13 ` Kienan Stewart via lttng-dev
  0 siblings, 1 reply; 4+ messages in thread
From: Norbert Lange via lttng-dev @ 2025-06-17 10:54 UTC (permalink / raw)
  To: lttng-dev

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: lttng-tools-2.14.0-rc1: Not possible to disable babeltrace2 dependency
  2025-06-17 10:54 lttng-tools-2.14.0-rc1: Not possible to disable babeltrace2 dependency Norbert Lange via lttng-dev
@ 2025-06-17 14:13 ` Kienan Stewart via lttng-dev
  2025-06-17 14:18   ` Norbert Lange via lttng-dev
  0 siblings, 1 reply; 4+ messages in thread
From: Kienan Stewart via lttng-dev @ 2025-06-17 14:13 UTC (permalink / raw)
  To: lttng-dev

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: lttng-tools-2.14.0-rc1: Not possible to disable babeltrace2 dependency
  2025-06-17 14:13 ` Kienan Stewart via lttng-dev
@ 2025-06-17 14:18   ` Norbert Lange via lttng-dev
  2025-06-17 18:28     ` Kienan Stewart via lttng-dev
  0 siblings, 1 reply; 4+ messages in thread
From: Norbert Lange via lttng-dev @ 2025-06-17 14:18 UTC (permalink / raw)
  To: Kienan Stewart; +Cc: lttng-dev

Am Di., 17. Juni 2025 um 16:13 Uhr schrieb Kienan Stewart via
lttng-dev <lttng-dev@lists.lttng.org>:
>
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: lttng-tools-2.14.0-rc1: Not possible to disable babeltrace2 dependency
  2025-06-17 14:18   ` Norbert Lange via lttng-dev
@ 2025-06-17 18:28     ` Kienan Stewart via lttng-dev
  0 siblings, 0 replies; 4+ messages in thread
From: Kienan Stewart via lttng-dev @ 2025-06-17 18:28 UTC (permalink / raw)
  To: Norbert Lange; +Cc: lttng-dev

Hi Norbert,

thanks for the reporting this issue! I've proposed a patch[1] to handle 
the case you've described.

thanks,
kienan

[1]: https://review.lttng.org/c/lttng-tools/+/14829

On 6/17/25 10:18 AM, Norbert Lange wrote:
> Am Di., 17. Juni 2025 um 16:13 Uhr schrieb Kienan Stewart via
> lttng-dev <lttng-dev@lists.lttng.org>:
>>
>> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-06-17 18:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-17 10:54 lttng-tools-2.14.0-rc1: Not possible to disable babeltrace2 dependency Norbert Lange via lttng-dev
2025-06-17 14:13 ` Kienan Stewart via lttng-dev
2025-06-17 14:18   ` Norbert Lange via lttng-dev
2025-06-17 18:28     ` Kienan Stewart via lttng-dev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).