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 4PhzAyKNzmOZNAEAbAwnHQ (envelope-from ) for ; Mon, 23 Jan 2023 14:35:30 +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 2P2pAiKNzmN9GwEAG6o9tA (envelope-from ) for ; Mon, 23 Jan 2023 14:35:30 +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 CCAC3F837 for ; Mon, 23 Jan 2023 14:35:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJwya-0005R2-HF; Mon, 23 Jan 2023 08:35:08 -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 1pJwyU-0005Pq-VS for bug-guix@gnu.org; Mon, 23 Jan 2023 08:35:04 -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 1pJwyU-0001ql-M1 for bug-guix@gnu.org; Mon, 23 Jan 2023 08:35:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pJwyU-0000to-HE for bug-guix@gnu.org; Mon, 23 Jan 2023 08:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#25235: [PATCH v3 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: Mon, 23 Jan 2023 13:35: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 , efraim@flashner.co.il, rekado@elephly.net, jgart , marius@gnu.org Received: via spool by 25235-submit@debbugs.gnu.org id=B25235.16744808843413 (code B ref 25235); Mon, 23 Jan 2023 13:35:02 +0000 Received: (at 25235) by debbugs.gnu.org; 23 Jan 2023 13:34:44 +0000 Received: from localhost ([127.0.0.1]:53670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJwyB-0000sz-MW for submit@debbugs.gnu.org; Mon, 23 Jan 2023 08:34:43 -0500 Received: from mail-qt1-f179.google.com ([209.85.160.179]:35684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJwyA-0000sm-DD for 25235@debbugs.gnu.org; Mon, 23 Jan 2023 08:34:42 -0500 Received: by mail-qt1-f179.google.com with SMTP id g16so7549152qtu.2 for <25235@debbugs.gnu.org>; Mon, 23 Jan 2023 05:34:42 -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=9ecGjvi5Ti8Ang3MFKRcyV++1827DbdzQF8mEuA2UTE=; b=RUwRAl+oTkvY/PEM5wfAao/Gm30/v3L9AtMIO3sn0pytJpMINynCMyrTb45JrzARWm Sh5wEFUfedoxVH/Scvz/X1XX1pNKa2OrHoFGIPsmHuG19tKblxJ8UunJSLdJTZxXGGId 0CP5v+fLHkP0IBeuTEpi646mJlhYT+Qmsz7jKr8qny0cb7FuON0YzLUrELMCwjnaXmiW buYXFsxO+0RnVKy8k9XadoBEUjzsx8fsddtDQ+Yii9ZbbgnCgRVHKf2y7G7zN43Mt8sr MOSWIj5NMXbsi63xg3AGVPJKqSsaxxSUqErh6rWQaa05apPmJ0Zm/WXYTk0McO41LFXk Pzmw== 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=9ecGjvi5Ti8Ang3MFKRcyV++1827DbdzQF8mEuA2UTE=; b=aNZzFcWc/16ZOp/IcOf53DY9PpVmGsrOLMwtnHqVAZPDQMcrCwmnjCbRWEAX71/EVz TEax2G1f+YfBYVJlrj9zT62gV07Q5NdGeLS+8FYSnyweShfWYLmHQQtQerdpdSicDQp3 +tnnmMeFcWqHC7rKaRllr4sEVDXfuZjoR2VlRqfwCTrHC+dfGCSYx6HgnlaKNvGAzX2x APWo6FPQtdkKTgHKnw4QddReJVTgR4KgIZDFnXWMpk73ywuRElzmrHwfTFUM6nkV0K+t ds005bW8/ZMm/GfeY5qMBhmlSmJF12HsDtObcyZeryV9H3QR/9itFAxmVBCFCR/u7NbU 4sqA== X-Gm-Message-State: AFqh2kpfTEvJIKwiROw6SHVkbp9oWfsCLxonfr9wCVGHKWgo44PCZBKL ZSN6MMb6p5VeXChLdZrCbsHJ0fxR630ko/zd X-Google-Smtp-Source: AMrXdXtv5OXcAQv7s3QkKoAfaT5cuIVBrCVgCn5aP3WEmUme9+gf7nrbAZIUrzqMF/wZaM0gLf+Uew== X-Received: by 2002:ac8:4813:0:b0:3b6:a0ef:bf2c with SMTP id g19-20020ac84813000000b003b6a0efbf2cmr14706104qtq.6.1674480876657; Mon, 23 Jan 2023 05:34:36 -0800 (PST) Received: from localhost.localdomain ([2607:fad8:4:3::1001]) by smtp.gmail.com with ESMTPSA id x15-20020a05620a448f00b006ea7f9d8644sm32165615qkp.96.2023.01.23.05.34.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 05:34:36 -0800 (PST) From: Maxim Cournoyer Date: Mon, 23 Jan 2023 08:34:32 -0500 Message-Id: <20230123133434.1852-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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674480929; 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=9ecGjvi5Ti8Ang3MFKRcyV++1827DbdzQF8mEuA2UTE=; b=gX9nXnKiS6ojSBc4Npx2M5cKpwRVZwyXlh1Ora8JdWS+2LTxT2IsIaHjr12xvWrCf0OoXM fAqpFmS+DHk05yOcLhjY+kji/z97OjPgJzfZm7useWT0yHQ9mV/c3SSTpxTloFW2aX37nY IaWLGxEDlY561jaKGAiQwKAWSA93zpUIq8yVFhmAXwAkjf5HdRsGGOTYN6EVbICqWI3tMi oKXRaorz2ipDTUquezyv3lXmE7aCVeml4z0QFZQHLHV41xwfkUs9jmlxK6K1vldNCfGNBl VHyCR5BmdEN5PYb9pfz3e1Fi66G8gQPYqI6gw6an1qmiTYbsfPL7IzyIrzLRnQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=RUwRAl+o; 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=1674480929; a=rsa-sha256; cv=none; b=cqpufeUJPJYx355QGNJUdtK19PmQdkp1R2WvmHGAb51WYz0CU+F+JP5bsJHvvE5NcvLt5s +A9ZJv+ykmZxXpm57O0l5h8pXZDLdcE9Qa+PbznYUeesqMWlMom1tFeW/GHmSJ965dxPKq i7OU7nBg6N7r8RnAkKh/ghl0/NbVJCxx0KkUf+WjF5VxmhHetqKt2Df8WXYkxZTCFehzka mPnT0hvs+EUL1KJFmhhM1enT+dZKUWe3kPPB26eLBwIhNo3VkAPemu0I+uxBIdVT9JmzqR EHUo2sLzTMs9W2gbHEZuy2ba+qq8oc1DrsZAb5cqKgjfYlEHx8kisJlZLxgVPQ== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=RUwRAl+o; 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-Migadu-Spam-Score: 0.02 X-Spam-Score: 0.02 X-Migadu-Queue-Id: CCAC3F837 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3Kthv9vb71rF 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 v3: - Rebase 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: 490e386e10ca2b7496c3da7ed85299ed3e9c2404 -- 2.39.1