Bugzilla – Bug 1217296
error: nothing provides /usr/bin/dbus-daemon needed by glib2-devel
Last modified: 2024-03-05 11:49:48 UTC
I'm using build (obs-build) to build locally the package accountsservice. The build process fails with the following error: expansion error nothing provides /usr/bin/dbus-daemon needed by glib2-devel rpm -q --provides dbus-1-daemon | grep dbus-daemon dbus-1:/usr/bin/dbus-daemon The package dbus-1-daemon does provide /usr/bin/dbus-daemon prefixed by: dbus-1: If I use: "zypper in glib2-devel" there are no problems, glib2-devel gets installed with its dependencies. but 'build' does not understand that dbus-1:/usr/bin/dbus-daemon provided by dbus-1-daemon is what glib2-devel needs. For test I rebuild the package dbus-1 and replaced in the spec file: Provides: dbus-1:%{_bindir}/dbus-daemon with: Provides: %{_bindir}/dbus-daemon Once I made such package available to 'build' I was able to build accountsservice. Another way to go around the bug is to edit /var/tmp/build-root/.srcfiles.cache and replace dbus-1:/usr/bin/dbus-daemon with /usr/bin/dbus-daemon Anyway this looks like a limitation/bug of the package 'build' isn't it?
The prjconf was just missing a FileProvides.