chromeos-base/shill-0.0.3-r704 fails to build with dev-libs/openssl-1.1.0f.
trunks is a cros_workon package. -0.0.3-r704 corresponds to commit:
b02dfadbd697ff664d6b00a595a9c36e7011faf6
shill: Switch TLSRemote to use verify-x509-name option
in repository src/aosp/system/connectivity/shill
The compile errors are:
/aosp/system/connectivity/shill/shims/crypto_util.cc:184:6: error: member access into incomplete type 'RSA' (aka 'rsa_st')
rsa->e = BN_new();
^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'rsa_st'
typedef struct rsa_st RSA;
^
/aosp/system/connectivity/shill/shims/crypto_util.cc:185:6: error: member access into incomplete type 'RSA' (aka 'rsa_st')
rsa->n = BN_new();
^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'rsa_st'
typedef struct rsa_st RSA;
^
/aosp/system/connectivity/shill/shims/crypto_util.cc:186:11: error: member access into incomplete type 'RSA' (aka 'rsa_st')
if (!rsa->e || !rsa->n ||
^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'rsa_st'
typedef struct rsa_st RSA;
^
/aosp/system/connectivity/shill/shims/crypto_util.cc:224:11: error: member access into incomplete type 'X509' (aka 'x509_st')
x509->cert_info->subject,
^
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'x509_st'
typedef struct x509_st X509;
^
/aosp/system/connectivity/shill/shims/crypto_util.cc:425:3: error: use of undeclared identifier 'CRYPTO_malloc_init'
CRYPTO_malloc_init();
^
/aosp/system/connectivity/shill/shims/crypto_util.cc:439:3: error: 'ERR_remove_thread_state' is deprecated [-Werror,-Wdeprecated-declarations]
ERR_remove_thread_state(nullptr);
^
/usr/include/openssl/err.h:247:1: note: 'ERR_remove_thread_state' has been explicitly marked deprecated here
DEPRECATEDIN_1_1_0(void ERR_remove_thread_state(void *))
^
/usr/include/x86_64-cros-linux-gnu/openssl/opensslconf.h:124:34: note: expanded from macro 'DEPRECATEDIN_1_1_0'
# define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
^
/usr/include/x86_64-cros-linux-gnu/openssl/opensslconf.h:99:53: note: expanded from macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
6 errors generated.
/aosp/system/connectivity/shill/shims/crypto_util.cc:184:6: error: member access into incomplete type 'RSA' (aka 'rsa_st')
rsa->e = BN_new();
^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'rsa_st'
typedef struct rsa_st RSA;
^
/aosp/system/connectivity/shill/shims/crypto_util.cc:185:6: error: member access into incomplete type 'RSA' (aka 'rsa_st')
rsa->n = BN_new();
^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'rsa_st'
typedef struct rsa_st RSA;
^
/aosp/system/connectivity/shill/shims/crypto_util.cc:186:11: error: member access into incomplete type 'RSA' (aka 'rsa_st')
if (!rsa->e || !rsa->n ||
^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'rsa_st'
typedef struct rsa_st RSA;
^
/aosp/system/connectivity/shill/shims/crypto_util.cc:224:11: error: member access into incomplete type 'X509' (aka 'x509_st')
x509->cert_info->subject,
^
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'x509_st'
typedef struct x509_st X509;
^
/aosp/system/connectivity/shill/shims/crypto_util.cc:425:3: error: use of undeclared identifier 'CRYPTO_malloc_init'
CRYPTO_malloc_init();
^
/aosp/system/connectivity/shill/shims/crypto_util.cc:439:3: error: 'ERR_remove_thread_state' is deprecated [-Werror,-Wdeprecated-declarations]
ERR_remove_thread_state(nullptr);
^
/usr/include/openssl/err.h:247:1: note: 'ERR_remove_thread_state' has been explicitly marked deprecated here
DEPRECATEDIN_1_1_0(void ERR_remove_thread_state(void *))
^
/usr/include/x86_64-cros-linux-gnu/openssl/opensslconf.h:124:34: note: expanded from macro 'DEPRECATEDIN_1_1_0'
# define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
^
/usr/include/x86_64-cros-linux-gnu/openssl/opensslconf.h:99:53: note: expanded from macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
6 errors generated.
Comment 1 by djkurtz@chromium.org
, Jun 30 2017