Package Details: openvpn3 26-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: Phhere
Last Packager: Phhere
Votes: 23
Popularity: 0.48
First Submitted: 2020-07-04 06:51 (UTC)
Last Updated: 2025-09-28 20:18 (UTC)

Latest Comments

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

boniek commented on 2025-10-04 09:58 (UTC) (edited on 2025-10-04 10:07 (UTC) by boniek)

I get this only when upgrading from older openvpn3 (24.1 I think it was). It works when freshly installed though.


.. Checking override 'proxy-password': PASS
.. Checking override 'proxy-auth-cleartext': PASS
.. Checking override 'enterprise-profile': PASS
.. Checking override 'automatic-restart': SKIPPING

OVERALL TEST RESULT: FAIL (1 failed)
Failed overrides: automatic-restart
==============================================================================
This was error I was getting when upgrading from 24
I hav removed older version and now it installs.
==================================== 6/6 =====================================
test:         openvpn3-linux:dbus / request-queue-test
start time:   09:51:14
duration:     0.36s
result:       exit status 0
command:      MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=25 /home/boniek/.cache/paru/clone/openvpn3/src/_builddir/src/tests/request-queue-test ../src/tests/request-queue-service 100
==============================================================================


Summary of Failures:

5/6 openvpn3-linux:post-install / config-override-selftest      FAIL            0.14s   exit status 2

Ok:                5
Fail:              1

Philotomy commented on 2025-10-03 19:11 (UTC)

When building 26-1 I get the same error reported by @leonkacowicz (i.e. config-override-selftest is failing with exit status 2). Detail from meson-logs/testlog.txt follows:

==================================== 4/6 =====================================
test:         openvpn3-linux:post-install / config-override-selftest
start time:   19:00:08
duration:     0.04s
result:       exit status 2
command:      MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=222 MESON_TEST_ITERATION=1 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/jwc/aur/packages/openvpn3/src/_builddir/src/tests/config-override-selftest
----------------------------------- stdout -----------------------------------
.. Testing unsetting an unset override ... PASS
.. Testing unsetting an invalid override ... PASS
.. Testing setting an invalid override ... PASS
.. Testing setting an override with invalid type [bool:string] (1) ... PASS
.. Testing setting an override with invalid type [bool:string] (2) ... PASS
.. Testing setting an override with invalid type [string:bool] (1) ... PASS
.. Testing setting an override with invalid type [string:bool] (2) ... PASS
.. Testing setting a string override with ASCII control chars (need to be removed by service) ... PASS
.. Checking all overrides are unset ... PASS
.. Setting override: [type string] server-override = 'override:server-override'
.. Setting override: [type string] port-override = 'override:port-override'
.. Setting override: [type string] proto-override = 'override:proto-override'
.. Setting override: [type string] ipv6 = 'override:ipv6'
.. Setting override: [type boolean] persist-tun = true
.. Setting override: [type string] log-level = 'override:log-level'
.. Setting override: [type boolean] dns-fallback-google = true
.. Setting override: [type boolean] dns-setup-disabled = true
.. Setting override: [type string] dns-scope = 'override:dns-scope'
.. Setting override: [type boolean] dns-sync-lookup = true
.. Setting override: [type boolean] auth-fail-retry = true
.. Setting override: [type string] allow-compression = 'override:allow-compression'
.. Setting override: [type boolean] enable-legacy-algorithms = true
.. Setting override: [type string] tls-version-min = 'override:tls-version-min'
.. Setting override: [type string] tls-cert-profile = 'override:tls-cert-profile'
.. Setting override: [type string] proxy-host = 'override:proxy-host'
.. Setting override: [type string] proxy-port = 'override:proxy-port'
.. Setting override: [type string] proxy-username = 'override:proxy-username'
.. Setting override: [type string] proxy-password = 'override:proxy-password'
.. Setting override: [type boolean] proxy-auth-cleartext = true
.. Setting override: [type string] enterprise-profile = 'override:enterprise-profile'
.. Setting override: [type string] automatic-restart = 'override:automatic-restart'
                     EXCEPTION: [Configuration Manager] SetOverride Error: Invalid override key 'automatic-restart'
