From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wMH6GdVmeWEIIAAAgWs5BA (envelope-from ) for ; Wed, 27 Oct 2021 16:48:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oMTGFdVmeWGVZwAA1q6Kng (envelope-from ) for ; Wed, 27 Oct 2021 14:48:53 +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 EC2DB36178 for ; Wed, 27 Oct 2021 16:48:52 +0200 (CEST) Received: from localhost ([::1]:49870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfkEW-0006rP-1o for larch@yhetil.org; Wed, 27 Oct 2021 10:48:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfjX9-0008Jk-6h for guix-patches@gnu.org; Wed, 27 Oct 2021 10:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38542) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfjX8-0005Fr-T5 for guix-patches@gnu.org; Wed, 27 Oct 2021 10:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfjX8-0002Z0-OB for guix-patches@gnu.org; Wed, 27 Oct 2021 10:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51440] [PATCH 04/10] gnu: guile-netlink: Allow cross-compilation. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Oct 2021 14:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51440 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51440@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 51440-submit@debbugs.gnu.org id=B51440.16353433879667 (code B ref 51440); Wed, 27 Oct 2021 14:04:02 +0000 Received: (at 51440) by debbugs.gnu.org; 27 Oct 2021 14:03:07 +0000 Received: from localhost ([127.0.0.1]:50060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfjWF-0002Vl-4B for submit@debbugs.gnu.org; Wed, 27 Oct 2021 10:03:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfjWC-0002Ui-PH for 51440@debbugs.gnu.org; Wed, 27 Oct 2021 10:03:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfjW7-00057d-Fb; Wed, 27 Oct 2021 10:02:59 -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=9RiXGJeRtbEaSlC9HCBSii2Gml4rjEt9QiDUUVyODho=; b=qBbzfp9DjakZZsz7O2BT NPy51x2WEhHwjAJyG0FRWkE7JuWNYlUf4TFLA0xk5aHWjZi3FN5UynQpBLgqbAnBCrmhBPKPk2xRV RNtsXjXmG/Fot6Zo69AqVQDXt8Jz17AyZh3VlTtvcpl/RWivJzmrbj/NNHi2xDfV7f7jK3u1o5F39 g9vu8LJbDWxTjfQkidCwCufEALULpRkvgn8wvYFg91vt222Cjc2T/Qk+wwxDZmVGwEhBYj7C8v39c 88ERy0z/Bux/sgA2ZXH0yL9e/zhgYQqSdSye6oSHht89Sf2aIB+lcGofYjOG4SAcocqGRV2hXPJNO F7kNWlrJz1gZNQ==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=55004 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 1mfjW6-0002Tf-Ty; Wed, 27 Oct 2021 10:02:59 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Wed, 27 Oct 2021 16:02:39 +0200 Message-Id: <20211027140245.18970-4-ludo@gnu.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211027140245.18970-1-ludo@gnu.org> References: <20211027140245.18970-1-ludo@gnu.org> MIME-Version: 1.0 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635346133; 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=9RiXGJeRtbEaSlC9HCBSii2Gml4rjEt9QiDUUVyODho=; b=AjOFVT6RNmzNOY+sGlW0fZWecgVS6zf1ahNve08uXXt9cQErVlQhnYDnB77WkJ7pSeThMy gnhJqfD/7Twiruv2zshpMN1KKfn3hgdeEQQHr3DYKW04n+HPAB2ipY6H8urDxqDdwlHCbq 3tiGFbtoYA0Eguf4ncUhwRQtG/A0CrlDFOuCbCHu8bOrZIseqAIffZrDfXlqzW4occBKsj kJ1OPLFu59qdxjEzaF8wk/FMNxzcZx2uigU3tg6XhYYVwbp+J8LDqCpWWqu/JwvFRH60Av xNa7bD7rU8RS/fJ6aNV6SbZSfYfjWKCx8oTtYAExBlsQR1Cd06xjegvIheI7Vg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635346133; a=rsa-sha256; cv=none; b=Gpcz1jJ3+5wMNa/5TXCEdrKH2GIxFnoD7VVLd2IxuSB/FVxyOLmtp9UMdzIuv0QTqo8nNz dg2qeUSXvNKRiaodzj/ibpAf0Ck9E3tGZqiJ1vFZiDan7ELqPuUcJPcNDAi2Mg07T6L6rE ZX91TZ8EVfXmRibzG31p2Wl+BKvn8tK/FHjP1/Rn0VpN75JyiI24l9IxZd6KNrQBf767US QkR7ATI8OMl6dPGrZpVfU5g1Jx/AazlaCdZ4O61hWyuIFE3sX8Vc3ceythn+MT1hKByKxq u1lJygeaKOpLSfcVA46Cb74VAFWptmw/inyHaxKQuGY+x0COKQNHB4uncnqOFg== 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=qBbzfp9D; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=qBbzfp9D; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: EC2DB36178 X-Spam-Score: 3.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3fsfKzVQK52N * gnu/packages/guile-xyz.scm (guile-netlink)[arguments]: Add #:phases. Remove unnecessary #:tests? #f. [native-inputs]: Add GUILE-3.0. --- gnu/packages/guile-xyz.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 355b23f57e..daef8bbb26 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -4854,13 +4854,22 @@ (define-public guile-netlink "03zmsha2d7whlwb52gna83jdas9bqi18rq3sss7kkicv814qb35g")))) (build-system gnu-build-system) (arguments - `(#:tests? #f)); no tests + `(#:phases (modify-phases %standard-phases + (add-before 'bootstrap 'set-guile-target + (lambda* (#:key target #:allow-other-keys) + (when target + ;; Pass '--target=TRIPLET' to 'guild compile'. + (substitute* "guile.am" + (("\\$\\(GUILD\\) compile") + (string-append "$(GUILD) compile --target=" + target " "))))))))) (inputs `(("guile" ,guile-3.0))) (native-inputs `(("automake" ,automake) ("autoconf" ,autoconf) ("pkg-config" ,pkg-config) + ("guile" ,guile-3.0) ;for 'guild compile' + guile.m4 ("texinfo" ,texinfo))) (home-page "https://git.lepiller.eu/guile-netlink") (synopsis "Netlink protocol implementation for Guile") -- 2.33.0