Package Details: openvpn3 24-2

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: 21
Popularity: 1.08
First Submitted: 2020-07-04 06:51 (UTC)
Last Updated: 2024-12-23 12:57 (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

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 Next › Last »

lis82 commented on 2023-07-20 12:19 (UTC)

Add automake to the build dependenices.

Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 274.
autoreconf: error: aclocal failed with exit status: 2

thesharkcharles commented on 2023-07-14 19:05 (UTC)

Fuzzy is spot on - the libprotobuf.so issue comes about because other software updates have modified files which openvpn3 depends on.

Rebuilding will cause openvpn3 to use the updated files and the error will go away.

I also recommend installing rebuild-detector - this will warn you when AUR packages have been affected by similar problems so you can be proactive about rebuilding (and avoid similar errors in future).

Fuzzy commented on 2023-07-14 11:27 (UTC) (edited on 2023-07-14 12:03 (UTC) by Fuzzy)

The below problem was fixed by reinstallation of openvpn3 package from AUR with clean rebuild.

I got the same problem:

** ERROR ** Failed preparing proxy: Error calling StartServiceByName for net.openvpn.v3.sessions: Launch helper exited with unknown return code 127
And I see that libprotobuf.so.32 is not found (I have extra/protobuf 23.4-1 installed)

$ ldd /usr/libexec/openvpn3-linux/openvpn3-service-sessionmgr
        linux-vdso.so.1 (0x00007ffea9b75000)
        libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f022b9f1000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f022b98f000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f022b844000)
        libjsoncpp.so.25 => /usr/lib/libjsoncpp.so.25 (0x00007f022b80a000)
        libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007f022b801000)
        libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f022b719000)
        libprotobuf.so.32 => not found
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f022b400000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f022b6f2000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f022b216000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f022b6eb000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f022b6d1000)
        libmount.so.1 => /usr/lib/libmount.so.1 (0x00007f022b67e000)
        libffi.so.8 => /usr/lib/libffi.so.8 (0x00007f022b20b000)
        libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007f022b170000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f022b083000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f022bc85000)
        libcap.so.2 => /usr/lib/libcap.so.2 (0x00007f022b077000)
        libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f022af2f000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f022aefc000)
        libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f022ae29000)
        liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007f022ae07000)
        libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007f022adcb000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f022ada5000)

florinb commented on 2023-07-13 07:51 (UTC)

Hey, had the same issue as below when trying to start a session. I tried reinstalling the AUR pkg, but there are build errors. I have glib2 v2.76.4, but to me this looks related to protobuf:

In file included from src/netcfg/proxy-netcfg-device.cpp:34:
src/netcfg/dco-keyconfig.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
   17 | #error This file was generated by an older version of protoc which is
      |  ^~~~~
src/netcfg/dco-keyconfig.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
   18 | #error incompatible with your Protocol Buffer headers. Please
      |  ^~~~~
src/netcfg/dco-keyconfig.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
   19 | #error regenerate this file with a newer version of protoc.
      |  ^~~~~
  CXX      src/netcfg/dco-keyconfig.pb.o
In file included from src/netcfg/dco-keyconfig.pb.cc:4:
./src/netcfg/dco-keyconfig.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
   17 | #error This file was generated by an older version of protoc which is
      |  ^~~~~
./src/netcfg/dco-keyconfig.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
   18 | #error incompatible with your Protocol Buffer headers. Please
      |  ^~~~~
./src/netcfg/dco-keyconfig.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
   19 | #error regenerate this file with a newer version of protoc.
      |  ^~~~~
src/netcfg/dco-keyconfig.pb.h:173:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
  173 |   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
      |                                   ^~~~~~~~~~~
src/netcfg/dco-keyconfig.pb.h: In member function ‘void openvpn::DcoKeyConfig_KeyDirection::UnsafeArenaSwap(openvpn::DcoKeyConfig_KeyDirection*)’:
src/netcfg/dco-keyconfig.pb.h:138:5: error: ‘GOOGLE_DCHECK’ was not declared in this scope; did you mean ‘ABSL_DCHECK’?
  138 |     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
      |     ^~~~~~~~~~~~~
      |     ABSL_DCHECK
src/netcfg/dco-keyconfig.pb.h: At global scope:
src/netcfg/dco-keyconfig.pb.h:396:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
  396 |   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
      |                                   ^~~~~~~~~~~
src/netcfg/dco-keyconfig.pb.h: In member function ‘void openvpn::DcoKeyConfig::UnsafeArenaSwap(openvpn::DcoKeyConfig*)’:
src/netcfg/dco-keyconfig.pb.h:361:5: error: ‘GOOGLE_DCHECK’ was not declared in this scope; did you mean ‘ABSL_DCHECK’?
  361 |     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
      |     ^~~~~~~~~~~~~
      |     ABSL_DCHECK
./src/netcfg/dco-keyconfig.pb.h:173:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
  173 |   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
      |                                   ^~~~~~~~~~~
