Building python-libtmux: OBS errors out with "couldn't create directory /run/tmux/399 (No such file or directory)"
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 -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
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 -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
participants (2)
-
Cristian Rodríguez
-
Johannes Kastl