From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SHukFfbtVGHLNAAAgWs5BA (envelope-from ) for ; Thu, 30 Sep 2021 00:51:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4BlZEfbtVGFQHgAA1q6Kng (envelope-from ) for ; Wed, 29 Sep 2021 22:51:34 +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 1E32B1402A for ; Thu, 30 Sep 2021 00:51:34 +0200 (CEST) Received: from localhost ([::1]:40590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mViQH-0000Ro-9V for larch@yhetil.org; Wed, 29 Sep 2021 18:51:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mViO1-0005bT-4Q for bug-guix@gnu.org; Wed, 29 Sep 2021 18:49:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mViO0-0000sw-Ry for bug-guix@gnu.org; Wed, 29 Sep 2021 18:49:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mViO0-0001cQ-QQ for bug-guix@gnu.org; Wed, 29 Sep 2021 18:49:12 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50299: [PATCH v3 02/27] gnu: lean: Set #:tests? appropriately when cross-compiling. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 29 Sep 2021 22:49:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50299 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 50299@debbugs.gnu.org Received: via spool by 50299-submit@debbugs.gnu.org id=B50299.16329557436031 (code B ref 50299); Wed, 29 Sep 2021 22:49:12 +0000 Received: (at 50299) by debbugs.gnu.org; 29 Sep 2021 22:49:03 +0000 Received: from localhost ([127.0.0.1]:50885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mViNq-0001Z0-CM for submit@debbugs.gnu.org; Wed, 29 Sep 2021 18:49:02 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:53606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mViMt-0001Sx-ME for 50299@debbugs.gnu.org; Wed, 29 Sep 2021 18:48:12 -0400 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by michel.telenet-ops.be with bizsmtp id zyo1250090mfAB406yo20E; Thu, 30 Sep 2021 00:48:02 +0200 From: Maxime Devos Date: Thu, 30 Sep 2021 00:47:34 +0200 Message-Id: <20210929224759.21803-2-maximedevos@telenet.be> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210929224759.21803-1-maximedevos@telenet.be> References: <20210929224759.21803-1-maximedevos@telenet.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1632955683; bh=TXl7FPpt2ajQf0jx5BAqB5tucIjx5jM4KjXqA00Bmq4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=qWskPnydhaM3xcOUmRT9crNH7v+7IsLU7l4PI/Xc7Px290APV6WcQ6hNZwQZfSgLh J/RBvcWpKKBZbgipQj4qSiQdw7yq+jjpkSy5RoCMT/3oKI4Xen7OHIRV6+1A7/4HFh dfR6Ko0nFJ17tNXtSwmCDHq9htJl4lG8XAZfA8wfpa+/0Mv8MW4Ebgbu621H4t6m9y 5x+1TaZJ0026k+2CBLvhHedxsBlkkfcTKX4QEni1MuJrzd0fPNDqg4yWH/zB5AS1lu p4Z8kz4yEuLpLTXDIqTOhsQrjbtLCVUFx4vqPIOSC+lwh8vjFpvhjYQgt5+gTR5L7O AnTAIX0HxIfxA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxim Cournoyer Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632955894; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=TXl7FPpt2ajQf0jx5BAqB5tucIjx5jM4KjXqA00Bmq4=; b=MJq0jye4DD/VAMBSxLZ+nVaY0D6Px6frb8k4s/f7ZhduVuQ0IIJmNr7J1/76xTQtkwNLT5 CgKFE373w68edaXmY6zwn/6xam3SmisRsGDTmGt3ebHoULkXSGttviO3tBHT+hN0FSImxs xJnLQlS0vNcIu0+k5g7BAsRtenS7Dqr4D90hGLAykGUdhcSaZbpF9TQd/GTXGgh01c/LPp NcHIhO0v1t/Xc8NsKYOAA2J0o+O7BD0HDjH5r4Sw9gPWLfvXyhQeCQCjchRu6BMgs3iUy7 XMsI6GCmGIs00Nrf4sf0w0DqA7HwrutvIUnafByDg09TiL2oR+MO/PvUGZmNCw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632955894; a=rsa-sha256; cv=none; b=rto0oShdO2tHXkCbA5yioTmL0zyX1eR6gD35OTVMGbT4eHNW2acRTAMyYbVn4ktZos7DKG c6LO3CQ2dQHnoasSZvrHITqv+sZj43pNT5nk5BClLafDuaryR+UxmV1Tt+n3HGdHEoy6gS S2vBk3rwit+9iTrTEuQpndN1u5B68kZki4H0FtCiw6u7IvMgbvrxY3/rucyywFKP/dmJFr O2juFZJZ4OlDq4SLNnc1aWtJ23CK8gQj5ZtgVKiEjsLIEKviY5Q9cWH4lgIJSfFM2mtTmN xeleq4zEVzWXhYXlJgniwlHOOPAFhUZ9T40liOv9440DbBf71Z3WA7HwdRaZhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=qWskPnyd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 3.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=qWskPnyd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 1E32B1402A X-Spam-Score: 3.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: dG1+xnBjjk4Y It still fails to cross-compile though. * gnu/packages/lean.scm (lean)[arguments]<#:tests?>: Set to #false when cross-compiling. --- gnu/packages/lean.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/lean.scm b/gnu/packages/lean.scm index cc593291fd..1099732181 100644 --- a/gnu/packages/lean.scm +++ b/gnu/packages/lean.scm @@ -46,10 +46,10 @@ ;; XXX: Test phases currently fail on 32-bit sytems. ;; Tests for those architectures have been temporarily ;; disabled, pending further investigation. - #:tests? ,(let ((arch (or (%current-target-system) - (%current-system)))) - (not (or (string-prefix? "i686" arch) - (string-prefix? "armhf" arch)))) + #:tests? ,(and (not (%current-target-system)) + (let ((arch (%current-system))) + (not (or (string-prefix? "i686" arch) + (string-prefix? "armhf" arch))))) #:phases (modify-phases %standard-phases (add-after 'patch-source-shebangs 'patch-tests-shebangs -- 2.33.0