From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uOnwOgp6x2C8ZQAAgWs5BA (envelope-from ) for ; Mon, 14 Jun 2021 17:47:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YD07Ngp6x2A1PwAA1q6Kng (envelope-from ) for ; Mon, 14 Jun 2021 15:47:22 +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 756042FDC5 for ; Mon, 14 Jun 2021 17:47:22 +0200 (CEST) Received: from localhost ([::1]:54876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsoo5-0006rp-FX for larch@yhetil.org; Mon, 14 Jun 2021 11:47:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsog3-0002xq-Bs for guix-patches@gnu.org; Mon, 14 Jun 2021 11:39:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36068) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsog3-0007jH-26 for guix-patches@gnu.org; Mon, 14 Jun 2021 11:39:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsog2-0004Ir-Uy for guix-patches@gnu.org; Mon, 14 Jun 2021 11:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49025] [PATCH core-updates 05/37] net-base: Fix cross-compilation, eliminating %build-inputs & friends Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Jun 2021 15:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49025 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49025@debbugs.gnu.org Received: via spool by 49025-submit@debbugs.gnu.org id=B49025.162368510316400 (code B ref 49025); Mon, 14 Jun 2021 15:39:02 +0000 Received: (at 49025) by debbugs.gnu.org; 14 Jun 2021 15:38:23 +0000 Received: from localhost ([127.0.0.1]:47577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsofP-0004GM-5L for submit@debbugs.gnu.org; Mon, 14 Jun 2021 11:38:23 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:37390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsofL-0004Ah-PZ for 49025@debbugs.gnu.org; Mon, 14 Jun 2021 11:38:20 -0400 Received: from butterfly.local ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by albert.telenet-ops.be with bizsmtp id H3eK2500B0mfAB4063eKFS; Mon, 14 Jun 2021 17:38:19 +0200 Message-ID: <1d2e246e4d21a5b3d7b4232478d51b04bbf9434e.camel@telenet.be> From: Maxime Devos Date: Mon, 14 Jun 2021 17:38:19 +0200 In-Reply-To: References: Content-Type: multipart/mixed; boundary="=-lSes7Ookdzmcs3uBiRIC" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1623685099; bh=r4nFZNWcGI3MO/Oqsl7UNynuqHxLQ4x318YLbObD7zA=; h=Subject:From:To:Date:In-Reply-To:References; b=JLVeY3WOPqETBVBCNdWJmt+VJME2OKHemYWkL2zqpmUeib5sVjEwS5MiOSD6NoN9T l+YmO/cPkIWwjDzxgg3wgqFtXUD0sZi21Q6+9Yi8NPrLtGjMTI4CLADU0v/o3qHy6a F22hZ/bgiE3zYguNK171XCzmROrVNgjKVK+wdYRTSROHkKV+4e2gGFGaIYByh3e3zo 44FTuDz5mGtABKuEDjEPtB1lwYgLgtOcZLrzauAgNilFOLN9ZAuk50gJnh6q6DPW96 Rf3tG85VZh+DjvPawCqSMBCTN/FJ4rSHaYtoAeAoBoJbru0YDL+lFCBEpawsDkgFbJ D4RJvtMU+SSKQ== 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=1623685642; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=r4nFZNWcGI3MO/Oqsl7UNynuqHxLQ4x318YLbObD7zA=; b=orJC0Nnyn4o6bEVM5Ot0cp8h4jlhHfSwthYYcQm0rDj5TiTmJAgKpBbvLbazXmqwl0Scp1 c2sz9gvQ/BliG4NnxkrWFDREESVOkgjT3wKQUuKrYamysjgqGesKkXlNEpFcmSpy8ukYxF lbRe4zxMvuapU1N92xw2aVQCUFwqAO1o7wQ5mD4PReo6XJW1en6FfKGdRes3Y5HLyBiph/ ckegNFN4kJ0qbmWTEuWEP9H34QYTGaM0E6M1GpXiNrbOZ5HB1IgCaK9kJaWqfzmCIW2ydX qeHGldjuM817WevnzEg/yqUElWSrt+9twTv13dhBr/mLFYO5+fn8P9rI1Nb9rA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623685642; a=rsa-sha256; cv=none; b=ja4aUbxKjRkmwAJUKlnfIsKIMfvn/lMDjX0X3MbzrCiTka640l8HvVRSt6BqzRm2sISi00 A/J8+LeUEmOSJG2fpml3sipFnJP2wZbBt/he6T2bfCXV9jHTDvY1Z749nkVpxHGDbDwI9r Dsz9bkHjKeUnf/DqBEcl4aKohA/DvycCm6YX+febI8uu1fqLV6W92bHA9AATIGI3hY9JbP LVGPCp7V7PqPOhfi8JI2FWyhVEgkVXCnbQ2iaUS/YQQfR4w1CFgIY0Psy5uX1UemB1OX/U +96Sg5HC4Y/V+CB03fQZdb0dDTiXjafTMNrMLMhn7agjPTeBRx9Liqo6HvWRpA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=JLVeY3WO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=JLVeY3WO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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: 756042FDC5 X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: Gagh1dGDTv9f --=-lSes7Ookdzmcs3uBiRIC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit "source" is not in %build-inputs when cross-compiling, so another approach for referring to the package source code is needed. * gnu/packages/admin.scm (net-base)[arguments]<#:builder>: Eliminate %build-inputs and %outputs. --- gnu/packages/admin.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --=-lSes7Ookdzmcs3uBiRIC Content-Disposition: attachment; filename="0005-net-base-Fix-cross-compilation-eliminating-build-inp.patch" Content-Transfer-Encoding: 7bit Content-Type: text/x-patch; name="0005-net-base-Fix-cross-compilation-eliminating-build-inp.patch"; charset="us-ascii" diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 5c7e41f51b..f499a1252b 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -941,10 +941,10 @@ to allow automatic login and starting any app.") (use-modules (guix build utils) (srfi srfi-26)) - (let* ((source (assoc-ref %build-inputs "source")) - (tar (assoc-ref %build-inputs "tar")) - (xz (assoc-ref %build-inputs "xz")) - (output (assoc-ref %outputs "out")) + (let* ((source #+(package-source this-package)) + (tar #+(this-package-native-input "tar")) + (xz #+(this-package-native-input "xz")) + (output #$output) (etc (string-append output "/etc"))) (setenv "PATH" (string-append xz "/bin")) (invoke (string-append tar "/bin/tar") "xvf" --=-lSes7Ookdzmcs3uBiRIC--