From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iESxMTr6ImScLgEASxT56A (envelope-from ) for ; Tue, 28 Mar 2023 16:31:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WKCpMDr6ImSPSAEAG6o9tA (envelope-from ) for ; Tue, 28 Mar 2023 16:31:22 +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 93014978B for ; Tue, 28 Mar 2023 16:31:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phAL0-0004jd-33; Tue, 28 Mar 2023 10:30:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phAKv-0004g0-43 for guix-patches@gnu.org; Tue, 28 Mar 2023 10:30:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phAKu-0006s1-Qi for guix-patches@gnu.org; Tue, 28 Mar 2023 10:30:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phAKu-0002bS-Jx for guix-patches@gnu.org; Tue, 28 Mar 2023 10:30:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62307] [PATCH core-updates v2 11/20] gnu: gnumach, hurd-headers, hurd: Switch to using cross-mig. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Mar 2023 14:30:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62307 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62307@debbugs.gnu.org Cc: Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 62307-submit@debbugs.gnu.org id=B62307.16800137839804 (code B ref 62307); Tue, 28 Mar 2023 14:30:08 +0000 Received: (at 62307) by debbugs.gnu.org; 28 Mar 2023 14:29:43 +0000 Received: from localhost ([127.0.0.1]:50422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phAKU-0002Xx-S8 for submit@debbugs.gnu.org; Tue, 28 Mar 2023 10:29:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phAKD-0002Uq-JW for 62307@debbugs.gnu.org; Tue, 28 Mar 2023 10:29:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phAK8-0006R2-Bj; Tue, 28 Mar 2023 10:29:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=CqGMvaQlUIiPjBm6k8Qjeq1dtkstSZZBM9f+NmG/+yw=; b=km0LwL0xCehIWD5LRS87 Q2Om9mlCQoDDwls11HpOk2bxANEBGpJuHFZBSHDnAchRPK03HsOfdVYEgD2TnvRKUq7zBWLCgfgeW I8OzbxzlN+N+XetcxihfLFTm4zRb/Gr7DjCY4rptuRahQBEmjGrd8PiB1IaIf3JmqGUaOrv0nFV3G w1n5F9AvxN6uFSUvud4mIMz5OGh1TseKZ2x3qoIavJ5kE65mdDIo9GonJiGcYGM8V5rgBuD6gF2+9 eRlKt9JmhZ3TV1ioC5d63vFIh1SaAsaJTjDh6iDOD6af+EENOuCJaQawox8Mu5VU63jW/Y1330yH9 ijzIbGKyPky09g==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phAK7-00026Y-U6; Tue, 28 Mar 2023 10:29:20 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Tue, 28 Mar 2023 16:28:43 +0200 Message-Id: <20230328142852.26635-12-ludo@gnu.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230328142852.26635-1-ludo@gnu.org> References: <87pm90bzva.fsf_-_@gnu.org> <20230328142852.26635-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680013882; a=rsa-sha256; cv=none; b=llXZYZL+ofs3g5z2gM94Puu5bDtGYM9Z1ZOVd8EByAlw0P5xEWhqQmMBNGuBqTRP7MDqma XIK5sL09Ce/Aj6sbMJ2g1W6/FTzgNEWNvQvdl1ElSlDG/C9c5FYCPq3fimB7U+k1QPjWT8 CsLzc5xdmSq54jywqVfWhjH3EAsGoLu0zn19M81XhyndykAPPhQZFgJfa2SfQ0a4vA2NOJ Q1CbMIPKsdp/JmZgU0korCrTAMwoC42rpd6vj/NTaB6I9qVN4exgOISrcPyKyISV3mRxBz tb+1K2Dvi2Q6i4JRZpBbIvNQwHkq3Fv17lpW2I+p1Hq/bQ270m8mOIcb5ucYmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=km0LwL0x; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680013882; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=CqGMvaQlUIiPjBm6k8Qjeq1dtkstSZZBM9f+NmG/+yw=; b=WtVIbFW5bmLMQaR5dWubEYH6BjsV5AAp5A84Gz6dqRMP/bVlrdfJzs385y3hubMT+V0CUH LHb3ehnw1l3rhIEabT3nV+lP3RWSajCaj8nxKuX2MZWpWuJpkIdkAQCAGrwJ79ti0hpb+M K2C74weN8WrXtlD/4BN4H3OJz1SYJkcfblsD5eglaTPo1hQQanrDjBxHAWZijmxVn8Rc9R K1TK8Yo5jgL9EtLB1FOkhM3vy71+QhDLmZ1s5MspkGNW9bAGqXfKIJQCPAjsxNcKI1GblK +xPnHdP/lXXbOZDrvzbdpX2YHtnqb9YHWVWbRi2Jl4wSVJ48LiAhDwGSJLHppQ== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=km0LwL0x; 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-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.63 X-Spam-Score: -1.63 X-Migadu-Queue-Id: 93014978B X-TUID: 2HbF1fl2UaYe From: Josselin Poiret * gnu/packages/hurd.scm (gnumach, hurd-headers, hurd): Switch to cross-mig when cross-building. Signed-off-by: Ludovic Courtès --- gnu/packages/hurd.scm | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index 375e8af76a..7ad893380c 100644 --- a/gnu/packages/hurd.scm +++ b/gnu/packages/hurd.scm @@ -188,7 +188,13 @@ (define-public hurd-headers "hurd-fix-types-of-read-write-and-readables-methods-2.patch")))) (build-system gnu-build-system) (native-inputs - (list autoconf automake mig)) + (list autoconf + automake + (if (%current-target-system) + (let* ((cross-base (resolve-interface '(gnu packages cross-base))) + (cross-mig (module-ref cross-base 'cross-mig))) + (cross-mig (%current-target-system))) + mig))) (arguments `(#:phases (modify-phases %standard-phases @@ -312,7 +318,15 @@ (define-public gnumach (invoke "make" "gnumach.gz") (install-file "gnumach.gz" boot)))))))) (native-inputs - (list mig perl autoconf automake texinfo-4)) + (list autoconf + automake + (if (%current-target-system) + (let* ((cross-base (resolve-interface '(gnu packages cross-base))) + (cross-mig (module-ref cross-base 'cross-mig))) + (cross-mig (%current-target-system))) + mig) + perl + texinfo-4)) (supported-systems (cons "i686-linux" %hurd-systems)) (synopsis "Microkernel of the GNU system") (description @@ -532,12 +546,12 @@ (define-public hurd `(("autoconf" ,autoconf) ("automake" ,automake) ("libgcrypt" ,libgcrypt) ;for 'libgcrypt-config' - ("pkg-config" ,pkg-config) ("mig" ,(if (%current-target-system) - ;; XXX: When targeting i586-pc-gnu, we need a 32-bit MiG, - ;; hence this hack. - mig/32-bit + (let* ((cross-base (resolve-interface '(gnu packages cross-base))) + (cross-mig (module-ref cross-base 'cross-mig))) + (cross-mig (%current-target-system))) mig)) + ("pkg-config" ,pkg-config) ("perl" ,perl) ("texinfo" ,texinfo-4) ("dde-sources" ,dde-sources))) -- 2.39.2