[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#835913: ibus: use of dbus-run-session ...



I'm testing a real patch, which should be a bit cleaner and more
upstreamable than the untested pseudo-patch I gave on the bug (I didn't
have time to do this for every package during the mass-bug-filing).

On Sat, 16 Feb 2019 at 08:20:45 +0900, Osamu Aoki wrote:
> dbus[22693]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" not available: No such file or directory

Unfortunately, official buildds that use sbuild don't have a
properly-set-up XDG_RUNTIME_DIR. They inherit the environment variable
from the host system, but they don't create the corresponding directory
in the chroot.

If a package needs an XDG_RUNTIME_DIR for its build or tests, you
will have to set up a temporary XDG_RUNTIME_DIR, either in debian/rules
(like glib2.0 does) or in the upstream build system. Or, if it copes
gracefully with XDG_RUNTIME_DIR being unset, you could unset it.

For instance, you could maybe add this to make-dconf-override-db.sh:

export XDG_RUNTIME_DIR="$TMPDIR/run"

> kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
> make[5]: *** [Makefile:809: 00-upstream-settings] Error 2

It looks as though this is the real cause of the build failure.
You missed the part of my pseudo-patch that removed
"kill $DBUS_SESSION_BUS_PID" near the end of the script.

    smcv


Reply to: