From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 17 06:44:55 2021 Received: (at 50091) by debbugs.gnu.org; 17 Aug 2021 10:44:55 +0000 Received: from localhost ([127.0.0.1]:51931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFwaV-0004wH-IV for submit@debbugs.gnu.org; Tue, 17 Aug 2021 06:44:55 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:35564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFwaS-0004w5-Ie for 50091@debbugs.gnu.org; Tue, 17 Aug 2021 06:44:53 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by baptiste.telenet-ops.be with bizsmtp id iakq250070mfAB401akqxC; Tue, 17 Aug 2021 12:44:50 +0200 Message-ID: Subject: Re: [bug#50091] [PATCH 05/21] gnu: guile: Fix building on riscv64-linux. From: Maxime Devos To: Efraim Flashner , 50091@debbugs.gnu.org Date: Tue, 17 Aug 2021 12:44:44 +0200 In-Reply-To: <9440a6ca3c1318e99dc1eb16f7e382ee888464fc.1629193993.git.efraim@flashner.co.il> References: <9440a6ca3c1318e99dc1eb16f7e382ee888464fc.1629193993.git.efraim@flashner.co.il> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-e3ZlNIALm+7prtQKEeHC" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1629197090; bh=bRTd/WNe2vdIS48paI4si6pbbhGHcKGaNRmldJ2EgN4=; h=Subject:From:To:Date:In-Reply-To:References; b=V0NQTOMyn9mec9ZXnxISR+1cr/H01HIMxP34L8jlKKLkEshDzwf1k9XXyJQ8dOr6Z odZLeWa897k0uG7EC/GQwXSZFCHKJDU8Y91/JxDmP5NlnhUPBbESLhMSBgNP20Nesc siylgdABjgI4C7ewQq8KlVAIRFmpAbGDeZG3YOS4mU9yM7/Bh1Ur1QsTIzIyeKRYNO /V+wOrZcEJrKHJ8RnNs3uoXKwvprT0UFQLt5LGvZITUY4ZOBH0J/7TIY8n3XLQ44X8 Ds9PjTvhSz0uF/4+CyflLeb7bJ7TyOKLU0O+ZOTfvTYeXWDv55j1KAlBOEDlHONSxO 6z7RkQu/kaPcA== X-Spam-Score: -0.7 (/) 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.7 (-) --=-e3ZlNIALm+7prtQKEeHC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > ;;; Commentary: > ;;; > @@ -346,14 +347,17 @@ without requiring the source code to be rewritten."= ) > ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug= =3D45214 > (substitute* "bootstrap/Makefile.in" > (("^GUILE_OPTIMIZATIONS.*") > - "GUILE_OPTIMIZATIONS =3D -O1 -Oresolve-primiti= ves -Ocps\n")))) > - (add-after 'unpack 'skip-failing-fdes-test > - (lambda _ > - ;; ERROR: ((system-error "seek" "~A" ("Bad file d= escriptor") (9))) > - (substitute* "test-suite/tests/ports.test" > - (("fdes not closed\"" all) (string-append all "= (exit 77)"))) > - #t))) > - '()))))) > + "GUILE_OPTIMIZATIONS =3D -O1 -Oresolve-primiti= ves -Ocps\n"))))) > + '()) > + ,@(if (srfi-1:any (cute string-prefix? <> (%current-system)) > + '("powerpc-" "riscv64-")) > + `((add-after 'unpack 'skip-failing-fdes-test > + (lambda _ > + ;; ERROR: ((system-error "seek" "~A" ("Bad file des= criptor") (9))) > + (substitute* "test-suite/tests/ports.test" > + (("fdes not closed\"" all) (string-append all "(e= xit 77)"))) > + #t))) > + '()))))) This is not powerpc- or riscv64-specific -- iirc, I sometimes encounter it = on a x86_64. It's non-determenistic though. The debian patch has a nice explanation: . I've also linked some of the public reports on the issue together: . Could the patch (or substitution) be applied, independently of the architec= ture? Greetings, Maxime. --=-e3ZlNIALm+7prtQKEeHC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYRuTHRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vL+AP9ZGD+GWTR+maH7NYg1mapoVkUB pNL4yQDCzDCCSoQRnQEA9QDLegZXf3VFwdOqKt6SPMPOXZb5hc6Haulu3aAQuA4= =qvrh -----END PGP SIGNATURE----- --=-e3ZlNIALm+7prtQKEeHC--