From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 OOLqNr1K9WOMBgAAbAwnHQ (envelope-from ) for ; Tue, 21 Feb 2023 23:50:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +FNBNr1K9WPBegAAG6o9tA (envelope-from ) for ; Tue, 21 Feb 2023 23:50:37 +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 64F6DF4E3 for ; Tue, 21 Feb 2023 23:50:37 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=WzOoDPw+; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677019837; a=rsa-sha256; cv=none; b=suxlpDIae0iBtDefVEI7vl0udI9iDETbW4M878gt1AHUBoWjqqF6u3wWjL6QKWv4kPrpaX V91ZNYznRwpoy6+XeP3OvyWh1cQYIwrLqjHFFcTN3RMDSAm0pBNBy+JTPZr51SbWLfQl4O pSQmyAprIxdexIQFWwn6+uVg30qLQ+ZkJSnoDoz7waF25z9GCmvFMsOIdD0rUuAqnxq5/k nxO51w1iGpbVsMO2t0w7CVXOvAGpx+x4c7rW91nZ+n2qh1zr9mzGaBV5Lsfw8R2qioNHdS Y7o01aojM6VMRYVXvfJaozlHxOH4d+TdvrxtKX2tcf3DnOcdT4pVRhIRYSDVVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=WzOoDPw+; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677019837; 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=B8BpqfZ6WLH0HNDcxfazFG/GtK3Qw5Ldctx1VyvoiZo=; b=V34awHMDMJ/0bfX9FHotq8TVtZ73iNasAEDh0CULoRnAbjqYB8wR4aXnFBRT8EP49XncYk GAAbGJUQE0hyBcd2PJxDgoY8ls6zimEtpKjEgHxQzK1X3GxuGIwOAROmXHAtMWCzp4D3YA 4jN82J5CYE2FLGju3tdVNIojxvure6fwb32/J08nYmYAXfk9OKps0gM3kF65pSmves8K4r jircXXFWRYXwRByAZOHVLV9w5+Y+HXYPcW4+p4wF5Aklh6yp725PqTbDokdqp0GnHhpcOz fgOq+in1ubS0MgENDhEOcLyPjcJdq61gv3A2PS1PbM60dkyZj2xEPTcqggJwqg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUbSW-0006Dl-E8; Tue, 21 Feb 2023 17:50: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 1pUbSV-0006Db-53 for bug-guix@gnu.org; Tue, 21 Feb 2023 17:50: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 1pUbSU-0003TQ-NA for bug-guix@gnu.org; Tue, 21 Feb 2023 17:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUbSU-0008OC-F4 for bug-guix@gnu.org; Tue, 21 Feb 2023 17:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61676: package transformations not honored working from a manifest Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 21 Feb 2023 22:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61676 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 61676@debbugs.gnu.org Received: via spool by 61676-submit@debbugs.gnu.org id=B61676.167701978732222 (code B ref 61676); Tue, 21 Feb 2023 22:50:02 +0000 Received: (at 61676) by debbugs.gnu.org; 21 Feb 2023 22:49:47 +0000 Received: from localhost ([127.0.0.1]:57440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUbSE-0008Ne-T4 for submit@debbugs.gnu.org; Tue, 21 Feb 2023 17:49:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUbSC-0008NM-AO for 61676@debbugs.gnu.org; Tue, 21 Feb 2023 17:49:45 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUbS7-0003Mn-4v; Tue, 21 Feb 2023 17:49:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=B8BpqfZ6WLH0HNDcxfazFG/GtK3Qw5Ldctx1VyvoiZo=; b=WzOoDPw+lmJGRvJQvlio pNqxTyBrLw6U0Yc9NPPY+KoKx9Xf5sL3/gaL9snh2FjBAXCsdmvgyMK3yl2ejOFEfVx4FwtTajlB5 VO24Xmq7WHZkMiwNEvIqfygykLkAaULqQPNRqP9YNT8ZmCJwh2xEe4K60PR7zPtMji4QUuksOL91Z 3naU7ehdQKE/bD6h3Og09Aor76wlFtSFLb9bzEVZfrx++UXIeOQvwZzJKek/3N1X8mlESRqtSPWDW UUjSBPo3XlI062TdvrA1Rfc+3KcvLtKNCqVxroq7DPh6SEuBsRtDSJPa0Uamdciq+8MhSzf5BBVHu yVbhCEwkMK836Q==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUbS6-0003by-CJ; Tue, 21 Feb 2023 17:49:38 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87mt57jgns.fsf@gmail.com> Date: Tue, 21 Feb 2023 23:49:35 +0100 In-Reply-To: <87mt57jgns.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 21 Feb 2023 08:23:51 -0500") Message-ID: <87r0uid474.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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: 64F6DF4E3 X-Spam-Score: -4.66 X-Migadu-Spam-Score: -4.66 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: GdU8W/3xnaaV Hi, Maxim Cournoyer skribis: > I was trying to simplify the Jami packaging tooling using the latest > recursive '--with-source' transformation, like so (in a Makefile): > > define guix-pack-command > guix pack -C xz -f deb -f extras/packaging/gnu-linux/guix/guix-pack-manif= est.scm -v3 \ > --with-source=3Dlibjami@$(RELEASE_VERSION)=3D$(RELEASE_TARBALL_FILENAME= ) \ > --with-patch=3Dlibjami=3Dextras/packaging/gnu-linux/guix/patches/jami-d= isable-integration-tests.patch \ > --with-source=3Djami@$(RELEASE_VERSION)=3D$(RELEASE_TARBALL_FILENAME) \ > -S /usr/bin/jami=3Dbin/jami \ > -S /usr/share/applications/jami.desktop=3Dshare/applications/jami.deskt= op \ > -S /usr/share/icons/hicolor/scalable/apps/jami.svg=3Dshare/icons/hicolo= r/scalable/apps/jami.svg \ > -S /usr/share/icons/hicolor/48x48/apps/jami.png=3Dshare/icons/hicolor/4= 8x48/apps/jami.png \ > -S /usr/share/metainfo/jami.appdata.xml=3Dshare/metainfo/jami.appdata.x= ml \ > --postinst-file=3Dextras/packaging/gnu-linux/guix/guix-pack-deb.postinst > endef Interesting! :-) > But noticed that --with-source and --with-patch were not effective for > the jami-with-certs customized package provided by the > guix-pack-manifest.scm manifest. Indeed, that=E2=80=99s expected. > It seems to me that the rewriting options should be honored on any > packages being manipulated, whether they come from the Guix collection, > a file, a manifest or another means. I=E2=80=99m not convinced; I think manifests should be interpreted literall= y. Incidentally, changing that would likely break existing workflows=E2=80=A6 Ludo=E2=80=99.