Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601524 - net-misc/openvpn-2.4_rc1: USE="inotify -plugins" error: 'struct key_state' has no member named 'auth_control_file'
Summary: net-misc/openvpn-2.4_rc1: USE="inotify -plugins" error: 'struct key_state' ha...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Manuel Rüger (RETIRED)
URL: https://community.openvpn.net/openvpn...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-03 15:30 UTC by Albert W. Hopkins
Modified: 2016-12-04 11:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,34.76 KB, text/x-log)
2016-12-03 15:30 UTC, Albert W. Hopkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2016-12-03 15:30:22 UTC
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
                                                                     ^
```
Comment 1 Felix Janda 2016-12-04 03:04:32 UTC
Submitted a pull request for this upstream:

https://github.com/OpenVPN/openvpn/pull/70
Comment 2 Chris White 2016-12-04 03:37:51 UTC
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
Comment 3 Patrick McLean gentoo-dev 2016-12-04 05:44:32 UTC
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
Comment 4 Albert W. Hopkins 2016-12-04 10:49:06 UTC
(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.
Comment 5 Felix Janda 2016-12-04 11:53:00 UTC
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 .