Package Details: openvpn3 24-1

Git Clone URL: https://aur.archlinux.org/openvpn3.git (read-only, click to copy)
Package Base: openvpn3
Description: OpenVPN 3 Linux client
Upstream URL: https://codeberg.org/OpenVPN/openvpn3-linux
Keywords: openvpn vpn
Licenses: AGPL3
Submitter: bhyoo
Maintainer: bhyoo
Last Packager: bhyoo
Votes: 19
Popularity: 1.64
First Submitted: 2020-07-04 06:51 (UTC)
Last Updated: 2024-12-19 14:18 (UTC)

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 or yay -Sc.

FYI. I replaced gdbuspp-git with gdbuspp in the PKGBUILD dependency, and it seems that the build fails because the locally cached PKGBUILD is not updated.

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

thesignal commented on 2024-12-04 12:22 (UTC) (edited on 2024-12-04 13:23 (UTC) by thesignal)

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...

mm_sz commented on 2024-10-12 09:07 (UTC) (edited on 2024-10-12 09:08 (UTC) by mm_sz)

yay -Sc and yay -Scc didn't work for me, still got the same error:

==> Missing dependencies:
  -> gdbuspp>=2

I had to remove openvpn3 and gdbuspp using yay -R openvpn3 gdbuspp-git and then I could install openvpn3 with yay -S openvpn3

ehlegeth commented on 2024-10-10 11:34 (UTC) (edited on 2024-10-10 11:34 (UTC) by ehlegeth)

To fix failure of the 'openvpn3-linux:post-install / config-override-selftest' test, I've done things from the pinned comments but it didn't solve the problem. I had to remove openvpn3 (including gdbuspp) and install openvpn3 to fix it.

ghotrix commented on 2024-10-08 14:47 (UTC)

Cannot build the most recent version of openvpn3: In file included from src/dco/dco-keyconfig.pb.cc:4: src/dco/dco-keyconfig.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is 12 | #error This file was generated by a newer version of protoc which is | ^~~~~ src/dco/dco-keyconfig.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update 13 | #error incompatible with your Protocol Buffer headers. Please update | ^~~~~ src/dco/dco-keyconfig.pb.h:14:2: error: #error your headers. 14 | #error your headers. | ^~~~~ src/dco/dco-keyconfig.pb.h:36:1: error: 'PROTOBUF_NAMESPACE_OPEN' does not name a type 36 | PROTOBUF_NAMESPACE_OPEN | ^~~~~~~~~~~~~~~~~~~~~~~ src/dco/dco-keyconfig.pb.h:40:1: error: 'PROTOBUF_NAMESPACE_CLOSE' does not name a type 40 | PROTOBUF_NAMESPACE_CLOSE | ^~~~~~~~~~~~~~~~~~~~~~~~

Fuzzy commented on 2024-10-07 13:31 (UTC) (edited on 2024-10-07 14:09 (UTC) by Fuzzy)

tj_88, I had the same problem - it is solved by instruction in pinned comment.

tj_83 commented on 2024-10-07 13:30 (UTC) (edited on 2024-10-07 13:30 (UTC) by tj_83)

Build is failing with v23-1

[77/78] Linking target src/tests/ovpncli-netcfg
ninja: Entering directory `/home/tina/.cache/yay/openvpn3/src/_builddir'
ninja: no work to do.
1/7 openvpn3-linux:standalone / logevent-selftest                      OK              0.01s
2/7 openvpn3-linux:standalone / netcfg-changeevent-selftest            OK              0.01s
3/7 openvpn3-linux:standalone / netcfg-dns-direct-file-selftest        OK              0.01s
4/7 openvpn3-linux:dbus / platforminfo                                 OK              0.09s
5/7 openvpn3-linux:unit / unit-tests                                   OK              0.12s
6/7 openvpn3-linux:post-install / config-override-selftest             FAIL            0.24s   killed by signal 6 SIGABRT
>>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 MALLOC_PERTURB_=215 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /home/tina/.cache/yay/openvpn3/src/_builddir/src/tests/config-override-selftest

7/7 openvpn3-linux:dbus / request-queue-test                           OK              1.44s

Ok:                 6   
Expected Fail:      0   
Fail:               1   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   

Prigoryan commented on 2024-09-22 15:53 (UTC)

autoconf-archive should probably be listed as a make dependecy.

deathangel908 commented on 2024-09-14 20:06 (UTC)

depends on old protobuf 28.0 where the new one is 28.1

SparkyTD commented on 2024-09-13 17:46 (UTC) (edited on 2024-09-13 17:47 (UTC) by SparkyTD)

I can no longer build this after 22_dev-7, previous version worked fine.

Output of "yay -S openvpn3": https://pastebin.com/raw/PLmbhBz9

Output of "yay -S openvpn3-git": https://pastebin.com/raw/bLsQUc4t

I already tried yay -Scc and yay -Sc as suggested by others.

Any help is appreciated!

deathangel908 commented on 2024-09-12 16:20 (UTC)

: openvpn3 session-start --config ./v9.ovpn;
Using pre-loaded configuration profile './v9.ovpn'
openvpn3/session-start: ** ERROR ** No such method “Validate”