From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 4NFHAXCp+GM26gAAbAwnHQ (envelope-from ) for ; Fri, 24 Feb 2023 13:11:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WCAOAXCp+GM+igAAauVa8A (envelope-from ) for ; Fri, 24 Feb 2023 13:11:28 +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 CE1D72926E for ; Fri, 24 Feb 2023 13:11:27 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=U5GPbIAx; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677240687; a=rsa-sha256; cv=none; b=O4UwrRN0ikJKuTkreb0457GPGRpdHpFwHWrnib/Ox06VCLy+cH8vrbz2TQ487Fq5np9d2k CdJ5oHSyiAgUQ4Lq7dCuJRQ6EIuJzo8wgGRh72afhMDE5JoN09X0/7bjLG1nhnqy/P+fyS R1Fn9YHollWsU3XdXr9VDAl13moK7vzC13c9wZ/TdvuEDJ/RW2QlHNWNQnDJMNQG82DZ++ YqFr1B6hfk/uxhLR+Tz/OWD0yypifL2dPaMsSbR40pz2IsqvcTRpSJJ3yLAMaBPSU+bu10 Lj8vY6sb/JXzkQglG4f6pifjrZAsUauSV+YdBhON1fCDTm2xMgv8vuwIzcRrUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=U5GPbIAx; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677240687; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=mi9oO2zAEhNb8lEo+AgoZDlZPaZXVzOL1MUzFWlXB18=; b=sbinNTgY2vOInAGwBXo0lEYiTsYOz9NIIcXzQAPvCi63q1GAaQzK63JhpWQuAMyoVOS8py RAOjOoY9dejZPivoWY2fYj5bYYIcWlXT8rwiSdR/2Z0EY6Kd2yYDG+LukeIHsrVlanvTkm faAzsD8HISqg431qAykaDaqH2xoB+tOxR5+cZ+93thGJrGLfb5MMb+p7mjleIYtT78PJMa oAek31FAoUsBU8+BMzqWbiq7STHo/ejbSIcLUgzuRXnJ5P1ROOXJFx6AVssRP73U1hTGPy SNZWu2yUrXiR7jyigceEdJoejKfQntsHgFqercvJeZSjNfyshgPO2iqLCqiGAw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVWum-00087k-Bl; Fri, 24 Feb 2023 07:11:04 -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 1pVWuk-00087W-DB for bug-guix@gnu.org; Fri, 24 Feb 2023 07:11:02 -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 1pVWuk-0003tq-3X for bug-guix@gnu.org; Fri, 24 Feb 2023 07:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVWuj-0007Te-Sb for bug-guix@gnu.org; Fri, 24 Feb 2023 07:11:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61684: can't compose 'with-patch' with 'with-source' Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 24 Feb 2023 12:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61684 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 61684@debbugs.gnu.org Received: via spool by 61684-submit@debbugs.gnu.org id=B61684.167724060728671 (code B ref 61684); Fri, 24 Feb 2023 12:11:01 +0000 Received: (at 61684) by debbugs.gnu.org; 24 Feb 2023 12:10:07 +0000 Received: from localhost ([127.0.0.1]:36192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVWtr-0007SN-EA for submit@debbugs.gnu.org; Fri, 24 Feb 2023 07:10:07 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:52786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVWtl-0007RI-IG for 61684@debbugs.gnu.org; Fri, 24 Feb 2023 07:10:02 -0500 Received: by mail-wm1-f53.google.com with SMTP id j3so9293695wms.2 for <61684@debbugs.gnu.org>; Fri, 24 Feb 2023 04:10:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677240596; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=mi9oO2zAEhNb8lEo+AgoZDlZPaZXVzOL1MUzFWlXB18=; b=U5GPbIAxTB8m+dt/4VQTU43b2YyzCIjpX8D6uc0f4zYh29KRSpp+Pwwa30GzzfMAnH mI2aoBnatFzth33TpMUuqWKOVj5O1JAd26Ltf69ZTSRtPs1G+OGQ6wbjc4xamnOgOims Jq76ii+DABil8zUT10evAR2OktPSDgeE796c5yKrhh6RbERh0cGzGiNwvnqiXdUfEM1W z8Qc0dzquD7JRZ9IbZf3LpSLArtqLkjs0naZKzuMGNA6lMM192zKDhA+FjwAJtQbt9nz +ty09rJbz5+7iAvLD/luTR6KnJz5CR2apSyIgLV89HYtsm4vM8hfH/nXAStS0etTRew/ l8pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677240596; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mi9oO2zAEhNb8lEo+AgoZDlZPaZXVzOL1MUzFWlXB18=; b=ww/2WQAg4ThUrE+a6kFz1dYkT0XnYaVkFvBSJ+L3eVKvVNcK5eQ83HDcK0cbyzQkFt u6V49BwzGCXza5jTfIxqCSvzg7kGcRQVWBuhHTycGmBc9Y3yRclu8BJ//41JpoWrhpk1 UEqpWp2m24kZcIBnEFUPHrAI/7eFieyLj6QYoyV0CJ7k2MvlMINdoO0KoE5YinZVlMQO jUpiM2oX9BefUhx1vsKJGuM3Zx5PTNKoJoA+ZHwKbLgXqQ9YdGxYjVPGdD3DR6Q2ktXW CYN83jpf0BpoG3l9Tj84sruParA5zmJqNN6ydEs4+fDlLIjCAkyItoPzGUSH6IJqfN+P +1Nw== X-Gm-Message-State: AO0yUKVBMzDTi52ZWFF+u5Mxj1f5yWsyPVMB9j2RfsYfKEGbAWQsnSYj ojLJOFFcfpzFNxzQcUNba++VGtYjoG0= X-Google-Smtp-Source: AK7set+FAuDxFUne0uOZBVLmFMBawHLv815tLkhUoC7S+x6cEHyU3nPQgsoiTGYxHkTqXOmHg/gssA== X-Received: by 2002:a7b:ce89:0:b0:3e1:bfc:f57b with SMTP id q9-20020a7bce89000000b003e10bfcf57bmr11830954wmj.2.1677240595802; Fri, 24 Feb 2023 04:09:55 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id y22-20020a1c4b16000000b003db01178b62sm2523555wma.40.2023.02.24.04.09.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 04:09:55 -0800 (PST) From: Simon Tournier In-Reply-To: <87356whvaa.fsf@gmail.com> References: <87mt56gac6.fsf@gmail.com> <871qmg79u7.fsf@gnu.org> <87356whvaa.fsf@gmail.com> Date: Fri, 24 Feb 2023 13:02:00 +0100 Message-ID: <875ybrmfuv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: X-Migadu-Queue-Id: CE1D72926E X-Spam-Score: -2.58 X-Migadu-Spam-Score: -2.58 X-Migadu-Scanner: scn0.migadu.com 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 X-TUID: qVVM6qVib50n Hi, On jeu., 23 f=C3=A9vr. 2023 at 17:27, Maxim Cournoyer wrote: > Hm. That seems sub-optimal; it seems to me that ideally, the > transformations would be additive, so that users would not need to care > about the ordering. Or perhaps, alternatively, we could enforce such > ordering at the implementation level (sorting the transformations in the > order that is required). >From my point of view (and what I tried stopping in the middle :-)) is to report if the transformation makes sense or not. For instance, with-patch with-source makes sense contrary to with-source with-patch and it would already be an improvement to report that the latter transformation does not make sense instead of silently does nothing or raises some weird errors. Well, I am not convinced that enforce the ordering is a good thing because as Ludo said, some HPC user exploits this control of ordering to generate complex transformations. To me, the fix is: 1. document the ordering bits 2. check if the ordering =E2=80=9Cmakes sense=E2=80=9C and raises if not. Cheers, simon