Files
Khem Raj 74b76f0b8a dbus-broker: package ptest files from nonarch_libdir
dbus-broker's meson build installs its test and benchmark binaries to a
hardcoded path derived from the prefix:

    conf.set('testdir', get_option('prefix') / 'lib/dbus-broker/tests')

i.e. always ${prefix}/lib/dbus-broker/tests, regardless of ${baselib}.
In OE terms that is ${nonarch_libdir}, not ${libdir}.

The recipe however collects them with ${libdir}, which only matches on
targets where baselib is "lib". On lib64 targets and for multilib
variants (e.g. lib32-dbus-broker) ${libdir} differs from the hardcoded
install path, so the installed tests are not captured by any package and
do_package fails with:

    QA Issue: dbus-broker: Files/directories were installed but not
    shipped in any package:
      /usr/lib/dbus-broker/tests/unit/test-...
      /usr/lib/dbus-broker/tests/dbus/test-...
    [installed-vs-shipped]

Use ${nonarch_libdir} so the FILES glob always matches meson's install
location.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-07-16 20:35:29 -07:00
..