From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iJhiJxGzHGH2sgAAgWs5BA (envelope-from ) for ; Wed, 18 Aug 2021 09:13:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8DIZIxGzHGFJegAAB5/wlQ (envelope-from ) for ; Wed, 18 Aug 2021 07:13:21 +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 779611D936 for ; Wed, 18 Aug 2021 09:13:21 +0200 (CEST) Received: from localhost ([::1]:41110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGFlI-0003ah-Fa for larch@yhetil.org; Wed, 18 Aug 2021 03:13:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGFk2-0001pF-Fk for guix-patches@gnu.org; Wed, 18 Aug 2021 03:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGFk2-0002eH-8p for guix-patches@gnu.org; Wed, 18 Aug 2021 03:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mGFk2-0002xq-23 for guix-patches@gnu.org; Wed, 18 Aug 2021 03:12: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 07:12: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 Cc: 50091@debbugs.gnu.org Received: via spool by 50091-submit@debbugs.gnu.org id=B50091.162927070611345 (code B ref 50091); Wed, 18 Aug 2021 07:12:02 +0000 Received: (at 50091) by debbugs.gnu.org; 18 Aug 2021 07:11:46 +0000 Received: from localhost ([127.0.0.1]:54690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGFjl-0002wv-Kk for submit@debbugs.gnu.org; Wed, 18 Aug 2021 03:11:45 -0400 Received: from flashner.co.il ([178.62.234.194]:48580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGFjh-0002wf-4f for 50091@debbugs.gnu.org; Wed, 18 Aug 2021 03:11:44 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id D3854401A4; Wed, 18 Aug 2021 07:11:34 +0000 (UTC) Date: Wed, 18 Aug 2021 10:09:39 +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="hr6GgGeD6PdCSj7x" Content-Disposition: inline In-Reply-To: <864kbn6f3a.fsf@mgsn.dev> 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 X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 779611D936 X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: Nn3DwLF6DfE3 --hr6GgGeD6PdCSj7x Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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-linux > > 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. I was able to build openssl without any problems on my pine64, I'll run it again and see what I come up with. 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. I'll go ahead and disable it for all the arm* architectures. > Looks like it can also be disabled with >=20 > make TESTS=3D-test_afalg test >=20 > if that's more desirable. I do like that better. > [0] https://ci.guix.gnu.org/build/29270/details > [1] https://github.com/openssl/openssl/issues/12242 >=20 > -- > Sarah --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --hr6GgGeD6PdCSj7x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmEcsjAACgkQQarn3Mo9 g1GVbA//ViLIJrAMZOabSLsSWroEViZHX7rWzdP5oSFkWoBSCrulCUnD6txOokxw zNJsvk/03MPEthCGvg9yrvGdybjJgZf/cox1RYRCHqxUlrRj/FatetVwkZY9JOYy 7/0W9JZS2GEIc3G8sKrO8fcAMjNlBBQmiy63m1x9JYPN2aO4jvKKZoK3JLYmaoYz zLBcqtfpPbJ3vXEBEv3ICt69WuaognntMiAN7a/LUNDpN5OAPMGLn1rnFFNSa+k3 wjLpNd6yoL/1PAgb4ymbW91E9bA0y49UH1wJZsOuxgsoFI0XbRevG+MOfuBenLDj H2OgRXSTNN9nk3djtSZ5EFz3aLHI6pUNaXoYidRcbg02Y6H7EVcwRmIWpih6ZN2/ 8ixeZEgrz+bKmOuAKB1ucR83ehPEUPN4OTcm/JQo3M5hBU3F4ibTBaZhLXgPW/+f bH3r1ICn6VSgr/+47GbgfzEuFI8SsG+JMPsFmOBupdDrXzvVd+6RuT/xLO4uDBz0 n9nySzPZ4v+396JP0MkGx5iarrmygUsITtpHkpRU+jcO4rEnGVIUIk+LxwkJX8Fb CX9ff5y6i+AC7tTjxR+qvrZM/3TEXMV6MnRhimMKQX77YaS7H3C3XcYWr/E5XO/G pOUlTUxa69sB+zkyaVnA+OEphjA/8cex16lRtHnEFqtzTfhI76o= =HaPt -----END PGP SIGNATURE----- --hr6GgGeD6PdCSj7x--