Hi all,
I am trying to package the new ansible-sign utility.
One of the dependencies is python-libtmux, which builds successfully. But only locally or if I disable the %check section.
https://build.opensuse.org/package/show/home:ojkastl_buildservice:Branch_dev...
Inside OBS the checks fail with this error message:
[ 54s] if proc.stderr: [ 54s] > raise exc.LibTmuxException(proc.stderr) [ 54s] E libtmux.exc.LibTmuxException: ["couldn't create directory /run/tmux/399 (No such file or directory)"] [ 54s] [ 54s] ../../BUILDROOT/python-libtmux-0.21.0-5.1.x86_64/usr/lib/python3.8/site-packages/libtmux/server.py:483: LibTmuxException
My guess is that somehow /run and /run/tmux are not setup properly.
I tried to create it manually, I tried "systemd-tmpfiles --create", but nothing worked. /run is existing, but only contains utmp and some other directory I forgot.
What would be the OBS way to get that working? Or is this not possible inside OBS?
Thanks in advance!
Kind Regards, Johannes
On Thu, Mar 9, 2023 at 1:08 PM Johannes Kastl kastl@b1-systems.de wrote:
What would be the OBS way to get that working? Or is this not possible inside OBS?
export TMUX_TMPDIR=/tmp should do it, or invoking tmux with a suitable -L parameter.
On 16.03.23 at 21:23 Cristian Rodríguez wrote:
export TMUX_TMPDIR=/tmp should do it
Thanks Cristian, that did the trick.
Kind Regards, Johannes