maintainer-feedback requested: [Bug 275430] x11/xwayland-run: missing dependency

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Nov 2023 17:23:50 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 275430: x11/xwayland-run: missing dependency
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275430



--- Description ---
Running in a clean jail or fresh non-Xorg install (e.g., Sway) fails.

$ pkg install xwayland-run glx-utils
$ xwayland-run -- glxgears
[...]
Traceback (most recent call last):
  File "/usr/local/bin/xwayland-run", line 69, in <module>
    if xwayland.create_xauth_entry() != 0:
  File "/usr/local/lib/python3.9/site-packages/wlheadless/xwayland.py", line
108, in create_xauth_entry
    with subprocess.Popen(xauth_command_line, stdin = subprocess.PIPE) as proc:
  File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.9/subprocess.py", line 1837, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'xauth'