.. Checking override 'server-override': PASS
.. Checking override 'port-override': PASS
.. Checking override 'proto-override': PASS
.. Checking override 'ipv6': PASS
.. Checking override 'persist-tun': PASS
.. Checking override 'log-level': PASS
.. Checking override 'dns-fallback-google': PASS
.. Checking override 'dns-setup-disabled': PASS
.. Checking override 'dns-scope': PASS
.. Checking override 'dns-sync-lookup': PASS
.. Checking override 'auth-fail-retry': PASS
.. Checking override 'allow-compression': PASS
.. Checking override 'enable-legacy-algorithms': PASS
.. Checking override 'tls-version-min': PASS
.. Checking override 'tls-cert-profile': PASS
.. Checking override 'proxy-host': PASS
.. Checking override 'proxy-port': PASS
.. Checking override 'proxy-username': PASS
.. Checking override 'proxy-password': PASS
.. Checking override 'proxy-auth-cleartext': PASS
.. Checking override 'enterprise-profile': PASS
.. Checking override 'automatic-restart': SKIPPING

OVERALL TEST RESULT: FAIL (1 failed)
Failed overrides: automatic-restart
 ==============================================================================

skiwichu commented on 2025-09-30 06:21 (UTC) (edited on 2025-09-30 06:21 (UTC) by skiwichu)

I had a problem with bulding gdbuspp solved by adding export CXXFLAGS+=" -Wno-error=free-nonheap-object" to build() function.

Then:
1. yay -G openvpn3
2. In PKGBUILD add -Ddco=disabled to the build() function
3. Run makepkg -sri
as suggested below.

vchlum commented on 2025-09-29 04:39 (UTC)

Removing the package and installing it again fixed the issue for me.

leonkacowicz commented on 2025-09-28 23:21 (UTC) (edited on 2025-09-28 23:21 (UTC) by leonkacowicz)

I can't build 26-1; all builds were working fine until this version.

1/6 openvpn3-linux:standalone / logevent-selftest                      OK              0.01s
2/6 openvpn3-linux:standalone / netcfg-changeevent-selftest            OK              0.01s
3/6 openvpn3-linux:standalone / netcfg-dns-direct-file-selftest        OK              0.01s
4/6 openvpn3-linux:post-install / config-override-selftest             FAIL            0.06s   exit status 2
>>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=181 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /home/leon/.cache/yay/openvpn3/src/_builddir/src/tests/config-override-selftest

5/6 openvpn3-linux:dbus / platforminfo                                 OK              0.08s
6/6 openvpn3-linux:dbus / request-queue-test                           OK              0.92s

Ok:                5   
Fail:              1   

Ganji commented on 2025-09-16 07:35 (UTC)

There is an error with libprotobuf:

openvpn3-service-backendstart[86248]: /usr/lib/openvpn3-linux/openvpn3-service-client: error while loading shared libraries: libprotobuf.so.31.1.0: cannot open shared object file: No such file or directory

Energi commented on 2025-09-02 07:45 (UTC) (edited on 2025-09-02 07:46 (UTC) by Energi)

@narigama's patch is pointing to the -git repository, but the idea is the same:

  1. Clone https://aur.archlinux.org/openvpn3.git (this repo)
  2. In PKGBUILD add -Ddco=disabled to the build() function
  3. Run makepkg -sri

Here's a patch for this repository, if preferred:

