From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mLCAGDDlHGHTIAEAgWs5BA (envelope-from ) for ; Wed, 18 Aug 2021 12:47:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AP4uFDDlHGEoKwAAbx9fmQ (envelope-from ) for ; Wed, 18 Aug 2021 10:47:12 +0000 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 CDFCB1BF6D for ; Wed, 18 Aug 2021 12:47:11 +0200 (CEST) Received: from localhost ([::1]:50104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGJ6E-0004GX-FF for larch@yhetil.org; Wed, 18 Aug 2021 06:47:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGJ66-0004GJ-PN for guix-patches@gnu.org; Wed, 18 Aug 2021 06:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43415) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGJ66-0004Ed-Hz for guix-patches@gnu.org; Wed, 18 Aug 2021 06:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mGJ66-0000Ll-Ef for guix-patches@gnu.org; Wed, 18 Aug 2021 06:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50091] [PATCH 10/21] gnu: openssl: Fix build on riscv64-linux. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Aug 2021 10:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Sarah Morgensen , 50091@debbugs.gnu.org Received: via spool by 50091-submit@debbugs.gnu.org id=B50091.16292836151333 (code B ref 50091); Wed, 18 Aug 2021 10:47:02 +0000 Received: (at 50091) by debbugs.gnu.org; 18 Aug 2021 10:46:55 +0000 Received: from localhost ([127.0.0.1]:54961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGJ5z-0000LQ-5D for submit@debbugs.gnu.org; Wed, 18 Aug 2021 06:46:55 -0400 Received: from flashner.co.il ([178.62.234.194]:49110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGJ5y-0000LE-3u for 50091@debbugs.gnu.org; Wed, 18 Aug 2021 06:46:54 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 3D5C3402E0; Wed, 18 Aug 2021 10:46:48 +0000 (UTC) Date: Wed, 18 Aug 2021 13:44:55 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Sarah Morgensen , 50091@debbugs.gnu.org References: <864kbn6f3a.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="36LkdRisrN1srZLX" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629283631; 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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=Nl4iKL96wSModCAdnCAX3bb7tVbQkwQRM9r0IZv3ooY=; b=ki58YQ7QV/wIBgdSiNnqkjtoMIwrKwI9KDXHtYoojzZbwQqrD5LjvaHVf2dqGxJDRKiN/u Ycacjsn7O104YGT9RFkxCMWkX6XChSVbRKrcpzURvEkP0SyhDDak4qB5qm6B0Qv4ZB+yoq 47jLR6v07xbLCg9GUbgaOotRkdVaaH29+J0SEUTIh02JAehLayeVxp/1n6C0ckexf5kDO3 FXXsO12LIM5JxKY1TdZP28dswihkhuP3Sny2BsLoD4Bygskafubb++t15lT4YkPaB6Ls0X OJHnpTgo31z0/m2uU5BER9SFmwHwuZiKWMOQu+bwZJPi3HmsQczqO4oAgPDEMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629283631; a=rsa-sha256; cv=none; b=MyCYg4KrNyiraB5mzE4xn/fsg2HtnqFCssdR+MhVFUL9G3udrgnNyFpwvTAQJhfroT8Zh0 WMU93bG+2sXwFCRXENT40O01trryrbnlxZQyEjsekyO2HVIgXcDsL5F4TNIHoVaNLwfmvv zhO6uRZx3hNMhiGuX1fHK5B97K5rpzSbV7gd5Sduj9KeQA5UPesDFa0N3sfA9K6F162ZPk 6brlgwKcSy+iCB2gKHjaQE9Vb8/IkvtOf+4HxH4OjtU3ix8etzh7qbXVchL90dFMA7vlHV sjFLa0/qfxbXkLZGPEOwp2y+JykJeifOA0LzavCPGGCK9CiURiarGDpnyf+rOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -4.02 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: CDFCB1BF6D X-Spam-Score: -4.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: 78tPTl0Iye1R --36LkdRisrN1srZLX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 18, 2021 at 10:09:39AM +0300, Efraim Flashner wrote: > On Tue, Aug 17, 2021 at 12:33:45PM -0700, Sarah Morgensen wrote: > > Hi Efraim, > >=20 > > Efraim Flashner writes: > >=20 > > > * gnu/packages/tls.scm (openssl)[arguments]: Add phase for riscv64-li= nux > > > to skip failing test. > > > (target->openssl-target): Add case for riscv64-linux. > > > --- > > > gnu/packages/tls.scm | 11 ++++++++++- > > > 1 file changed, 10 insertions(+), 1 deletion(-) > > > > > > diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm > > > index 4b8df04f17..f6cdeac363 100644 > > > --- a/gnu/packages/tls.scm > > > +++ b/gnu/packages/tls.scm > > > @@ -337,7 +337,10 @@ OpenSSL for TARGET." > > > ((string-prefix? "powerpc64" target) > > > "linux-ppc64") > > > ((string-prefix? "powerpc" target) > > > - "linux-ppc"))) > > > + "linux-ppc") > > > + ((string-prefix? "riscv64" target) > > > + ;; linux64-riscv64 isn't recognized until 3.0.0. > > > + "linux-generic64"))) > > > =20 > > > (define-public openssl > > > (package > > > @@ -380,6 +383,12 @@ OpenSSL for TARGET." > > > #$(target->openssl-target > > > (%current-target-system)))))) > > > #~()) > > > + ;; Unclear why this test is failing. > > > + #$@(if (target-riscv?) > > > + #~((add-after 'unpack 'skip-failing-test > > > + (lambda _ > > > + (delete-file "test/recipes/30-test_afalg.t")))) > > > + #~()) > > > (replace 'configure > > > (lambda* (#:key configure-flags #:allow-other-keys) > > > (let* ((out #$output) > >=20 > > This test is also failing on aarch64 [0] and has been reported upstream > > for some time [1] with no action. >=20 > I was able to build openssl without any problems on my pine64, I'll run > it again and see what I come up with. >=20 > Looking at the bug report, it looks like it also might be kernel > dependant and/or related to cross compiling. I'm pretty sure the aarch64 > builders are running Guix System, and my pine64 is running Armbian. >=20 > I'll go ahead and disable it for all the arm* architectures. >=20 > > Looks like it can also be disabled with > >=20 > > make TESTS=3D-test_afalg test > >=20 > > if that's more desirable. >=20 > I do like that better. >=20 > > [0] https://ci.guix.gnu.org/build/29270/details > > [1] https://github.com/openssl/openssl/issues/12242 > >=20 I've pushed the arm* version to core-updates --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --36LkdRisrN1srZLX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmEc5KYACgkQQarn3Mo9 g1Ftsw//TPtiPiD/e8lyHnNRzYIHe296Aw1C+KBvz3ZXWcqjDs6Adey8tragIqrD Uai+G2BjltghrV6lDUki0NPp/YVKFp7LCf5GYueB+uOgKV8IM1HfAkbtpwDczxua tc1z+ZaP6V/Q+SyQxNwFqcwsk9gNmlcRhIxSnLJ9whLaGnS9x+tWUX3BnwWUA0VI dnuVOp84lhYXMN6kyjRuYkkC+Z+LyP2KTroHj+vYLFn1JhChAbOXDKH5gVQ4rqGH 4Jhk2TD9goFY2i2oD3I2iH18Sod8KHeOjKJe5t1gzg2+fbnR5R6BRQQ5zLxkIaYW bxjzxrXj9xSdzDOGHltQsFKi9D21QeH/jF1ZyWZ89yuFJmpYIsb3r2mSINtfvYpw 6fR4mNl/lA7CwXkJxfXwHlk1KA3Zds9mcTE/+wUnwS1SLNPWgMWOXWq3Qx3OtUSE 02oajBnzw91N1kG67aSUBM6Hi4EtS/5T948kq/2AX+TTx/YLMoXci0tv7HjxjL0A 8RUaov3LH4KclzuZtID+ahtcREB3HBiM5tTkMu9k/4ooGNGjVmeg1aHZHoJWSTvC ntrWeHEahFcXhAFSUbmj7rj0vrS0e1GgbH3H0R90ey7OUnpSxihVAh6O8dmLKys+ Y8U3snBcociDdFBRc+EGBadxKDdOi0AMppwsdSIlwF/lzthKOGY= =TQk7 -----END PGP SIGNATURE----- --36LkdRisrN1srZLX--