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 oBR+GIYEyGM4DQAAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 15:39:02 +0100 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 0E2OF4YEyGPJeAAAG6o9tA (envelope-from ) for ; Wed, 18 Jan 2023 15:39:02 +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 aspmx1.migadu.com (Postfix) with ESMTPS id 1444C2BD17 for ; Wed, 18 Jan 2023 15:39:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pI8yz-0005xG-Hv; Wed, 18 Jan 2023 09:00:05 -0500 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 1pI8yx-0005wt-Qx for bug-guix@gnu.org; Wed, 18 Jan 2023 09:00:03 -0500 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 1pI8yx-0005Qi-FD for bug-guix@gnu.org; Wed, 18 Jan 2023 09:00:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pI8yw-0003eW-TG for bug-guix@gnu.org; Wed, 18 Jan 2023 09:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#25235: [PATCH v2 0/1] build-system/pyproject: Do not wrap native-inputs. References: <87eg13birp.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <87eg13birp.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 18 Jan 2023 14:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25235 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 25235@debbugs.gnu.org Cc: arunisaac@systemreboot.net, Maxim Cournoyer , ludo@gnu.org, Lars-Dominik Braun , jgart , marius@gnu.org Received: via spool by 25235-submit@debbugs.gnu.org id=B25235.167405037413972 (code B ref 25235); Wed, 18 Jan 2023 14:00:02 +0000 Received: (at 25235) by debbugs.gnu.org; 18 Jan 2023 13:59:34 +0000 Received: from localhost ([127.0.0.1]:39888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pI8yT-0003dI-L8 for submit@debbugs.gnu.org; Wed, 18 Jan 2023 08:59:33 -0500 Received: from mail-vs1-f51.google.com ([209.85.217.51]:43973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pI8yS-0003d5-8N for 25235@debbugs.gnu.org; Wed, 18 Jan 2023 08:59:32 -0500 Received: by mail-vs1-f51.google.com with SMTP id 187so5086432vsv.10 for <25235@debbugs.gnu.org>; Wed, 18 Jan 2023 05:59:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=vzOJDPhG5s46fPVzSU5KFEZSxbPZs/E76iTIN7fn7wQ=; b=Al8jk8BH/fvHQa2xlvqeAhbVcp81jC6/3yEATOaD/kAPpAjwZGXM95Pq25QLiahK9J S25tDgreRRv3D/r2+rYIvGuJhUafVirm5hiGGrwOrDOU1JmJXjFJ+aYmdi7zkgIZ481V JCBJFQ+C1CtNMOtmnvnpyl4Ti2yZyKzQP6WgSCAMGT/B8DsfTYabhY5ucZjy5mJYWK+2 rQWt2wfsEurM+hxzswXPq65Ylu5jZECfnIt4zEY+4t+r0f3lv9EJxX/SXvR8yHCZnZMP of2oz5z5acYXE5vCi+KhgogOkSDjHVZYehnLZUPpjVF8C+FxqpMS8Ls+o7clgCp4DxLW kSUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vzOJDPhG5s46fPVzSU5KFEZSxbPZs/E76iTIN7fn7wQ=; b=BvYxozfPPfcMLm4wdIHUviW11O1EpTZVeVESW8Vx87lvL1xKj6MuKr9U2lV3pR5iBz dUMYFOb9sn1/T8HI8t8PGLirdYQogHG8tzNpysrNnXB5k2dBzON52gGeHx7pPtfAPGDp L52ef7kkYlZ7puXshnZx8ze5Z7QOtaxLxVqJFmIQHehg0Rxl8D8WCNVZ4exIKoVs3xgV vTzSGKD8VHjLfpzJi0d0+L0MLW7G+/0gBBvXEXEAgMSwnDdBif3KhKUnfZrzEN81PPBZ fH/Yi4HhLi69jL81SSnnX84QvqNAbWa9G6I8EFo1Njh9HMnvQ5EcMnlyLPtq7ea1hiAd r1BA== X-Gm-Message-State: AFqh2kpvYMr2gg5Q3zjeNdUpdYVNTN1MFkQeuajzyaHNx8kb1FRcDXi9 0L/sw7sjSCOAIfiIPGiYdT7rKfQKQ80lrp/3 X-Google-Smtp-Source: AMrXdXuwiAxYfYjdvUUuhKb5REVCMsErhYYA2Tof8TZ9XsC4ZLRhJSOONKM4NGzbvXKHyAoBXuE55A== X-Received: by 2002:a05:6102:548a:b0:3d0:a67d:d43b with SMTP id bk10-20020a056102548a00b003d0a67dd43bmr4903286vsb.16.1674050366100; Wed, 18 Jan 2023 05:59:26 -0800 (PST) Received: from localhost.localdomain (dsl-205-233-125-107.b2b2c.ca. [205.233.125.107]) by smtp.gmail.com with ESMTPSA id r18-20020a05620a299200b006cebda00630sm22399334qkp.60.2023.01.18.05.59.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 05:59:25 -0800 (PST) From: Maxim Cournoyer Date: Wed, 18 Jan 2023 08:59:06 -0500 Message-Id: <20230118135908.13162-1-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674052742; 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=vzOJDPhG5s46fPVzSU5KFEZSxbPZs/E76iTIN7fn7wQ=; b=tOOOJQ1zMzIIPG6gP5HqFzk6O+5Rk3DjJUE5HX5jrrf0tpcP1bwYDcHydQ2Uq5RwWw42yQ 81snDgJHOdZyJTF8f9WaLURnDw9i/j16Wgwx2B1/KzcMmPEhE/QfzvsXLRLaJ7qTWvgyZQ j8czb1E3CuOAtmVtxHn49V+tmcOkDQwGIvXXQO5e8VJV939mmuO27cATgJGNXcMvYJYTKl Exn/m9PmEz1kqj0rCCIeLeyvj9K61E1z8S11NwdkXWHZqWuDNn7ZdwTR+/8k7oLCRUlvBO GH5fEXDb35yr+zrVtoP/UcICNCQaNb2VLF7oXbIB9ERNdTrvdvNNRy1H3/a5Mg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Al8jk8BH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674052742; a=rsa-sha256; cv=none; b=tRv7OGxIye3DSUYS3l/0vUXctn+L/1mvEWu9irVFFeZAl+UTe5PWEdajtawxl7Uu7e7tC9 lGfSgqeVxN0vkKSiakdrGvfvb5iYLQeJJFi2Ffec3H7prvhZP+eu/ZLnyuSxw4hiKVGpAd ugxJpEeu6Wgw4GVL4Tcr/qicyd/h+s63Tf/YvSSd3fVMrq0rjD03hEdI/Cw+MZsMShYmeR W9takN5Lk6uewOa3HyT7ASdpg2fBsH3dZfqcC1TwyFnd8aDAn4bLt7TZTnKCW50DD34xSX kYBv4InIm+biIH+8fF8WOvBh0AVt1uEzRzafqrh3DeZ0ux4DcX+jf3IXUTJeig== X-Migadu-Spam: Yes X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 9.37 X-Spam-Score: 9.37 X-Migadu-Queue-Id: 1444C2BD17 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Al8jk8BH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-TUID: 0g3Pu4PozR5i This fixes a longstanding issue. The fix is made trivial by the changes made in #60847 adding cross-compilation support for the pyproject build system. Additionally, it's based on #60868, which touches the wrap phase to use wrap-script instead of wrap-program. Changes in v2: - Add missing copyright line - Rework wrap phase to avoid removing inputs found in both native-inputs and inputs - Enclose wrap computations in an 'unless' form and streamline Maxim Cournoyer (1): build-system/pyproject: Do not wrap native-inputs. guix/build/pyproject-build-system.scm | 39 ++++++++++++++++----------- 1 file changed, 24 insertions(+), 15 deletions(-) base-commit: 9da36aa1e207ff8a8fb2af8bc9442f9c935dc8db -- 2.39.1