From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 18 06:46:55 2021 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 To: Sarah Morgensen , 50091@debbugs.gnu.org Subject: Re: [bug#50091] [PATCH 10/21] gnu: openssl: Fix build on riscv64-linux. 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50091 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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--