From nobody Mon Sep 26 07:39:52 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MbZQw4lTgz4dBp7 for ; Mon, 26 Sep 2022 07:39:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MbZQw3Tbrz3HpP for ; Mon, 26 Sep 2022 07:39:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MbZQw2HTZzhct for ; Mon, 26 Sep 2022 07:39:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28Q7dqFv010968 for ; Mon, 26 Sep 2022 07:39:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28Q7dqts010967 for ports-bugs@FreeBSD.org; Mon, 26 Sep 2022 07:39:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266624] security/libssh2 fails to build with libressl 3.5.3 Date: Mon, 26 Sep 2022 07:39:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: korsani@free.fr X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sbz@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664177992; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Q8NIEal2x7GgjhT/cdgj/pi8NFRtXi430xaX6hfHN4E=; b=vLGkVWnqUR1fUJNyBU0A+yPXrQWvUuE25AaaxRD8c0U3B4sESkmQ5SAnpaAh7h/mKUFzdm Tu/LQzriHamego97CHM5AdfFDwIclp1+EsbGCxS9sO9eczHf7kXkCK+NIFiVPMsilwea+F /2Ub9etck7s7qsh8e6a1EpQVQrs5N/pA+xPIokvjzgrieXxVMng6V1YDf0SWDc2OI3WENh RdG0E1XsxwNXpWwkumLiXWLbUcwX0o3GPBmQULVhIkv3awQQrR9Cvsns7b5sRap2mwRQj9 6OKil5nlojq4aiNJT985P7/YkvDNCFHxAXbsjt3RybFrSkfK/gZu35KRhAt0TQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664177992; a=rsa-sha256; cv=none; b=IWH5A5u2WEDM+9o9PpGmeEQmiqC5Slb7yZulqy3QnPrlOJwm97zPEVfjIqbcxD6rkZKIVG IGXEDmYlxjeHQ1ths7pjhYfMzdSP6MJVZSLdheswobLHdqOIVOgLmA6gZznsGdE7s7XeDy cdSFPgTnE2Xl81Etq/joS8quNnjskKoKkkTrKWq81tVUGX2cukhYJb+sKtyB7Muh1PrbSW pghMBoUF9ekW+W2b7qfwl/12Uj82R9V/nvc4v7g1tZsoxo1XSLiNSu19+kGFSrm/dOojlB EiATBJldSHEZ+GCCa/Chl1n/9jFT41xmiaNguWK3Wkr43X1quMR5qZS4ODjQFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=