From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IGSFBTiTG2EkKwAAgWs5BA (envelope-from ) for ; Tue, 17 Aug 2021 12:45:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eFo7ATiTG2GVdgAAB5/wlQ (envelope-from ) for ; Tue, 17 Aug 2021 10:45: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 409081F8EA for ; Tue, 17 Aug 2021 12:45:11 +0200 (CEST) Received: from localhost ([::1]:39392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFwak-0002bT-AU for larch@yhetil.org; Tue, 17 Aug 2021 06:45:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFwac-0002b6-CT for guix-patches@gnu.org; Tue, 17 Aug 2021 06:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40385) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFwac-00076i-5z for guix-patches@gnu.org; Tue, 17 Aug 2021 06:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mFwac-0004wp-1g for guix-patches@gnu.org; Tue, 17 Aug 2021 06:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50091] [PATCH 05/21] gnu: guile: Fix building on riscv64-linux. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Aug 2021 10:45:01 +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: Efraim Flashner , 50091@debbugs.gnu.org Received: via spool by 50091-submit@debbugs.gnu.org id=B50091.162919709518993 (code B ref 50091); Tue, 17 Aug 2021 10:45:01 +0000 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: From: Maxime Devos 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-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=1629197111; 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: dkim-signature; bh=bRTd/WNe2vdIS48paI4si6pbbhGHcKGaNRmldJ2EgN4=; b=NeZJO8iJyZJbfsYVZ+QVt6tjDNChUKliyMRvEYj0PeGuNzD68oT4gew75iFsd+P/d6afNH aif9rKAvkuDyh4M0P509JUi0/YjauwKaBnHXHodiPDISr71TtkLL+itFNNc/LufHgG3q7e FPlqvSeRU+9dp/29fFhFbZq9rVQjNdyshvLhEWdZhfMdiN9RQTlJ+Jplhniccank0x+Wk6 bAHvkg8WKLl+S4EB+kEz9FT+YKemsyxLLDVpISe86qIdzNBafVJGoWoVhzsM/kT3QHXaHB 8slk4t/AS3MHzOW7eXXdZu+jGxXm1+S8hVn1oPBWt5KJgSCtF4QGus1FrB6h7w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629197111; a=rsa-sha256; cv=none; b=pH5bEH72E24KyeybIzWqQLZNBXOUJaSqG8EAF8Q6zNWYuhrBolFwUwM0i4g1fsTmR8xxSD HY3KfLjvWErFLPeWNzn/zwKukadJACqo8NlbdOYBXRgC2hthQtG00AavLMeddkgNI7f0oB hnc/sJdeisgWgmS5yt2ZUuD8wwmGP249/ceRzgI8rnZKL8fs4005v7M+Zen/Oya0Xac4wn kKlJMvPCJwhI94iOv0o86MkRvXV3n80+hvKwKsxrpKOuTujXxuEgYUa3ChvExUgtoKw75F 5ZV+JRe7wwxyafkuR7gh9WThxOYPPLRNJ8dJm1OqA/HcgMten5nHAMWfbLs7SQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=V0NQTOMy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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: -3.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=V0NQTOMy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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: 409081F8EA X-Spam-Score: -3.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: TAC65dN9TVuM --=-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--