On Mon, 2025-11-17 at 15:14 -0500, Michael Jeanson wrote: > 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.
Ok, if linking is not required and also no transitive build options need to be used, this is the preferred option. > > > 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. I'm already on babeltrace2. I just noticed this bug by accident, as I installed the wrong package... Felix -- Siemens AG Linux Expert Center Friedrich-Ludwig-Bauer-Str. 3 85748 Garching, Germany

