From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YG6KJNgI9WMcHwAAbAwnHQ (envelope-from ) for ; Tue, 21 Feb 2023 19:09:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2DaQJNgI9WOsMwEAauVa8A (envelope-from ) for ; Tue, 21 Feb 2023 19:09: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 5A0922DBF9 for ; Tue, 21 Feb 2023 19:09:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUX4b-0003wv-3f; Tue, 21 Feb 2023 13:09: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 1pUX4Z-0003wS-E2 for bug-guix@gnu.org; Tue, 21 Feb 2023 13:09: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 1pUX4Z-0000Ip-65 for bug-guix@gnu.org; Tue, 21 Feb 2023 13:09:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUX4Y-00017l-JE for bug-guix@gnu.org; Tue, 21 Feb 2023 13:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61684: can't compose 'with-patch' with 'with-source' Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 21 Feb 2023 18:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61684 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 61684@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.16770029314301 (code B ref -1); Tue, 21 Feb 2023 18:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2023 18:08:51 +0000 Received: from localhost ([127.0.0.1]:57217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUX4N-00017I-DT for submit@debbugs.gnu.org; Tue, 21 Feb 2023 13:08:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:58198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUX4I-000177-Ls for submit@debbugs.gnu.org; Tue, 21 Feb 2023 13:08:50 -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 1pUX4I-0003kL-GF for bug-guix@gnu.org; Tue, 21 Feb 2023 13:08:46 -0500 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUX4H-0000Bm-3h for bug-guix@gnu.org; Tue, 21 Feb 2023 13:08:46 -0500 Received: by mail-qt1-x82a.google.com with SMTP id fp16so5158995qtb.10 for ; Tue, 21 Feb 2023 10:08:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=A6JVPx31d8S4JrHnG4wzpWlORQkG4Mj8sGX/eE7wRgg=; b=FV3bKvCIWivj1JXZ98sjjBzag9/y6In64S9A7JCAaiTQok6OAct5nborcmwHykGE6z N91+FEVEwWSMbQTRktH460oM8bvJHyDXEubdBVym1J7Jmm2UcQBDDC2L501PREUpKzeU 2gTCgTsMNXJLPKTB7uSUKKx888Fsrcfa8yEDF60/lxeWuTzZ/Ar4sljh/iBT9jCT7a8n KXr7OE12Qd1n0V5Yc0Osy5CGfHPgNImKDUiIqn4h7erM/UCHliw7ieI0SNcsgQ3PbUw8 MGOCqIo0thZJbYQhPqTEK+o13/Z3XAae6FwpRXJwb8nRD4Nm0qykoMnJG5CPeE+hdovC K2iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=A6JVPx31d8S4JrHnG4wzpWlORQkG4Mj8sGX/eE7wRgg=; b=r2/3etADg79UcEx4THvMfMdmvy3335XlKl7B/CEQ5pNx2R2TkBoNaNlBIZelY3n03w XcmA+Qvhuseczw4HFfVc4j4QdvtyNz052ZqhNU5JWHOwli5wgzGDlfIr9OC76Viak3e7 RRFR0V/0T2YUUVVLQcrMWg+iuVMkY1Jk402aLOdqhTTKCu0RyOQOlLIhGOSMy57hDih/ nMeDxCU5FgSk0S4ruFv0w812FQpdkxDWxgmSAHCY7T6FqntYCOp4oKCV02gjV8iqHunM B2MgpuQVcOO5EwwH04r4kRQ33Z56brUdeP8TyG1sZZsvX8F1zbmEei2tVCwIhxvqA3pg ntDA== X-Gm-Message-State: AO0yUKUBmZ4sMgnQjVzE1gm6JTj9e9pYf3iofzDmzp9Q7Oojl9AqB24s zxmExBy0X022bqI6m4uLSsjh5l9XwzcInw== X-Google-Smtp-Source: AK7set8VCnqNSSua/Ongj3UfoI2VyhZxZn7VSqiJrN9odQQtsZM6+zKhaxA+g6yYhdmSZDi/MhNZqw== X-Received: by 2002:ac8:7d0f:0:b0:3ab:2a7f:83e4 with SMTP id g15-20020ac87d0f000000b003ab2a7f83e4mr25514328qtb.35.1677002923909; Tue, 21 Feb 2023 10:08:43 -0800 (PST) Received: from hurd ([2607:fad8:4:3::1002]) by smtp.gmail.com with ESMTPSA id r18-20020ac83b52000000b003bd119dd615sm573756qtf.97.2023.02.21.10.08.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 10:08:42 -0800 (PST) From: Maxim Cournoyer Date: Tue, 21 Feb 2023 13:08:41 -0500 Message-ID: <87mt56gac6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82a; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FV3bKvCI; 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=1677002968; a=rsa-sha256; cv=none; b=O7YsKPdp4GEV+U9uqb0zi5ZsmUGh+WEMyUyVYUuHHhVlo56MZf1AsnVHGFtRmkE/A9bBVo k2Tm2FcsVwL1DZrtnSLAYRU1BizCw4f1nwg6Sf/0keOwR35l3ckA/Ia8TqjMb5rgGHZSp8 j8FaXZ1hQmaoO4FulrmYOxOTwLXst5M6xdNdejXRqfs0qNhW/JktL6+yWhYxoL2HnEzLA9 pUlAFZqmlVqJbp9K2jOnCr6QKv5Z6VbrYVhpoHf9Esj+ONID3LpJIh0XpBkL38tyOYOgzU AUBfvF5XX/uzxvMs8vpSf/912oDga9Vm94cjqeOyHy7sk7X8i9Qdn3+LVCOtsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677002968; 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:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=A6JVPx31d8S4JrHnG4wzpWlORQkG4Mj8sGX/eE7wRgg=; b=dSJj6MznzDesDpRp8lKKMIGOtEuEKCrtCQHmw+nmg7nXJpeq4cIflIhyU3HOu7/MIPRhMI TFCvUFP0ccJhDkM3XeFh980FRKwWpXCJqXqxNT0Dlom3fttBAXbW1mkIUEWrR4nRleb4XY nyBDtCNk5gP0PU+c8idCuVsDNuuUz+S6jmu7PeTy5LCLPF1QMnNwHpNhLZ3xreovGZgG8n wyPvJvWZ8YZBxOM6bKE8AjWKA8Dim84596qh7o2eeojCDCeQanq4F09Xortb9M34+FyVHc p12eads97CPKUJOHsUhmhz/3FNPOmeb2pW7W4wT5Me9y5tWMh+Y4aX0utu74ZQ== X-Migadu-Queue-Id: 5A0922DBF9 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FV3bKvCI; 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) X-Migadu-Spam-Score: -3.00 X-Migadu-Scanner: scn1.migadu.com X-Spam-Score: -3.00 X-TUID: HHa47gxNcG8v Hi, Given 'with-source' discards any patch from the original source, I thought I could at least add them back via 'with-patch', but it appears this does not work: --8<---------------cut here---------------start------------->8--- scheme@(gnu packages jami)> (options->transformation `((with-source . "libjami@20230220.0=/home/maxim/src/jami/jami-20230220.0.tar.gz") (with-patch . ,(string-append "libjami=" (search-patch "jami-disable-integration-tests.patch"))))) $6 = # scheme@(gnu packages jami)> ($6 libjami) $7 = # scheme@(gnu packages jami)> (package-source $7) $8 = #< uri: "/home/maxim/src/jami/jami-20230220.0.tar.gz" recursive?: #t> scheme@(gnu packages jami)> --8<---------------cut here---------------end--------------->8--- The downloaded-file resulting package source has lost the patch, and no error got produced, leaving the user to discover this limitation by themselves. -- Thanks, Maxim