From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sEk0HUIGjWLVsQAAbAwnHQ (envelope-from ) for ; Tue, 24 May 2022 18:22:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8A80HEIGjWJ5WQEAG6o9tA (envelope-from ) for ; Tue, 24 May 2022 18:22:26 +0200 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 CEDF612718 for ; Tue, 24 May 2022 18:22:25 +0200 (CEST) Received: from localhost ([::1]:56302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntXIe-0004c8-J5 for larch@yhetil.org; Tue, 24 May 2022 12:22:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntWt8-0007p2-5d for guix-patches@gnu.org; Tue, 24 May 2022 11:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59264) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntWt7-00081l-Re for guix-patches@gnu.org; Tue, 24 May 2022 11:56:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ntWt7-0006EO-MR for guix-patches@gnu.org; Tue, 24 May 2022 11:56:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55614] [PATCH] tests: Fix wrong target triplets. Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 May 2022 15:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55614 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55614@debbugs.gnu.org Cc: Josselin Poiret X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165340775323934 (code B ref -1); Tue, 24 May 2022 15:56:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 May 2022 15:55:53 +0000 Received: from localhost ([127.0.0.1]:53161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntWsy-0006Dy-F9 for submit@debbugs.gnu.org; Tue, 24 May 2022 11:55:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:41116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntWsv-0006Dp-F2 for submit@debbugs.gnu.org; Tue, 24 May 2022 11:55:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntWsv-00078W-5j for guix-patches@gnu.org; Tue, 24 May 2022 11:55:49 -0400 Received: from jpoiret.xyz ([206.189.101.64]:40318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntWst-000812-8l for guix-patches@gnu.org; Tue, 24 May 2022 11:55:48 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 2ADAB185182; Tue, 24 May 2022 15:55:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1653407744; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ZLgsZCIMzOsm1AWKT4Av6yzf7O8piGt+YR2LjEasczk=; b=TYzBVFwoLqSXYk66AgAJMW25cS3ukXH131NT83xiBH5hQu2N4MXlwXTj5+0RWqCnrHOx5X 1NgdP/liHv/BCLxIALdJhlC/GwO5TDZtsQKzvSpM+phZlKzUPZFud10uyzIFGZ90kdR+GI 3xDZj5i5JxSsK2OaFao8ri6HvkqeQDvUBqOKB0Z8PJYmnIpwfhVz42GgzKYW7KfQW1MW/v MHGtUByMu6LXuGP7IS1aI1NvdEFtJPY4XnC9sm/Ksp7wNl58r06AyHxUIDmXMiUWHiAlJa PfL9PvEVpQI4c8ElqGLb/U0m6VQhHd1gcklrb0Tdfwy7bs7dOmUIeDgpkSOfeQ== Date: Tue, 24 May 2022 17:55:22 +0200 Message-Id: <20220524155522.16154-1-dev@jpoiret.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++ Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: 24 X-Spam_score: 2.4 X-Spam_bar: ++ X-Spam_report: (2.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=1.997, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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" Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches From: Josselin Poiret via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653409346; h=from:from:sender:sender:reply-to: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZLgsZCIMzOsm1AWKT4Av6yzf7O8piGt+YR2LjEasczk=; b=tPq4gh3YMiKPXqd95JG9EmlPtju8K1KjF3XBtdD+Vi4iS3iLFXYyY3tI5wCEkJYmx1P/5v fUwbm3ZHel/4veqAo3HLTNhayONyTJQZ1G5nciuwVIgCZGBorLc+8cic7zKnqSbB5LaxbT 7oaQR4xiVCtoUVdrTMpxbG8veAZUWbL9wSYxQsIwzEfIy/Td6gb47RJkxJEO+FsH8sCd3L 2Cs1nLyOODGxKn+T1jTRNG9qGf5bQz0MishWwnFJx4tQSiCJpZC0p2y2bgoxWBnBt8oMCX Y8V+keNMWEMzV7Om1GY1PCUVYXwKDXeW3YSGNK78TnNgRNQ8P605u4gkbObhRw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653409346; a=rsa-sha256; cv=none; b=e/djeoiDJQj6RfTZM8OJbHWrcq8lphsrO8j7dMSZVoepRhtDleHOLEUZDkZsJ++BgT4QSp xaB5HL727eO0usfnhQKVtbcXMdpyWWfrC4sJ879E0Ywd42BPPc7Z4o4cvzZUxUtN7Vl4Mn d8FEDOXGjDXdSp86AtVX65CsCvApf1L5eFlhhm5ytkWyQAKkttrbXycqJEop3AILkVScMe TU5ILS0Ksnh4rOmAG1WadxfZwJEkCr9QQqGFczOL+yD+imaoc3QjpHkdvjTnbHgfzv1WDI hUMXBCPLhkBHr0muDxrK9nMtugSr7jE/tdjqg9748vyTt4pC+aIikLpwr/26ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=TYzBVFwo; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.24 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=TYzBVFwo; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CEDF612718 X-Spam-Score: -3.24 X-Migadu-Scanner: scn1.migadu.com X-TUID: pfVkk/9Kkkjk * tests/gexp.scm (ungexp + ungexp-native, input list + ungexp-native, input list splicing + ungexp-native-splicing, gexp list splicinng + ungexp-splicing, gexp->derivation, cross-compilation, gexp->derivation, ungexp-native, gexp->derivation, ungexp + ungexp-native, gexp->derivation, ungexp-native + composed gexps): Change mips64el-linux to mips64el-linux-gnu. * tests/guix-pack.sh: Change arm-unknown-linux-gnueabihf to arm-linux-gnueabihf. --- tests/gexp.scm | 12 ++++++------ tests/guix-pack.sh | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/gexp.scm b/tests/gexp.scm index 35bd99e6d4..07e940ffdc 100644 --- a/tests/gexp.scm +++ b/tests/gexp.scm @@ -502,7 +502,7 @@ (define (match-input thing) (ungexp coreutils) (ungexp-native glibc) (ungexp binutils)))) - (target "mips64el-linux") + (target "mips64el-linux-gnu") (guile (derivation->output-path (package-derivation %store %bootstrap-guile))) (cu (derivation->output-path @@ -547,7 +547,7 @@ (define (match-input thing) (gexp->sexp* exp))))) (test-assert "input list + ungexp-native" - (let* ((target "mips64el-linux") + (let* ((target "mips64el-linux-gnu") (exp (gexp (display (cons '(ungexp-native (list %bootstrap-guile coreutils)) '(ungexp (list glibc binutils)))))) @@ -764,7 +764,7 @@ (define guile ,guile) intd))))) (test-assertm "gexp->derivation, cross-compilation" - (mlet* %store-monad ((target -> "mips64el-linux") + (mlet* %store-monad ((target -> "mips64el-linux-gnu") (exp -> (gexp (list (ungexp coreutils) (ungexp output)))) (xdrv (gexp->derivation "foo" exp @@ -778,7 +778,7 @@ (define guile ,guile) (not (member (derivation-file-name cu) refs)))))) (test-assertm "gexp->derivation, ungexp-native" - (mlet* %store-monad ((target -> "mips64el-linux") + (mlet* %store-monad ((target -> "mips64el-linux-gnu") (exp -> (gexp (list (ungexp-native coreutils) (ungexp output)))) (xdrv (gexp->derivation "foo" exp @@ -788,7 +788,7 @@ (define guile ,guile) (derivation-file-name xdrv))))) (test-assertm "gexp->derivation, ungexp + ungexp-native" - (mlet* %store-monad ((target -> "mips64el-linux") + (mlet* %store-monad ((target -> "mips64el-linux-gnu") (exp -> (gexp (list (ungexp-native coreutils) (ungexp glibc) (ungexp output)))) @@ -802,7 +802,7 @@ (define guile ,guile) (member (derivation-file-name xglibc) refs))))) (test-assertm "gexp->derivation, ungexp-native + composed gexps" - (mlet* %store-monad ((target -> "mips64el-linux") + (mlet* %store-monad ((target -> "mips64el-linux-gnu") (exp0 -> (gexp (list 1 2 (ungexp coreutils)))) (exp -> (gexp (list 0 (ungexp-native exp0)))) diff --git a/tests/guix-pack.sh b/tests/guix-pack.sh index 1356a74083..f19a0f754e 100644 --- a/tests/guix-pack.sh +++ b/tests/guix-pack.sh @@ -107,7 +107,7 @@ guix pack --dry-run --bootstrap -f docker -S /opt/gnu=/ guile-bootstrap # Build a tarball pack of cross-compiled software. Use coreutils because # guile-bootstrap is not intended to be cross-compiled. -guix pack --dry-run --bootstrap --target=arm-unknown-linux-gnueabihf coreutils +guix pack --dry-run --bootstrap --target=arm-linux-gnueabihf coreutils # Likewise, 'guix pack -R' requires a full-blown toolchain (because # 'glibc-bootstrap' lacks 'libc.a'), hence '--dry-run'. -- 2.36.0