diff --git a/PKGBUILD b/PKGBUILD
index 6572a6c..54c0685 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -48,6 +48,7 @@ build() {
     -Dselinux_policy=disabled \
     -Dbash-completion=enabled \
     -Dtest_programs=disabled \
+    -Ddco=disabled \
     -Dunit_tests=disabled \
     "${_pkgname}-${pkgver}" \
     _builddir

narigama commented on 2025-08-29 09:32 (UTC)

Ran into issues today after a kernel update, the following steps fixed it:

Run git clone https://aur.archlinux.org/openvpn3-git.git

Apply this patch/add this one line:

diff --git a/PKGBUILD b/PKGBUILD
index 8c82cc1..7a37c0e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -59,6 +59,7 @@ build() {
       "${_pkgname}" \
       _builddir \
     -Dtest_programs=disabled \
+    -Ddco=disabled \
     -Dunit_tests=disabled
   meson compile -C _builddir
 }

Finally, run makepkg -sri

daskol commented on 2025-08-28 12:48 (UTC) (edited on 2025-08-28 12:49 (UTC) by daskol)

Here is a patch for ovpn being merged into linux kernel 6.16.

UPD Sorry for a long comment. There is no collapse option.

diff --git a/PKGBUILD b/PKGBUILD
index 6572a6c..d5bf3be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 _pkgname=openvpn3-linux
 pkgname=openvpn3
-pkgver=24.1
+pkgver=25
 pkgrel=1
 pkgdesc='OpenVPN 3 Linux client'
 arch=('x86_64' 'aarch64')
@@ -20,24 +20,20 @@ optdepends=(
 makedepends=(
   'python-docutils' 'python-jinja' 'meson'
 )
+_openvpn3_core_ver=3.11.4
 source=(
   "https://swupdate.openvpn.net/community/releases/${_pkgname}-${pkgver}.tar.xz"
+  "openvpn3-core-${_openvpn3_core_ver}.tar.gz::https://github.com/OpenVPN/openvpn3/archive/refs/tags/release/${_openvpn3_core_ver}.tar.gz"
   'openvpn3.rule'
   'sysusers-openvpn3.conf'
-  'google-test-1.17.patch'
-)
-sha256sums=(
-  'c0e5db2cea4e9f2118b81425d3833b85821c515b72a53e21479c7a1f24d4bef0'
-  'ec0b8e28ae77b4b074d3eb8a084626e6dcfc587a07bef5d53fe1c6e160c0fc01'
-  '045e914bb6fff5a082314dfc805bb511c9a80170619fa1e94a07825fa977c90a'
-  '5ab817114ae64da4fe4d9088fe5bbdd40f07138d5daa4a901bbc9c8850f44c62'
 )
+sha256sums=('efccb7958fefcea4e03a9b96e5391c87c7f55bb28ae36782e41e22f7ff6d15b5'
+            '37a2544548f34e68aced6bf434c3b1be8033bf5d4d1db8bcb75bac75771c58dc'
+            'ec0b8e28ae77b4b074d3eb8a084626e6dcfc587a07bef5d53fe1c6e160c0fc01'
+            '045e914bb6fff5a082314dfc805bb511c9a80170619fa1e94a07825fa977c90a')
 install=openvpn3.install

 prepare() {
-  patch -d "${srcdir}/${_pkgname}-${pkgver}" \
-          -Np1 \
-          -i "${srcdir}/google-test-1.17.patch"
   meson subprojects download --sourcedir="${_pkgname}-${pkgver}"
 }

@@ -49,6 +45,7 @@ build() {
     -Dbash-completion=enabled \
     -Dtest_programs=disabled \
     -Dunit_tests=disabled \
+    -Dopenvpn3_core_path="${srcdir}/openvpn3-release-${_openvpn3_core_ver}" \
     "${_pkgname}-${pkgver}" \
     _builddir
   meson compile -C _builddir

skiwichu commented on 2025-08-27 20:19 (UTC) (edited on 2025-08-27 20:20 (UTC) by skiwichu)

@remanifest 's solution sounds reasonable.

If you don't want to reconfigure PKGBUILD, you can solve it by downgrading protobuf, protobuf-c, and abseil-cpp what seems to be the easiest way how to fix it till the version 25 will be released here.