FreeBSD Bugzilla – Attachment 206113 Details for
Bug 239491
security/strongswan: Fails to build with libressl: error: use of undeclared identifier 'EVP_PKEY_*'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
build log
error.txt (text/plain), 10.38 KB, created by
igor.polovykh
on 2019-07-28 11:36:49 UTC
(
hide
)
Description:
build log
Filename:
MIME Type:
Creator:
igor.polovykh
Created:
2019-07-28 11:36:49 UTC
Size:
10.38 KB
patch
obsolete
>===> Building for strongswan-5.8.0 >--- all --- >/usr/bin/make all-recursive >--- all-recursive --- >Making all in src >--- all-recursive --- >Making all in . >Making all in include >Making all in libstrongswan >--- settings/settings_parser.h --- >--- all --- >/usr/bin/make all-recursive >--- all-recursive --- >Making all in . >--- settings/settings_parser.h --- >Making all in plugins/aes >Making all in plugins/des >Making all in plugins/blowfish >Making all in plugins/rc2 >Making all in plugins/md4 >Making all in plugins/md5 >Making all in plugins/sha1 >Making all in plugins/sha2 >Making all in plugins/curve25519 >Making all in plugins/random >Making all in plugins/nonce >Making all in plugins/hmac >Making all in plugins/cmac >Making all in plugins/xcbc >Making all in plugins/x509 >Making all in plugins/revocation >Making all in plugins/constraints >Making all in plugins/pubkey >Making all in plugins/pkcs1 >Making all in plugins/pkcs7 >Making all in plugins/pkcs8 >Making all in plugins/pkcs12 >Making all in plugins/pgp >Making all in plugins/dnskey >Making all in plugins/sshkey >Making all in plugins/pem >Making all in plugins/curl >Making all in plugins/openssl >--- openssl_plugin.lo --- >--- openssl_crl.lo --- >--- openssl_pkcs7.lo --- >--- openssl_pkcs12.lo --- >--- openssl_plugin.lo --- >depbase=`echo openssl_plugin.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -DFIPS_MODE=0 -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -include /usr/ports/security/strongswan/work/strongswan-5.8.0/config.h -MT openssl_plugin.lo -MD -MP -MF $depbase.Tpo -c -o openssl_plugin.lo openssl_plugin.c && mv -f $depbase.Tpo $depbase.Plo >--- openssl_crl.lo --- >depbase=`echo openssl_crl.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -DFIPS_MODE=0 -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -include /usr/ports/security/strongswan/work/strongswan-5.8.0/config.h -MT openssl_crl.lo -MD -MP -MF $depbase.Tpo -c -o openssl_crl.lo openssl_crl.c && mv -f $depbase.Tpo $depbase.Plo >--- openssl_pkcs7.lo --- >depbase=`echo openssl_pkcs7.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -DFIPS_MODE=0 -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -include /usr/ports/security/strongswan/work/strongswan-5.8.0/config.h -MT openssl_pkcs7.lo -MD -MP -MF $depbase.Tpo -c -o openssl_pkcs7.lo openssl_pkcs7.c && mv -f $depbase.Tpo $depbase.Plo >--- openssl_pkcs12.lo --- >depbase=`echo openssl_pkcs12.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -DFIPS_MODE=0 -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -include /usr/ports/security/strongswan/work/strongswan-5.8.0/config.h -MT openssl_pkcs12.lo -MD -MP -MF $depbase.Tpo -c -o openssl_pkcs12.lo openssl_pkcs12.c && mv -f $depbase.Tpo $depbase.Plo >--- openssl_plugin.lo --- >libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -DFIPS_MODE=0 -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -include /usr/ports/security/strongswan/work/strongswan-5.8.0/config.h -MT openssl_plugin.lo -MD -MP -MF .deps/openssl_plugin.Tpo -c openssl_plugin.c -fPIC -DPIC -o .libs/openssl_plugin.o >--- openssl_crl.lo --- >libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -DFIPS_MODE=0 -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -include /usr/ports/security/strongswan/work/strongswan-5.8.0/config.h -MT openssl_crl.lo -MD -MP -MF .deps/openssl_crl.Tpo -c openssl_crl.c -fPIC -DPIC -o .libs/openssl_crl.o >--- openssl_pkcs7.lo --- >libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -DFIPS_MODE=0 -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -include /usr/ports/security/strongswan/work/strongswan-5.8.0/config.h -MT openssl_pkcs7.lo -MD -MP -MF .deps/openssl_pkcs7.Tpo -c openssl_pkcs7.c -fPIC -DPIC -o .libs/openssl_pkcs7.o >--- openssl_pkcs12.lo --- >libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -DFIPS_MODE=0 -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -include /usr/ports/security/strongswan/work/strongswan-5.8.0/config.h -MT openssl_pkcs12.lo -MD -MP -MF .deps/openssl_pkcs12.Tpo -c openssl_pkcs12.c -fPIC -DPIC -o .libs/openssl_pkcs12.o >--- openssl_rng.lo --- >depbase=`echo openssl_rng.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -DFIPS_MODE=0 -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -include /usr/ports/security/strongswan/work/strongswan-5.8.0/config.h -MT openssl_rng.lo -MD -MP -MF $depbase.Tpo -c -o openssl_rng.lo openssl_rng.c && mv -f $depbase.Tpo $depbase.Plo >libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -DFIPS_MODE=0 -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -include /usr/ports/security/strongswan/work/strongswan-5.8.0/config.h -MT openssl_rng.lo -MD -MP -MF .deps/openssl_rng.Tpo -c openssl_rng.c -fPIC -DPIC -o .libs/openssl_rng.o >openssl_rng.c:61:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > return RAND_bytes((char*)buffer, bytes) == 1; > ^~~~~~~~~~~~~ >/usr/local/include/openssl/rand.h:93:32: note: passing argument to parameter 'buf' here >int RAND_bytes(unsigned char *buf, int num); > ^ >1 warning generated. >--- openssl_hmac.lo --- >depbase=`echo openssl_hmac.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -DFIPS_MODE=0 -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -include /usr/ports/security/strongswan/work/strongswan-5.8.0/config.h -MT openssl_hmac.lo -MD -MP -MF $depbase.Tpo -c -o openssl_hmac.lo openssl_hmac.c && mv -f $depbase.Tpo $depbase.Plo >--- openssl_plugin.lo --- >openssl_plugin.c:264:41: warning: passing 'char [32]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] >--- openssl_crl.lo --- >openssl_crl.c:332:8: warning: implicit declaration of function 'i2d_re_X509_CRL_tbs' is invalid in C99 [-Wimplicit-function-declaration] >--- openssl_plugin.lo --- > if (!rng->get_bytes(rng, sizeof(buf), buf)) > ^~~ >--- openssl_crl.lo --- > tbs = openssl_i2chunk(re_X509_CRL_tbs, this->crl); > ^ >./openssl_util.h:95:16: note: expanded from macro 'openssl_i2chunk' > int len = i2d_##type(obj, &ptr); \ > ^ ><scratch space>:68:1: note: expanded from here >i2d_re_X509_CRL_tbs >^ >--- openssl_plugin.lo --- >openssl_plugin.c:314:10: error: use of undeclared identifier 'EVP_PKEY_ED25519'; did you mean 'KEY_ED25519'? > case EVP_PKEY_ED25519: > ^~~~~~~~~~~~~~~~ > KEY_ED25519 >../../../../src/libstrongswan/credentials/keys/public_key.h:47:2: note: 'KEY_ED25519' declared here > KEY_ED25519 = 4, > ^ >--- openssl_hmac.lo --- >libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -DFIPS_MODE=0 -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -include /usr/ports/security/strongswan/work/strongswan-5.8.0/config.h -MT openssl_hmac.lo -MD -MP -MF .deps/openssl_hmac.Tpo -c openssl_hmac.c -fPIC -DPIC -o .libs/openssl_hmac.o >--- openssl_plugin.lo --- >openssl_plugin.c:315:10: error: use of undeclared identifier 'EVP_PKEY_ED448' > case EVP_PKEY_ED448: > ^ >openssl_plugin.c:466:8: error: use of undeclared identifier 'EVP_PKEY_ED25519'; did you mean 'KEY_ED25519'? > case EVP_PKEY_ED25519: > ^~~~~~~~~~~~~~~~ > KEY_ED25519 >../../../../src/libstrongswan/credentials/keys/public_key.h:47:2: note: 'KEY_ED25519' declared here > KEY_ED25519 = 4, > ^ >openssl_plugin.c:467:8: error: use of undeclared identifier 'EVP_PKEY_ED448' > case EVP_PKEY_ED448: > ^ >1 warning and 4 errors generated. >*** [openssl_plugin.lo] Error code 1 > >make[7]: stopped in /usr/ports/security/strongswan/work/strongswan-5.8.0/src/libstrongswan/plugins/openssl >--- openssl_crl.lo --- >1 warning generated. >1 error > >make[7]: stopped in /usr/ports/security/strongswan/work/strongswan-5.8.0/src/libstrongswan/plugins/openssl >*** [all-recursive] Error code 1 > >make[6]: stopped in /usr/ports/security/strongswan/work/strongswan-5.8.0/src/libstrongswan >1 error > >make[6]: stopped in /usr/ports/security/strongswan/work/strongswan-5.8.0/src/libstrongswan >*** [all] Error code 2 > >make[5]: stopped in /usr/ports/security/strongswan/work/strongswan-5.8.0/src/libstrongswan >1 error > >make[5]: stopped in /usr/ports/security/strongswan/work/strongswan-5.8.0/src/libstrongswan >*** [all-recursive] Error code 1 > >make[4]: stopped in /usr/ports/security/strongswan/work/strongswan-5.8.0/src >1 error > >make[4]: stopped in /usr/ports/security/strongswan/work/strongswan-5.8.0/src >*** [all-recursive] Error code 1 > >make[3]: stopped in /usr/ports/security/strongswan/work/strongswan-5.8.0 >1 error > >make[3]: stopped in /usr/ports/security/strongswan/work/strongswan-5.8.0 >*** [all] Error code 2 > >make[2]: stopped in /usr/ports/security/strongswan/work/strongswan-5.8.0 > >make[2]: stopped in /usr/ports/security/strongswan/work/strongswan-5.8.0 >===> Compilation failed unexpectedly. >Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to >the maintainer. >*** Error code 1 > >Stop. >make[1]: stopped in /usr/ports/security/strongswan >*** Error code 1 > >Stop. >make: stopped in /usr/ports/security/strongswan
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 239491
: 206113 |
206186