On 2025-11-14 06:26, MOESSBAUER, Felix wrote:
Hi,
I'm not sure I understand the issue, both uuid and popt are internal
dependencies of babeltrace and AFAIK are not exposed in the public
headers and not required to build other software against libbabeltrace.
That is technically correct, but that's not sufficient to use pkg-
config to resolve the cflags.
Example (can be run in a debian:trixie container):
apt install babeltrace-dev pkg-config
pkg-config --cflags babeltrace
Package uuid was not found in the pkg-config search path.
Perhaps you should add the directory containing `uuid.pc'
to the PKG_CONFIG_PATH environment variable
Package 'uuid', required by 'babeltrace', not found
Package 'popt', required by 'babeltrace', not found
Meson internally calls pkg-config --cflags, hence inherits the error.
Reading the pkg-config documentation, I think we should simply remove
the 'Requires.private' line since both uuid and popt are not required to
build or link against libbabeltrace.
On a sidenote, Babeltrace 1 has been unmaintained upstream for a while
and I'll probably retire the package after forky, you should look into
upgrading to Babeltrace 2.x.