I've noticed these errors plus a bunch of warnings when compiling locally:
fusermount3: failed to access mountpoint /run/user/1000/doc: Permission denied
error: fuse init failed: Can't mount path /run/user/1000/doc
This should ensure there are no permissions issues in the XDG_RUNTIME_DIR.
Changes:
- Explicitly create
XDG_RUNTIME_DIR
- Explicitly set permissions for
XDG_RUNTIME_DIR (chmod 0700)
- Sanitize display and subsystem environment
This strips the Wayland and Portal variables out of the build environment so the build is forced to use the isolated X11 framebuffer provided by xvfb-run:
unset WAYLAND_DISPLAY
export GTK_USE_PORTAL=0
- Forcing an X11-profiled build shouldn't have much of an effect (if any) on performance vs a Wayland-profiled build.
These exports should help avoid DBus timeouts that hang the build, or at least help cleanup the build log:
export NO_AT_BRIDGE=1
export GNOME_KEYRING_CONTROL=""
I've noticed these errors plus a bunch of warnings when compiling locally:
```
fusermount3: failed to access mountpoint /run/user/1000/doc: Permission denied
error: fuse init failed: Can't mount path /run/user/1000/doc
```
This should ensure there are no permissions issues in the `XDG_RUNTIME_DIR`.
Changes:
- Explicitly create `XDG_RUNTIME_DIR`
- Explicitly set permissions for `XDG_RUNTIME_DIR` (chmod 0700)
- Sanitize display and subsystem environment
This strips the Wayland and Portal variables out of the build environment so the build is forced to use the isolated X11 framebuffer provided by `xvfb-run`:
```
unset WAYLAND_DISPLAY
export GTK_USE_PORTAL=0
```
- Forcing an X11-profiled build shouldn't have much of an effect (if any) on performance vs a Wayland-profiled build.
These exports should help avoid DBus timeouts that hang the build, or at least help cleanup the build log:
```
export NO_AT_BRIDGE=1
export GNOME_KEYRING_CONTROL=""
```