Building Plasma fails, cannot find an installed dependency

Hello

I recently set up my old laptop to try developing some things for KDE. I’m now trying to build plasma-desktop with kde-builder. Unfortunately, this fails to build appstream with the error:

Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)

contrib/meson.build:11:24: ERROR: Dependency “bash-completion” not found, tried pkgconfig and cmake

I’m a bit at a loss here, because bash-completion is installed according to dnf:

$ sudo dnf install bash-completion
Package "bash-completion-1:2.16-2.fc43.noarch" is already installed.

On the other hand, which cannot find it either:

$ which bash-completion
/usr/bin/which: no bash-completion in (/home/ME/.local/bin:/home/ME/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin)

Any ideas how I can tell kde-builder where to find bash-completion, if I don’t even know where it is installed?

Thanks for you support :folded_hands:

You probably need to install bash-completion-devel. Installing build dependencies | Developer is a good resource for figuring out what to install.

1 Like