From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YKjVCFraGGQ4wwAASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 23:12:42 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kDGpCFraGGT+LwAAauVa8A (envelope-from ) for ; Mon, 20 Mar 2023 23:12:42 +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 aspmx2.migadu.com (Postfix) with ESMTPS id CFD9E3949E for ; Mon, 20 Mar 2023 23:12:41 +0100 (CET) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=cvMg4L6C; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx2.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=1679350361; h=from:from:sender:sender:reply-to: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=+XfaKQtUvDfrJWyuTH80mZEq58A937nj/iEV9ER9lSo=; b=McBhYR56tW0oZGbK2J8hG9S1WLhDtq4THJVmMpjiPnGcduHd/AZN4XcnnzEA9mU7iurML1 vaKtfpRJ4dKBA8YTNOtsk/82SR8zxgnaBwxNGuDRFVHNLZzl94XEmsug1Z70T0fouRwlqo EBkqw4SJa9n7CKzqfZIRyZQknJj6KUtBu9G2F7DnMisDrrrks0x0tvEpqbJHu1nlROE1xB m/5+ruM2KxjWJ+67uVF0jqj6uXoUc5uLkg1EaJlhFxeF/1OF674by1Xs2qzu2iEMQXReEP 3edeE1Srkt61QQfJJV5KMsWJRv8qvUbczdxWiC89G3vRAUaYfwkRCH3AgxX/iQ== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=cvMg4L6C; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx2.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-Seal: i=1; s=key1; d=yhetil.org; t=1679350361; a=rsa-sha256; cv=none; b=HaPMqX8a16JnPTbzrOeaqHzJLMfylyxXeKINWGuGK5dFk6IlbEOFru1DlPbZRbBo7s0NJD jKfcLuB+hLWlFnU+/FOPveRPrUFkAoOWI43Vgb5pTQqnB8n3lt+iXTUCxV/ySXGG5gpAQB zUywq+njfTa2Cd7lWscudI03yNHhGmx7jMU0YsJ6wEhVZSRWhJYrBsqGVCC3g7EyWcZT36 JqedlObHhSu+VwVdmicMePE+0HsF+gz719eI3vtoZnKg04OJvovIjQY8TyVeEjx2iB1JIp 7ewAUghJaXEXNLK6CFg3hCpK1/PKdmzhO7jDxl04IVtXBm2r9HFw2exhxHQA8g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peNjf-0003sN-Pk; Mon, 20 Mar 2023 18:12:11 -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 1peNjY-0003lT-70 for guix-patches@gnu.org; Mon, 20 Mar 2023 18:12:04 -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 1peNjX-0003GW-Ua for guix-patches@gnu.org; Mon, 20 Mar 2023 18:12:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peNjX-0007NC-QX for guix-patches@gnu.org; Mon, 20 Mar 2023 18:12:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62307] [PATCH core-updates 05/15] cross-base: Add cross arguments to hurd derivatives. Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 22:12:03 +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, Josselin Poiret Received: via spool by 62307-submit@debbugs.gnu.org id=B62307.167935027228148 (code B ref 62307); Mon, 20 Mar 2023 22:12:03 +0000 Received: (at 62307) by debbugs.gnu.org; 20 Mar 2023 22:11:12 +0000 Received: from localhost ([127.0.0.1]:57007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peNii-0007Jl-0S for submit@debbugs.gnu.org; Mon, 20 Mar 2023 18:11:12 -0400 Received: from jpoiret.xyz ([206.189.101.64]:46822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peNia-0007Ii-SC for 62307@debbugs.gnu.org; Mon, 20 Mar 2023 18:11:05 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 32B8D184D6B; Mon, 20 Mar 2023 22:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1679350264; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+XfaKQtUvDfrJWyuTH80mZEq58A937nj/iEV9ER9lSo=; b=cvMg4L6CvYs0GCGM3uKhsP2EGvo2xBgAEDGzN8vH1l/Zb5eg1up3qsGGhYYcrZDLWMk5dF XqONA2H1ChnKDTB6dHVOz06LdE8xBH7ld+boPL3Qw6b/1uWp7tYQg6DLjyMbK8uOYhPIMr W6XUu82NgJDLi50jGPlmWWhJoM2vFlXPwzMiIsQeMd3OiMdtn3hPx9cJy/OeCoYBoMzeDP iLmAQwFpja9E03d5OEOyzP4Gsn6x55bh9rXahv9bLSTPfp0UP47kgnw8p7EvcEIC6DxUEc cqpiiRcXIZV8eZ+G8DLOldbITRSl7nn+op+3ohvKWt3dWJ5UYLrccofP2Gr/KA== Date: Mon, 20 Mar 2023 23:10:40 +0100 Message-Id: <98e07033c57ba2adcbb347b6c0081e78e745dd98.1679349992.git.dev@jpoiret.xyz> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: / 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: , Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches X-Migadu-Queue-Id: CFD9E3949E X-Spam-Score: -4.05 X-Migadu-Spam-Score: -4.05 X-Migadu-Scanner: scn0.migadu.com From: Josselin Poiret via Guix-patches via 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 X-TUID: nYQn6l77QkNE * gnu/packages/cross-base.scm (cross-kernel-headers*): Add --build and --host to xhurd-headers and xhurd-minimal. --- gnu/packages/cross-base.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index 5c9ae86d52..217b83d077 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -465,10 +465,17 @@ (define xhurd-headers (name (string-append (package-name hurd-headers) "-cross-" target)) + (arguments + (substitute-keyword-arguments (package-arguments hurd-headers) + ((#:configure-flags flags) + `(cons* ,(string-append "--build=" (%current-system)) + ,(string-append "--host=" target) + ,flags)))) + (native-inputs `(("cross-gcc" ,xgcc) ("cross-binutils" ,xbinutils) ("cross-mig" ,xmig) - ,@(alist-delete "mig"(package-native-inputs hurd-headers)))))) + ,@(alist-delete "mig" (package-native-inputs hurd-headers)))))) (define xglibc/hurd-headers (package @@ -513,6 +520,10 @@ (define xhurd-minimal (guix build utils) (srfi srfi-26)) ,@(package-arguments hurd-minimal)) + ((#:configure-flags flags) + `(cons* ,(string-append "--build=" (%current-system)) + ,(string-append "--host=" target) + ,flags)) ((#:phases phases) `(modify-phases ,phases (add-before 'configure 'set-cross-headers-path -- 2.39.2