./src/netcfg/dco-keyconfig.pb.h: In member function ‘void openvpn::DcoKeyConfig_KeyDirection::UnsafeArenaSwap(openvpn::DcoKeyConfig_KeyDirection*)’:
./src/netcfg/dco-keyconfig.pb.h:138:5: error: ‘GOOGLE_DCHECK’ was not declared in this scope; did you mean ‘ABSL_DCHECK’?
  138 |     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
      |     ^~~~~~~~~~~~~
      |     ABSL_DCHECK
./src/netcfg/dco-keyconfig.pb.h: At global scope:
./src/netcfg/dco-keyconfig.pb.h:396:35: error: ‘StringPiece’ in namespace ‘google::protobuf’ does not name a type
  396 |   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
      |                                   ^~~~~~~~~~~
./src/netcfg/dco-keyconfig.pb.h: In member function ‘void openvpn::DcoKeyConfig::UnsafeArenaSwap(openvpn::DcoKeyConfig*)’:
./src/netcfg/dco-keyconfig.pb.h:361:5: error: ‘GOOGLE_DCHECK’ was not declared in this scope; did you mean ‘ABSL_DCHECK’?
  361 |     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
      |     ^~~~~~~~~~~~~
      |     ABSL_DCHECK
src/netcfg/dco-keyconfig.pb.cc: At global scope:
src/netcfg/dco-keyconfig.pb.cc:117:16: error: ‘once_flag’ in namespace ‘_pbi’ does not name a type
  117 | static ::_pbi::once_flag descriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto_once;
      |                ^~~~~~~~~
src/netcfg/dco-keyconfig.pb.cc:121:6: error: ‘descriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto_once’ was not declared in this scope; did you mean ‘descriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto’?
  121 |     &descriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto_once, nullptr, 0, 2,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |      descriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto
src/netcfg/dco-keyconfig.pb.cc: In constructor ‘openvpn::DcoKeyConfig_KeyDirection::DcoKeyConfig_KeyDirection(google::protobuf::Arena*, bool)’:
src/netcfg/dco-keyconfig.pb.cc:158:61: error: no matching function for call to ‘google::protobuf::Message::Message(google::protobuf::Arena*&, bool&)’
  158 |   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
      |                                                             ^
In file included from ./src/netcfg/dco-keyconfig.pb.h:29:
/usr/include/google/protobuf/message.h:416:19: note: candidate: ‘google::protobuf::Message::Message(google::protobuf::Arena*)’
  416 |   inline explicit Message(Arena* arena) : MessageLite(arena) {}
      |                   ^~~~~~~
/usr/include/google/protobuf/message.h:416:19: note:   candidate expects 1 argument, 2 provided
/usr/include/google/protobuf/message.h:252:13: note: candidate: ‘constexpr google::protobuf::Message::Message()’
  252 |   constexpr Message() {}
      |             ^~~~~~~
/usr/include/google/protobuf/message.h:252:13: note:   candidate expects 0 arguments, 2 provided
src/netcfg/dco-keyconfig.pb.cc: In member function ‘void openvpn::DcoKeyConfig_KeyDirection::SharedDtor()’:
src/netcfg/dco-keyconfig.pb.cc:238:3: error: ‘GOOGLE_DCHECK’ was not declared in this scope; did you mean ‘ABSL_DCHECK’?
  238 |   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
      |   ^~~~~~~~~~~~~
      |   ABSL_DCHECK
src/netcfg/dco-keyconfig.pb.cc: In static member function ‘static void openvpn::DcoKeyConfig_KeyDirection::MergeImpl(google::protobuf::Message&, const google::protobuf::Message&)’:
src/netcfg/dco-keyconfig.pb.cc:446:3: error: ‘GOOGLE_DCHECK_NE’ was not declared in this scope; did you mean ‘ABSL_DCHECK_NE’?
  446 |   GOOGLE_DCHECK_NE(&from, _this);
      |   ^~~~~~~~~~~~~~~~
      |   ABSL_DCHECK_NE
src/netcfg/dco-keyconfig.pb.cc: In member function ‘virtual google::protobuf::Metadata openvpn::DcoKeyConfig_KeyDirection::GetMetadata() const’:
src/netcfg/dco-keyconfig.pb.cc:504:73: error: ‘descriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto_once’ was not declared in this scope; did you mean ‘descriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto_getter’?
  504 | scriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto_getter, &descriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto_once,
      |                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                descriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto_getter
src/netcfg/dco-keyconfig.pb.cc: In constructor ‘openvpn::DcoKeyConfig::DcoKeyConfig(google::protobuf::Arena*, bool)’:
src/netcfg/dco-keyconfig.pb.cc:545:61: error: no matching function for call to ‘google::protobuf::Message::Message(google::protobuf::Arena*&, bool&)’
  545 |   : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
      |                                                             ^
/usr/include/google/protobuf/message.h:416:19: note: candidate: ‘google::protobuf::Message::Message(google::protobuf::Arena*)’
  416 |   inline explicit Message(Arena* arena) : MessageLite(arena) {}
      |                   ^~~~~~~
