From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iEJ4AycQImJ+KAEAgWs5BA (envelope-from ) for ; Fri, 04 Mar 2022 14:12:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UFL4ACcQImIF1gAA9RJhRA (envelope-from ) for ; Fri, 04 Mar 2022 14:12:07 +0100 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 C04648395 for ; Fri, 4 Mar 2022 14:12:06 +0100 (CET) Received: from localhost ([::1]:40926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQ7j3-0004Bt-UB for larch@yhetil.org; Fri, 04 Mar 2022 08:12:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQ7i2-00049C-Jn for bug-guix@gnu.org; Fri, 04 Mar 2022 08:11:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nQ7i2-0005Sk-Au for bug-guix@gnu.org; Fri, 04 Mar 2022 08:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nQ7i2-0007S7-6S for bug-guix@gnu.org; Fri, 04 Mar 2022 08:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#50299: [PATCH v5 02/24] gnu: lean: Don't run tests when cross-compiling. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 04 Mar 2022 13:11:02 +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.164639941128433 (code B ref 50299); Fri, 04 Mar 2022 13:11:02 +0000 Received: (at 50299) by debbugs.gnu.org; 4 Mar 2022 13:10:11 +0000 Received: from localhost ([127.0.0.1]:44761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQ7hD-0007OU-4M for submit@debbugs.gnu.org; Fri, 04 Mar 2022 08:10:11 -0500 Received: from andre.telenet-ops.be ([195.130.132.53]:42690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQ7Yj-00079q-SF for 50299@debbugs.gnu.org; Fri, 04 Mar 2022 08:01:27 -0500 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id 2D1P2700M4UW6Th01D1QiV; Fri, 04 Mar 2022 14:01:24 +0100 From: Maxime Devos Date: Fri, 4 Mar 2022 13:00:57 +0000 Message-Id: <20220304130119.14858-3-maximedevos@telenet.be> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220304130119.14858-1-maximedevos@telenet.be> References: <20220304130119.14858-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=r22; t=1646398884; bh=XS0eEN3f1fRz6ZspolF+GsaChUSqYc1sHJtrYxnoorg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ElIvDTHfXNGdRpJxA01rg9Oxs1onynsP3Ll8pgTQg5JT8Jq8UXrX7hozxCNHI9xwd KMhNWauQO2Als6Fwg43ayebDUOof769o3ScOVa+8iX62vM54QUedELIaD6BeYaHVBD zjWOfzvttEB2I5e/8sKcGwwlvi5nV40jXn4KCesjRktO/rABC0n0WItadPiYIs9vCI ze3AZcn8oxwLgiVQUhnL/JWhDql3Uqe4b4V7G5wZqZEFjraD63QzGWy/IeQ8Ey3zD6 hukhWx+LFS0vs1pXRbDLwyIgZ4AqfTWQUJPAOnk42CfMkZ9FprPXuPE/L7cIcsqzAZ H9Rsi+i1ujqQQ== 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646399526; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=XS0eEN3f1fRz6ZspolF+GsaChUSqYc1sHJtrYxnoorg=; b=pBGcBUMLnKyla0tvKmvgXeaJqy+Jczz2THwE7CyhfwuXKfSWnF/OklDyyJ5OC2iXqwwzwU /AWdINDTZZc8tRBteLpWyU/qzDArNGvbJWr7h1ND2FFg4X6UEsUNetyG+whR071UQrw31W BNyf3v7SosrC9TMo3Rn1OUSv/bkWZEbHlYixjmHMyF+g6AMulrGDIp1BbeGvRnIMIowGPQ H9KLRwEwMJ4m2zxI1hXNu5gyRLcP1VbNgcBGY2lEd2kHezzbe+shhFmC0CYpBK0zbVKgUJ XZ3zNLb8aAuwuNUWBRj/FPGjU7UdlmZvvhiHOTpNbCNhh3CKRd6UopAoZhylAQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646399526; a=rsa-sha256; cv=none; b=ReDud3hKtYWsSMhCL8Bi/PbcGObsz4gxBuILrNKJiUbFIh6FqYuaQpN+BWsltwvAlh1FvD C/Z4tEonw5y1zcjPvQt1BwKTW0gQm7EUQS1BWsJ2fCf1haesQWVR01R8KLh0W/V7SuLlzJ xtviNgilZKcZVTA2har6WtNCFqao5hZi23ciKr6A6jaNoUl+hYTkGYZTiFWPugJcFilFEs me9fDpoiOIFwAfFUrUF/45ElHXHBw96zygd1iAeDywAMYrnQos6Iu9Lw8v/FJ3KKmLWCvw zN4fLRpLtzJ48IVjYmEdBPRz1QwOpSX4AmF3LayGMWyomvKF78s4sPDDuQ2jTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=ElIvDTHf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.04 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=ElIvDTHf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C04648395 X-Spam-Score: 6.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: 20pKzKmMDZwj 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 6ac7f1668a..fa36d282d7 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.30.2