Date: Tue, 06 Nov 2018 18:25:19 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 233035] lang/erlang: Fails to build with LibreSSL 2.8.2 Message-ID: <bug-233035-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233035 Bug ID: 233035 Summary: lang/erlang: Fails to build with LibreSSL 2.8.2 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: blackmore@pichove.org lang/erlang siezed to build with LibreSSL 2.8.2 since #225898 was fixed. crypto.c:2045:14: error: implicit declaration of function 'EVP_chacha20_poly1305' is invalid in C99 [-Werror,-Wimplicit-function-declaration] cipher =3D EVP_chacha20_poly1305(); ^ crypto.c:2045:14: note: did you mean 'EVP_aead_chacha20_poly1305'? /usr/local/include/openssl/evp.h:1240:17: note: 'EVP_aead_chacha20_poly1305' declared here const EVP_AEAD *EVP_aead_chacha20_poly1305(void); ^ crypto.c:2045:14: warning: this function declaration is not a prototype [-Wstrict-prototypes] cipher =3D EVP_chacha20_poly1305(); ^ crypto.c:2045:12: warning: incompatible integer to pointer conversion assig= ning to 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') from 'int' [-Wint-conversion] cipher =3D EVP_chacha20_poly1305(); ^ ~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:2054:34: error: use of undeclared identifier 'EVP_CTRL_AEAD_SET_IV= LEN' if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, iv.size, NULL) != =3D 1) ^ crypto.c:2070:34: error: use of undeclared identifier 'EVP_CTRL_AEAD_GET_TA= G' if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, 16, tagp) !=3D 1) ^ crypto.c:2105:14: error: implicit declaration of function 'EVP_chacha20_poly1305' is invalid in C99 [-Werror,-Wimplicit-function-declaration] cipher =3D EVP_chacha20_poly1305(); ^ crypto.c:2105:12: warning: incompatible integer to pointer conversion assig= ning to 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st *') from 'int' [-Wint-conversion] cipher =3D EVP_chacha20_poly1305(); ^ ~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:2111:34: error: use of undeclared identifier 'EVP_CTRL_AEAD_SET_IV= LEN' if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, iv.size, NULL) != =3D 1) ^ crypto.c:2122:34: error: use of undeclared identifier 'EVP_CTRL_AEAD_SET_TA= G' if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, tag.size, tag.data)= !=3D 1) ^ 12 warnings and 6 errors generated. gmake[6]: *** [amd64-portbld-freebsd11.2/Makefile:136: ../priv/obj/amd64-portbld-freebsd11.2/crypto.o] Error 1 gmake[6]: Leaving directory '/usr/ports/lang/erlang/work/otp_src_19.3/lib/crypto/c_src' gmake[5]: *** [/usr/ports/lang/erlang/work/otp_src_19.3/make/run_make.mk:35: opt] Error 2 gmake[5]: Leaving directory '/usr/ports/lang/erlang/work/otp_src_19.3/lib/crypto/c_src' gmake[4]: *** [/usr/ports/lang/erlang/work/otp_src_19.3/make/otp_subdir.mk:= 29: opt] Error 2 gmake[4]: Leaving directory '/usr/ports/lang/erlang/work/otp_src_19.3/lib/crypto' gmake[3]: *** [/usr/ports/lang/erlang/work/otp_src_19.3/make/otp_subdir.mk:= 29: opt] Error 2 gmake[3]: Leaving directory '/usr/ports/lang/erlang/work/otp_src_19.3/lib' gmake[2]: *** [Makefile:452: libs] Error 2 gmake[2]: Leaving directory '/usr/ports/lang/erlang/work/otp_src_19.3' *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/erlang *** Error code 1 Stop. make: stopped in /usr/ports/lang/erlang [root@SagaBOX /usr/ports/lang/erlang]# make showconfig =3D=3D=3D> The following configuration options are available for erlang-19.3.6.12_1,4: DIRTY=3Doff: Enable Dirty schedulers (experimental) DTRACE=3Doff: Build with DTrace probes GS=3Doff: Enable GS application (deprecated) HIPE=3Doff: Build native HiPE compiler JAVA=3Doff: Java platform support KQUEUE=3Don: Enable Kernel Poll (kqueue) support MANPAGES=3Doff: Build and/or install manual pages NATIVE=3Doff: Enable native libraries ODBC=3Doff: ODBC database backend OPENSSL=3Don: SSL/TLS support via OpenSSL SCTP=3Don: Enable SCTP support SMP=3Don: Enable SMP support THREADS=3Don: Threading support WX=3Doff: Enable WX application =3D=3D=3D> Use 'make config' to modify these settings --- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> --- Maintainer informed via mail --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233035-7788>