GNOME Bugzilla – Bug 628738
D-Bus misconfigured in jhbuild
Last modified: 2010-11-01 11:13:41 UTC
It seems like dbus (at least for jhbuild's setup) is misconfigured. If I launch a program that would start dbus services through activation, I get this error: process 18908: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/opt/gnome/var/lib/dbus/machine-id": No such file or directory See the manual page for dbus-uuidgen to correct this issue. D-Bus not built with -rdynamic so unable to print a backtrace Aborted Symlinking fixes the symptom: ln -s /var/lib/dbus/machine-id /opt/gnome/var/lib/dbus/machine-id And my .bashrc has export XDG_DATA_DIRS=/opt/gnome/share:/usr/share:$XDG_DATA_DIRS so that shouldn't be a problem either.
Right, var/lib/dbus/machine-id should be a link to the system file if you want to use the system dbus while building dbus in jhbuild. Also I believe var/run/dbus should also be a link. Would you provide a patch to the documentation to note the issue?
Thanks for reporting Travis and thanks for the details. Done. http://git.gnome.org/browse/jhbuild/commit/?id=cc608d745fbd13713202d55cabbd64d1eb83c72f