Date: Mon, 26 Sep 2022 07:39:52 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266624] security/libssh2 fails to build with libressl 3.5.3 Message-ID: <bug-266624-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266624 Bug ID: 266624 Summary: security/libssh2 fails to build with libressl 3.5.3 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sbz@FreeBSD.org Reporter: korsani@free.fr Assignee: sbz@FreeBSD.org Flags: maintainer-feedback?(sbz@FreeBSD.org) Hi, I just upgrade libressl to 3.5.3. As a dependencies shown by pkg info -r libressl I have to rebuild security/libssh2. But it fails with: # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- hostkey.lo --- hostkey.c:212:22: error: variable has incomplete type 'EVP_MD_CTX' (aka 'st= ruct env_md_ctx_st') libssh2_sha1_ctx ctx; ^ /usr/local/include/openssl/ossl_typ.h:120:16: note: forward declaration of 'struct env_md_ctx_st' typedef struct env_md_ctx_st EVP_MD_CTX; ^ hostkey.c:431:22: error: variable has incomplete type 'EVP_MD_CTX' (aka 'st= ruct env_md_ctx_st') libssh2_sha1_ctx ctx; ^ /usr/local/include/openssl/ossl_typ.h:120:16: note: forward declaration of 'struct env_md_ctx_st' typedef struct env_md_ctx_st EVP_MD_CTX; ^ hostkey.c:716:9: error: variable has incomplete type 'EVP_MD_CTX' (aka 'str= uct env_md_ctx_st') LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH(256); ^ hostkey.c:684:40: note: expanded from macro 'LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH' libssh2_sha##digest_type##_ctx ctx; \ ^ /usr/local/include/openssl/ossl_typ.h:120:16: note: forward declaration of 'struct env_md_ctx_st' typedef struct env_md_ctx_st EVP_MD_CTX; ^ hostkey.c:719:9: error: variable has incomplete type 'EVP_MD_CTX' (aka 'str= uct env_md_ctx_st') LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH(384); ^ hostkey.c:684:40: note: expanded from macro 'LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH' libssh2_sha##digest_type##_ctx ctx; \ ^ /usr/local/include/openssl/ossl_typ.h:120:16: note: forward declaration of 'struct env_md_ctx_st' typedef struct env_md_ctx_st EVP_MD_CTX; ^ hostkey.c:722:9: error: variable has incomplete type 'EVP_MD_CTX' (aka 'str= uct env_md_ctx_st') LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH(512); ^ hostkey.c:684:40: note: expanded from macro 'LIBSSH2_HOSTKEY_METHOD_EC_SIGNV_HASH' libssh2_sha##digest_type##_ctx ctx; \ ^ /usr/local/include/openssl/ossl_typ.h:120:16: note: forward declaration of 'struct env_md_ctx_st' typedef struct env_md_ctx_st EVP_MD_CTX; ^ 5 errors generated. *** [hostkey.lo] Error code 1 make[4]: stopped in /var/tmp/compile/usr/ports/security/libssh2/work/libssh2-1.10.0/src --- crypt.lo --- crypt.c:71:25: error: field has incomplete type 'EVP_CIPHER_CTX' (aka 'stru= ct evp_cipher_ctx_st') _libssh2_cipher_ctx h; ^ /usr/local/include/openssl/ossl_typ.h:118:16: note: forward declaration of 'struct evp_cipher_ctx_st' typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; ^ 1 error generated. *** [crypt.lo] Error code 1 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ With MAKE_JOBS_UNSAFE=3Dyes : /bin/sh ../libtool --tag=3DCC --mode=3Dcompile cc -DHAVE_CONFIG_H=20=20= =20 -I../include -I../src -I/usr/local/include -DNDEBUG -O2 -pipe=20 -fstack-protector-strong -fno-strict-aliasing -MT crypt.lo -MD -MP -MF .deps/crypt.Tpo -c -o crypt.lo crypt.c libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../src -I/usr/local/include -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT crypt.lo -MD -MP -MF .deps/crypt.Tpo -c crypt.c -= fPIC -DPIC -o .libs/crypt.o crypt.c:71:25: error: field has incomplete type 'EVP_CIPHER_CTX' (aka 'stru= ct evp_cipher_ctx_st') _libssh2_cipher_ctx h; ^ /usr/local/include/openssl/ossl_typ.h:118:16: note: forward declaration of 'struct evp_cipher_ctx_st' typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; ^ 1 error generated. # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I'm on 13.1-RELEASE-p2 amd64 --=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-266624-7788>