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
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: | 17 |
Popularity: | 0.165389 |
First Submitted: | 2020-07-04 06:51 (UTC) |
Last Updated: | 2024-10-05 04:30 (UTC) |
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
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.
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
| ^~~~~~~~~~~~~~~~~~~~~~~~
tj_88, I had the same problem - it is solved by instruction in pinned comment.
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
autoconf-archive
should probably be listed as a make dependecy.
depends on old protobuf 28.0 where the new one is 28.1
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!
: openvpn3 session-start --config ./v9.ovpn;
Using pre-loaded configuration profile './v9.ovpn'
openvpn3/session-start: ** ERROR ** No such method “Validate”
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.