/usr/include/google/protobuf/message.h:416:19: note:   candidate expects 1 argument, 2 provided
/usr/include/google/protobuf/message.h:252:13: note: candidate: ‘constexpr google::protobuf::Message::Message()’
  252 |   constexpr Message() {}
      |             ^~~~~~~
/usr/include/google/protobuf/message.h:252:13: note:   candidate expects 0 arguments, 2 provided
src/netcfg/dco-keyconfig.pb.cc: In member function ‘void openvpn::DcoKeyConfig::SharedDtor()’:
src/netcfg/dco-keyconfig.pb.cc:599:3: error: ‘GOOGLE_DCHECK’ was not declared in this scope; did you mean ‘ABSL_DCHECK’?
  599 |   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
      |   ^~~~~~~~~~~~~
      |   ABSL_DCHECK
src/netcfg/dco-keyconfig.pb.cc: In member function ‘virtual void openvpn::DcoKeyConfig::Clear()’:
src/netcfg/dco-keyconfig.pb.cc:617:7: error: ‘GOOGLE_DCHECK’ was not declared in this scope; did you mean ‘ABSL_DCHECK’?
  617 |       GOOGLE_DCHECK(_impl_.encrypt_ != nullptr);
      |       ^~~~~~~~~~~~~
      |       ABSL_DCHECK
src/netcfg/dco-keyconfig.pb.cc:621:7: error: ‘GOOGLE_DCHECK’ was not declared in this scope; did you mean ‘ABSL_DCHECK’?
  621 |       GOOGLE_DCHECK(_impl_.decrypt_ != nullptr);
      |       ^~~~~~~~~~~~~
      |       ABSL_DCHECK
src/netcfg/dco-keyconfig.pb.cc: In static member function ‘static void openvpn::DcoKeyConfig::MergeImpl(google::protobuf::Message&, const google::protobuf::Message&)’:
src/netcfg/dco-keyconfig.pb.cc:835:3: error: ‘GOOGLE_DCHECK_NE’ was not declared in this scope; did you mean ‘ABSL_DCHECK_NE’?
  835 |   GOOGLE_DCHECK_NE(&from, _this);
      |   ^~~~~~~~~~~~~~~~
      |   ABSL_DCHECK_NE
src/netcfg/dco-keyconfig.pb.cc: In member function ‘virtual google::protobuf::Metadata openvpn::DcoKeyConfig::GetMetadata() const’:
src/netcfg/dco-keyconfig.pb.cc:895:73: error: ‘descriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto_once’ was not declared in this scope; did you mean ‘descriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto_getter’?
  895 | scriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto_getter, &descriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto_once,
      |                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                descriptor_table_src_2fnetcfg_2fdco_2dkeyconfig_2eproto_getter
make[2]: *** [Makefile:4247: src/netcfg/proxy-netcfg-device.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:3699: src/netcfg/dco-keyconfig.pb.o] Error 1

miktwon commented on 2023-07-11 12:49 (UTC) (edited on 2023-07-11 12:49 (UTC) by miktwon)

Hey now I have (with/without downgrade 'glib2=2.74.6')

openvpn3 session-start --config client.ovpn
** ERROR ** Failed preparing proxy: Error calling StartServiceByName for net.openvpn.v3.sessions: Launch helper exited with unknown return code 127

biondizzle commented on 2023-05-24 17:24 (UTC)

Can someone downgrade glib and then modify the openvpn makefile with -static in the linker options so that way it just becomes part of the bin? I had path issues when I tried and couldn't quite figure out how options were passed from the PKGBUILD -> bootstrap -> makefile. I need another few hours of tinkering to get it to work but won't be able to dedicate the time for another few days, hoping someone can get to it first, if not I'll post the instructions and then hopefully someone can merge it in for everyone.

AckslD commented on 2023-05-05 17:18 (UTC)

Not sure it's related to the issue others are having with glib2 but for about a year I've had to use a downgraded version of protobuf since openpvn3 does not work with newer versions for some reason. It also segfaults early so cannot do any logging.

stfm5 commented on 2023-04-12 10:56 (UTC)

Upgrading to 20-1 doesn't resolve the issue. Downgrading glib2 still the only way to run it.

fapplin commented on 2023-04-04 10:30 (UTC)

I know this doesn't solve what's going on with OpenVPN3, but I had to find a solution for my wife's work from home days. So, I swallowed my pride and dare I say it - created a bootable flash drive with Windows 10 and an OpenVPN3 client on it. It kept my Endeavour OS system intact, but easily solved our problem. It works great and boots up quick.

https://www.easyuefi.com/wintousb/

williamf6894 commented on 2023-04-04 09:20 (UTC) (edited on 2023-04-04 09:21 (UTC) by williamf6894)

When I downgraded glib2 to 2.74.6, I couldn't use pacman or yay to update since timeshift would crash before updating.

To get around this you will need to revert the downgrade by running. sudo SKIP_AUTOSNAP=1 pacman -S glib2

During the downgrade if you chose to ignore the package then you will need to revert that too.
sudo vim /etc/pacman.conf You should see glib2 mentioned near the top under options.