Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606922 - net-misc/openvpn-2.4.0 with dev-libs/openssl-1.1.0c - crypto.c:843:32: error: invalid application of 'sizeof' to incomplete type 'cipher_ctx_t {aka struct evp_cipher_ctx_st}'
Summary: net-misc/openvpn-2.4.0 with dev-libs/openssl-1.1.0c - crypto.c:843:32: error:...
Status: RESOLVED TEST-REQUEST
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:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2017-01-23 14:27 UTC by eroen
Modified: 2017-06-21 18:05 UTC (History)
1 user (show)

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


Attachments
net-misc/openvpn-2.4.0:20170123-141901.log (openvpn-2.4.0:20170123-141901.log,29.04 KB, text/plain)
2017-01-23 14:27 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2017-01-23 14:27:33 UTC
Created attachment 461072 [details]
net-misc/openvpn-2.4.0:20170123-141901.log

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include  -I../../include -I../../src/compat        -O0 -g -std=c99 -c -o crypto.o crypto.c
In file included from crypto.h:131:0,
                 from crypto.c:36:
crypto.c: In function 'init_key_ctx':
crypto.c:843:32: error: invalid application of 'sizeof' to incomplete type 'cipher_ctx_t {aka struct evp_cipher_ctx_st}'
         ALLOC_OBJ(ctx->cipher, cipher_ctx_t);
                                ^
buffer.h:1013:61: note: in definition of macro 'ALLOC_OBJ'
         check_malloc_return((dptr) = (type *) malloc(sizeof(type))); \
                                                             ^~~~
crypto.c:867:30: error: invalid application of 'sizeof' to incomplete type 'hmac_ctx_t {aka struct hmac_ctx_st}'
         ALLOC_OBJ(ctx->hmac, hmac_ctx_t);
                              ^
buffer.h:1013:61: note: in definition of macro 'ALLOC_OBJ'
         check_malloc_return((dptr) = (type *) malloc(sizeof(type))); \
                                                             ^~~~
make[3]: *** [Makefile:670: crypto.o] Error 1
make[3]: Leaving directory '/var/tmp/portage/net-misc/openvpn-2.4.0/work/openvpn-2.4.0/src/openvpn'
make[2]: *** [Makefile:425: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-misc/openvpn-2.4.0/work/openvpn-2.4.0/src'
make[1]: *** [Makefile:611: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-misc/openvpn-2.4.0/work/openvpn-2.4.0'
make: *** [Makefile:499: all] Error 2
 * ERROR: net-misc/openvpn-2.4.0::gentoo failed (compile phase):
 *   emake failed
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2017-01-23 18:30:53 UTC
See also: https://community.openvpn.net/openvpn/ticket/802
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2017-06-21 18:05:51 UTC
Please test openvpn-2.4.3 which has announced to have support for 2.4.3