I was not able to build it with yay (ran yay -Scc
and yay -Sc
before).
It failed with:
ninja: Entering directory `/home/user/.cache/yay/openvpn3/src/_builddir'
[149/171] Generating src/shell/bash-completion/bash-completion-openvpn2 with a custom command (wrapped by meson to capture output)
FAILED: src/shell/bash-completion/openvpn2
/usr/bin/meson --internal exe --capture src/shell/bash-completion/openvpn2 -- /home/user/.cache/yay/openvpn3/src/openvpn3-linux-23/src/shell/bash-completion/gen-openvpn2-completion.py --python-source-dir /home/user/.cache/yay/openvpn3/src/openvpn3-linux-23/src/python/openvpn3
--- stderr ---
Traceback (most recent call last):
File "/home/user/.cache/yay/openvpn3/src/openvpn3-linux-23/src/shell/bash-completion/gen-openvpn2-completion.py", line 96, in <module>
constants = importlib.import_module('openvpn3.constants',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'openvpn3.constants'
[163/171] Linking target src/ovpn3cli/openvpn3
ninja: build stopped: subcommand failed.
When trying to search for the problem, I first tried it without yay (checkout aur git and makepkg -si
) which also failed - however, running it a second time successfully built...
Pinned Comments
bhyoo commented on 2024-07-08 11:46 (UTC) (edited on 2024-07-08 11:47 (UTC) by bhyoo)
If you have trouble with building it, please run
yay -Scc
oryay -Sc
.FYI. I replaced
gdbuspp-git
withgdbuspp
in the PKGBUILD dependency, and it seems that the build fails because the locally cached PKGBUILD is not updated.