From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QOvcKaezT2TDSQAASxT56A (envelope-from ) for ; Mon, 01 May 2023 14:42:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cMvmKKezT2QQWQAAG6o9tA (envelope-from ) for ; Mon, 01 May 2023 14:42:15 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 631CC11485 for ; Mon, 1 May 2023 14:42:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptSqy-0004OW-BJ; Mon, 01 May 2023 08:42:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptSqw-0004OD-Va for bug-guix@gnu.org; Mon, 01 May 2023 08:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ptSqw-000452-MB for bug-guix@gnu.org; Mon, 01 May 2023 08:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ptSqw-0005Wm-88 for bug-guix@gnu.org; Mon, 01 May 2023 08:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63202: git-gcrypt 0.7.0 build fails with OpenSSL 3.0 Resent-From: Giovanni Biscuolo Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 01 May 2023 12:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63202 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63202@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168294488821197 (code B ref -1); Mon, 01 May 2023 12:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 May 2023 12:41:28 +0000 Received: from localhost ([127.0.0.1]:39116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptSqN-0005Vn-Ng for submit@debbugs.gnu.org; Mon, 01 May 2023 08:41:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:50062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptSqK-0005Ve-Hm for submit@debbugs.gnu.org; Mon, 01 May 2023 08:41:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptSqJ-0004KD-Pq for bug-guix@gnu.org; Mon, 01 May 2023 08:41:23 -0400 Received: from ns13.heimat.it ([46.4.214.66]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptSqI-00040J-0E for bug-guix@gnu.org; Mon, 01 May 2023 08:41:23 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 963873008A7 for ; Mon, 1 May 2023 12:41:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MYicli4R40rG for ; Mon, 1 May 2023 12:41:17 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.170.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 2DD3830087D for ; Mon, 1 May 2023 12:41:17 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id A129E2596CDF for ; Mon, 1 May 2023 14:41:16 +0200 (CEST) Received: (nullmailer pid 9306 invoked by uid 1000); Mon, 01 May 2023 12:41:15 -0000 From: Giovanni Biscuolo Organization: Xelera.eu Date: Mon, 01 May 2023 14:41:15 +0200 Message-ID: <87cz3kkyvo.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=46.4.214.66; envelope-from=g@xelera.eu; helo=ns13.heimat.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682944935; a=rsa-sha256; cv=none; b=FAOL50me/kwvMBLI4saP2q8SZvlOWS8ZLNI2v/nl756W6RTx4PC9/Jml5mMqAGxKEQ2kpO kw7vYHsgBxSPVjhkqCpgUzeHXeuNN1yUp2WytF8c91IW5s6v7fOz1eP9WK8cHR4vwVPN6B r0ia3GxZ9a2DCsySDTtH7oDOJ4IAlSmmfpXGuDKVj9frH+BED+4kblJBiYYzdZ8kvDcGgf a3gh0jCxLcj2CgC55vxrnnOGSDYInSMmremwmKEH4pQJLP8A/8u5DjUFcnlMDlN8+jLmWJ PVDDAD/pgwV0615jOKeCLs7oYe0oomu+xJX1mlGhz6hMf6/WEdXXiAWw/FTsvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682944935; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=MRFxMFOohUL7Y891AoZnaBZlbxVZkfOBhaTmBqJIV3o=; b=V0zVhuEZVwhwSTpIRKdT224Cl8CgEak73CbKwP92+W+am9q0xnaEnC1Ot65DobC4T94TNB xPcDnNtsWF3pzwpyASzInDCPCqpgGe+Hpr/Zyl8GQYYHL0eODfcfASuuqIZqnEA1ra7AxF hzwyqaALqFpxCPi3dSJypM+F7HdRZFBeDYJuc+G5af7/5xqiIW4vERZHI/z4Jpte5qMIOc Di0bMhYoFp6iWPeee+vjlQTJgUtZln5X1Q0NtjZz3IqYp7R7/e/+f9ykm/6rrHW0LL4dt1 8zMQdxwdmiIfo6Z7+5uVbx+fttAIeD4AnlqcKR7wkkV4zdKe0KpGFQ6pPncwcA== X-Migadu-Spam-Score: -6.31 X-Spam-Score: -6.31 X-Migadu-Queue-Id: 631CC11485 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-TUID: UZtxejzKJgmn --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, git-crypt 0.7.0 is failing to build with OpenSSL 3.0 =2D-8<---------------cut here---------------start------------->8--- g++ -Wall -pedantic -Wno-long-long -O2 -std=3Dc++11 -c -o crypto-openssl-= 10.o crypto-openssl-10.cpp crypto-openssl-10.cpp: In constructor =E2=80=98Aes_ecb_encryptor::Aes_ecb_e= ncryptor(const unsigned char*)=E2=80=99: crypto-openssl-10.cpp:59:32: warning: =E2=80=98int AES_set_encrypt_key(cons= t unsigned char*, int, AES_KEY*)=E2=80=99 is deprecated: Since OpenSSL 3.0 = [-Wdeprecated-declarations] 59 | if (AES_set_encrypt_key(raw_key, KEY_LEN * 8, &(impl->key))= !=3D 0) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from crypto-openssl-10.cpp:38: /gnu/store/69wd3pd1hd3j84xr965jj2fk2qmxn0hl-openssl-3.0.8/include/openssl/a= es.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bit= s, | ^~~~~~~~~~~~~~~~~~~ crypto-openssl-10.cpp: In member function =E2=80=98void Aes_ecb_encryptor::= encrypt(const unsigned char*, unsigned char*)=E2=80=99: crypto-openssl-10.cpp:74:20: warning: =E2=80=98void AES_encrypt(const unsig= ned char*, unsigned char*, const AES_KEY*)=E2=80=99 is deprecated: Since Op= enSSL 3.0 [-Wdeprecated-declaratio ns] 74 | AES_encrypt(plain, cipher, &(impl->key)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from crypto-openssl-10.cpp:38: /gnu/store/69wd3pd1hd3j84xr965jj2fk2qmxn0hl-openssl-3.0.8/include/openssl/a= es.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ crypto-openssl-10.cpp: At global scope: crypto-openssl-10.cpp:78:18: error: field =E2=80=98ctx=E2=80=99 has incompl= ete type =E2=80=98HMAC_CTX=E2=80=99 {aka =E2=80=98hmac_ctx_st=E2=80=99} 78 | HMAC_CTX ctx; | ^~~ In file included from /gnu/store/69wd3pd1hd3j84xr965jj2fk2qmxn0hl-openssl-3= .0.8/include/openssl/evp.h:26, from /gnu/store/69wd3pd1hd3j84xr965jj2fk2qmxn0hl-openssl-3= .0.8/include/openssl/hmac.h:21, from crypto-openssl-10.cpp:40: /gnu/store/69wd3pd1hd3j84xr965jj2fk2qmxn0hl-openssl-3.0.8/include/openssl/t= ypes.h:132:16: note: forward declaration of =E2=80=98HMAC_CTX=E2=80=99 {aka= =E2=80=98struct hmac_ctx_st=E2=80=99} 132 | typedef struct hmac_ctx_st HMAC_CTX; | ^~~~~~~~~~~ crypto-openssl-10.cpp: In destructor =E2=80=98Hmac_sha1_state::~Hmac_sha1_s= tate()=E2=80=99: crypto-openssl-10.cpp:92:9: error: =E2=80=98HMAC_cleanup=E2=80=99 was not d= eclared in this scope; did you mean =E2=80=98EVP_cleanup=E2=80=99? 92 | HMAC_cleanup(&(impl->ctx)); | ^~~~~~~~~~~~ | EVP_cleanup make: *** [: crypto-openssl-10.o] Error 1 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("ENABLE_MAN=3Dyes") = exit-status: 2 term-signal: #f stop-signal: #f> phase `build' failed after 9.4 seconds command "make" "ENABLE_MAN=3Dyes" failed with status 2 note: keeping build directory `/tmp/guix-build-git-crypt-0.7.0.drv-0' builder for `/gnu/store/n16q81snhvc2ikws6pwsysdyxi3shbqp-git-crypt-0.7.0.dr= v' failed with exit code 1 build of /gnu/store/n16q81snhvc2ikws6pwsysdyxi3shbqp-git-crypt-0.7.0.drv fa= iled View build log at '/var/log/guix/drvs/n1/6q81snhvc2ikws6pwsysdyxi3shbqp-git= -crypt-0.7.0.drv.gz'. guix build: error: build of `/gnu/store/n16q81snhvc2ikws6pwsysdyxi3shbqp-gi= t-crypt-0.7.0.drv' failed =2D-8<---------------cut here---------------end--------------->8--- I'm going to investigate if there's a solution. Happy hacking! Gio' =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmRPs2sMHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkSeecQALld/Rdqs+10Yd7bFRMIr2DL9DfePjgMg7+n39U1 7d4hTMqHIm8RgOzysyZeZSYOPNwVjnblndSAAd6CzkjYpbf6SAVmHO00qDPOulqR cRB+nkmvE2SEc7BUbkxcCr7FLvmPF+v3U9XktGbpu37CmF7NbS7fWssPfIKXPU6J pNt8mbmmxAwSslCR9jbKFaJxgerlhA/ay8XJ79R7wuMnun04WW1wC/QGz0VSWdME wtWlws3tUFGMESg50YB9CuNZTcjlQbItKjp4B9p94209HLsQXrMSKKKAnlscCZer cMCdlWv5L7j/ghmQEk0JqzHOr4gyoXQS3RF37OEJ3IXR7e2tdLp4H4r4iKfxW7xO AtS2Jh1iirtMQLDC8z10GUo45v97ohIkZCp7uipVGtECP1M+xoHc3PV9vlQ0VAyP aybgL9u3nncu+f7OEA7f6O7/gvIdOmS5C5MdJJiIrRGGojJMlv1Pw5WUL/TsQdR2 VAoyP3AG2GZvXnWWcV0XwKLYr+3gQNfh8bbc6jUiKyDoCW1GwgptpSWW+6EKgPEV CnMA30Uu1ggWPgs9iq8YPpaFy8dkyecrYO0cjxryztkWfzKMaQmmUOUjlXEBl5Va Ez7bVXEF3pisGDHoPyQvm2UhpYyrSM7/yo149554KGeG7oXEEfXOzZ9DzXtN3Csh A0fF =ZfYr -----END PGP SIGNATURE----- --=-=-=--