Summary: | net-misc/openvpn-2.4_rc1: USE="inotify -plugins" error: 'struct key_state' has no member named 'auth_control_file' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Albert W. Hopkins <marduk> |
Component: | Current packages | Assignee: | Manuel RĂ¼ger (RETIRED) <mrueg> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | chutzpah, cwprogram, tamiko |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://community.openvpn.net/openvpn/ticket/783 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Submitted a pull request for this upstream: https://github.com/OpenVPN/openvpn/pull/70 This is actually a bit more than the async-push configure option. The problem is there is a compile failure when USE="inotify" and USE="-plugins" is set together. I've reported this upstream with more details: https://community.openvpn.net/openvpn/ticket/783 Added inotify? ( plugins ) to REQUIRED_USE to openvpn-2.4_rc1-r1 for now until upstream fixes the problem https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e8aefee341cde3a2d80dffda7c24cd1ff923ce (In reply to Chris White from comment #2) > This is actually a bit more than the async-push configure option. The > problem is there is a compile failure when USE="inotify" and USE="-plugins" > is set together. I've reported this upstream with more details: > > https://community.openvpn.net/openvpn/ticket/783 I'm actually experiencing the issue with USE="-inotify" and USE="-plugins": [ebuild U ] net-misc/openvpn-2.4_rc1::gentoo [2.3.13::gentoo] USE="lzo ssl systemd -down-root -examples -inotify% -iproute2 -libressl -lz4% -mbedtls% -pam -pkcs11 -plugins (-polarssl) (-selinux) -static {-test%} (-socks%)" 0 KiB So actually openvpn-2.4_rc1-r1 still fails with the same error. There are two different upstream issues resulting in the same compile failure. They occur 1. with USE="inotify -plugins", or 2. with USE="-inotify", respectively. The first is addressed in https://community.openvpn.net/openvpn/ticket/783 , the second in https://github.com/OpenVPN/openvpn/pull/70 . |
Created attachment 454996 [details] build log Compilation of the new ebuild fails to compile with: ``` x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../src/compat -march=native -O2 -pipe -std=c99 -c -o occ.o occ.c multi.c: In function 'multi_process_post': multi.c:2215:19: error: 'struct key_state' has no member named 'auth_control_file' if (ks && ks->auth_control_file && ks->auth_deferred && !was_authenticate ^ multi.c:2218:70: error: 'struct key_state' has no member named 'auth_control_file' long watch_descriptor = inotify_add_watch(m->top.c2.inotify_fd, ks->auth_cont ^ ```