From unknown Sun Aug 10 00:25:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61676: package transformations not honored working from a manifest Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 21 Feb 2023 13:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61676 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 61676@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.167698583816037 (code B ref -1); Tue, 21 Feb 2023 13:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2023 13:23:58 +0000 Received: from localhost ([127.0.0.1]:54962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUScf-0004Ab-MK for submit@debbugs.gnu.org; Tue, 21 Feb 2023 08:23:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:60368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUSce-0004AT-CW for submit@debbugs.gnu.org; Tue, 21 Feb 2023 08:23:57 -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 1pUSce-00085l-3d for bug-guix@gnu.org; Tue, 21 Feb 2023 08:23:56 -0500 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUScc-0006Ic-JN for bug-guix@gnu.org; Tue, 21 Feb 2023 08:23:55 -0500 Received: by mail-qt1-x82d.google.com with SMTP id ay9so4041622qtb.9 for ; Tue, 21 Feb 2023 05:23:54 -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=MArQvz+HbzTm/uvrWq8iFoNfnusb0J1qNRKfelu/Omw=; b=NVe6Vmr65grGT8TYdZ0AaOMX5sIfBLGVJGOGwFZgTsrnmXhXeC9LqoddyarSwE//VV x84w/iWD9kM7fhAvgQ+h2pHPUiOXy4AA5IItKdHjma3MTf06tnVV0lKI+icLnF/ObYQN jaRlvKUNWiVSuq60fHpUHmDyTD5PxfB5Et6WOcBE16mz2hGvTTVL9a2cB2zU4t8JUIfE lMWpZ3h/7ydFX7bDOsaYCTmP47kfQxBtQhhpqyZwUUsq8qCmlyqYUFsy+ZWfc/GVfviE IznBTMBRHoJYhotXZJ0GjVx0YLtNYvkEZkEbWXeUIg6+3ORuf50KkGUtUGEjuakeKZGl h4+w== 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=MArQvz+HbzTm/uvrWq8iFoNfnusb0J1qNRKfelu/Omw=; b=O2Mq0NoYlgF+wpl89LipAS0mIKEcC83Zqk8ElOKsTqNlfJMd5RjSCD4rGEEqJlsdPU ChmdfoE6X+odClcKSsImANNchtwZv+c/enfcaveLjcOAktvy2bKhl0hzxn3c9pXxqoUJ vYS7HvD1tj+TkeaDiTpUT0/LAxDzjq1PvZVdq5XZHZwwIOHx+slN0ebvT/3XlZb+0qA8 bGETL7mwKEw0ZzSYAatywPswssve/brqgt8F+iC+PEOuouMzjwcwZRwyiAnEWiolcuRt 1NjkhbfcHjMNG60mUWYIXHYe/IOchgJS3Z6h9Uy2IfsWZ8sm22DDX+eJL4IuZeKuM6pQ /bCw== X-Gm-Message-State: AO0yUKWC4JlMDIgS/BSb9q7vDnCKW73L5ZMllwD8JP0fFR7G6CzWJysc zYTlGo2lSexCCliptZ8XRPiFHth88sHrW9Fs X-Google-Smtp-Source: AK7set9740pRpqm4s3TvfXPZY/lS9hjNQSO/c8M8ruFwUcObbdhBrf0yvfBqYcy1U5mqo6ttczYWTw== X-Received: by 2002:a05:622a:1b86:b0:3bc:fa90:e8bb with SMTP id bp6-20020a05622a1b8600b003bcfa90e8bbmr6877040qtb.30.1676985833226; Tue, 21 Feb 2023 05:23:53 -0800 (PST) Received: from hurd ([2607:fad8:4:3::1002]) by smtp.gmail.com with ESMTPSA id jr45-20020a05622a802d00b003b82cb8748dsm1703809qtb.96.2023.02.21.05.23.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 05:23:52 -0800 (PST) From: Maxim Cournoyer Date: Tue, 21 Feb 2023 08:23:51 -0500 Message-ID: <87mt57jgns.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82d; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82d.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-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Guix, I was trying to simplify the Jami packaging tooling using the latest recursive '--with-source' transformation, like so (in a Makefile): --8<---------------cut here---------------start------------->8--- define guix-pack-command guix pack -C xz -f deb -f extras/packaging/gnu-linux/guix/guix-pack-manifest.scm -v3 \ --with-source=libjami@$(RELEASE_VERSION)=$(RELEASE_TARBALL_FILENAME) \ --with-patch=libjami=extras/packaging/gnu-linux/guix/patches/jami-disable-integration-tests.patch \ --with-source=jami@$(RELEASE_VERSION)=$(RELEASE_TARBALL_FILENAME) \ -S /usr/bin/jami=bin/jami \ -S /usr/share/applications/jami.desktop=share/applications/jami.desktop \ -S /usr/share/icons/hicolor/scalable/apps/jami.svg=share/icons/hicolor/scalable/apps/jami.svg \ -S /usr/share/icons/hicolor/48x48/apps/jami.png=share/icons/hicolor/48x48/apps/jami.png \ -S /usr/share/metainfo/jami.appdata.xml=share/metainfo/jami.appdata.xml \ --postinst-file=extras/packaging/gnu-linux/guix/guix-pack-deb.postinst endef --8<---------------cut here---------------end--------------->8--- 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. 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. -- Thanks, Maxim From unknown Sun Aug 10 00:25:26 2025 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-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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. From unknown Sun Aug 10 00:25:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61676: package transformations not honored working from a manifest Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 22 Feb 2023 01:22:01 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 61676@debbugs.gnu.org Received: via spool by 61676-submit@debbugs.gnu.org id=B61676.167702886915067 (code B ref 61676); Wed, 22 Feb 2023 01:22:01 +0000 Received: (at 61676) by debbugs.gnu.org; 22 Feb 2023 01:21:09 +0000 Received: from localhost ([127.0.0.1]:57578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUdoj-0003ux-7B for submit@debbugs.gnu.org; Tue, 21 Feb 2023 20:21:09 -0500 Received: from mail-qt1-f181.google.com ([209.85.160.181]:40560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUdoe-0003u4-1r for 61676@debbugs.gnu.org; Tue, 21 Feb 2023 20:21:07 -0500 Received: by mail-qt1-f181.google.com with SMTP id h19so3733479qtk.7 for <61676@debbugs.gnu.org>; Tue, 21 Feb 2023 17:21:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=pbvO7ZYR/L4EBJSAyQQ+CEMrIB/EqOoc8vWd9drVcLM=; b=KSvm5IKzPHfYaaXhfD1kA/j7Z2I0uu9uCdL+bqvT+VPl2uUXGM5Bd6DBwxReoouBwg h3nHHG/f/3E24gj6w/8UZ7DsSjnGfuCrpvznS6xDqoeeFjDFF+i4mPEa3ZuapkZGmf6f HTYvbkQr+Lz53XPWWvnCIZBR4PEXHT0bkN/LAuKAzsFak1h7/FnguRmG2Ks3HlsrWp1I NM1wyTkinK+rgm9T+jTJyvbzhukDzBgwG5YJkcISmttfdBEol0dgPgqN6prEkzu7MIX3 6CGhafKqZIVZKwPga91sAH3PphHzyIfTtASfkGfUxZcZXad0bh8PeX+4JndiZRgLZzHL 5pqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=pbvO7ZYR/L4EBJSAyQQ+CEMrIB/EqOoc8vWd9drVcLM=; b=fPvXUs3EnvO3Jkc+wiuP1UrFjN8piIMkg53ix3Ay4U074E7k/1zUwJFQmFK0Wjo14S R7KaykEo3LQCwuuXgzWZNfHah44VC6UyeJuDeJV6C+EYhRj0Qy/EihFuRlBWZeZdMro+ LngrRGdcFWpKUgXSx24NRJwu/JHzrbysReP+PZEt4KIi1rprMqihHGuUTdUTMF0q4OMz 0VyN9jXVZFjCHbtj6UXkkOW4IcAV9D4g7BuxBj+ANQlRjBsBrNaFaGBVwEeDBRDpDJqY Wr4TGjlhZK5CwDjR1tNbcAM434kdXFEfuwnz6kWuEScWnkX/S0neaPoesXzLOsR7/8Eg I5Ww== X-Gm-Message-State: AO0yUKVePd2LwDxsotYAuT4h7m6nBNlIA+gO7IfrHf3QMIR/wF53jtu8 /ma1zyVkaXGQyuoUFx1CQ90ywHW0veHc/g== X-Google-Smtp-Source: AK7set8/ilIYcQOR2ucBCaW1GagbNgKrFCYJFa46ZFK93Bq5SnIVfEBfYTD2wtqVFzax65HjC/8+Zg== X-Received: by 2002:a05:622a:18a2:b0:3b8:2033:78e3 with SMTP id v34-20020a05622a18a200b003b8203378e3mr27352411qtc.55.1677028858183; Tue, 21 Feb 2023 17:20:58 -0800 (PST) Received: from hurd ([2607:fad8:4:3::1002]) by smtp.gmail.com with ESMTPSA id d17-20020ac800d1000000b003bd0719cf20sm910802qtg.39.2023.02.21.17.20.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 17:20:57 -0800 (PST) From: Maxim Cournoyer References: <87mt57jgns.fsf@gmail.com> <87r0uid474.fsf@gnu.org> Date: Tue, 21 Feb 2023 20:20:56 -0500 In-Reply-To: <87r0uid474.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 21 Feb 2023 23:49:35 +0100") Message-ID: <87v8juebrb.fsf@gmail.com> 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-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo! Ludovic Court=C3=A8s writes: [...] >> 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 litera= lly. Perhaps I do not have the full picture in my head, but if someone calls 'guix pack -m my-manifest.scm --with-source=3Dsome-package=3Dthe-source.tar.gz', it'd seem the --with-source option pretty useless in this case if it doesn't touch the manifest's packages graph. It'd rather it error out with a message like: "package rewriting options have no effects for manifests", although I'd rather it was possible. Is there another alternative for the use case I'm after? The only other option available seems to be to extend the GUIX_PACKAGE_PATH with a module and to use -e '(@@ (my module) jami-with-certs)'; would the jami-with-certs graph get rewritten then? I also got bit by #61684, which muddied the waters some more :-) --=20 Thanks, Maxim From unknown Sun Aug 10 00:25:26 2025 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: Wed, 22 Feb 2023 09:25:01 +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.167705785330559 (code B ref 61676); Wed, 22 Feb 2023 09:25:01 +0000 Received: (at 61676) by debbugs.gnu.org; 22 Feb 2023 09:24:13 +0000 Received: from localhost ([127.0.0.1]:57973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUlMA-0007wk-9E for submit@debbugs.gnu.org; Wed, 22 Feb 2023 04:24:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUlM5-0007wC-1l for 61676@debbugs.gnu.org; Wed, 22 Feb 2023 04:24:08 -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 1pUlLz-00011L-Ll; Wed, 22 Feb 2023 04:23:59 -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=cN7h3xdK2uU2HK8JF44JSGR7zMTok++fIgISQ2or/Ek=; b=Y6VfCTBsUXcmcqYvpOle /D9Hi9jQB0e4igcEaubB3AEKLdn0fygAX0cLv+/2eezGezC1S36grj28lqh7KOuKRIdsSgAYRGpS4 xZ9PAZQGTqBtbbxpiKcFN93M7F3ypeW+Cv08C7V7q6WQbRo7lnx6sRDW7PfHup2N+LFN76E/9Q8RD JEHMFGmdBhSQYuZuOKmeT5cn2j22kNT2X3khQXf1gkAEFpQ+jcQojSGjfSd0RXI+cyclxeulSdJZF UD+estNXurNNksoZJzyV3O6s45QGyHGinXNmi5vN6h/4D6MLwyiuHGgwQcfYT70TPaKQwKt5s2es9 LKlw4JO9MEjxOw==; 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 1pUlLz-0007OK-5j; Wed, 22 Feb 2023 04:23:59 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87mt57jgns.fsf@gmail.com> <87r0uid474.fsf@gnu.org> <87v8juebrb.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 4 =?UTF-8?Q?Vent=C3=B4se?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du =?UTF-8?Q?Tro=C3=A8ne?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 22 Feb 2023 10:23:55 +0100 In-Reply-To: <87v8juebrb.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 21 Feb 2023 20:20:56 -0500") Message-ID: <87edqi9hp0.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-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Maxim Cournoyer skribis: > Ludovic Court=C3=A8s writes: > > [...] > >>> 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 liter= ally. > > Perhaps I do not have the full picture in my head, but if someone calls > 'guix pack -m my-manifest.scm > --with-source=3Dsome-package=3Dthe-source.tar.gz', it'd seem the > --with-source option pretty useless in this case if it doesn't touch the > manifest's packages graph. It'd rather it error out with a message > like: "package rewriting options have no effects for manifests", > although I'd rather it was possible. > > Is there another alternative for the use case I'm after? The only other > option available seems to be to extend the GUIX_PACKAGE_PATH with a > module and to use -e '(@@ (my module) jami-with-certs)'; would the > jami-with-certs graph get rewritten then? How about using transformations right into your manifest? Would that work for you? There=E2=80=99s a one-to-one mapping from command-line options to =E2=80=98options->transformation=E2=80=99 (info "(guix) Defining Package Va= riants"). Ludo=E2=80=99. From unknown Sun Aug 10 00:25:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61676: package transformations not honored working from a manifest Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 22 Feb 2023 17:53: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer Cc: 61676@debbugs.gnu.org Received: via spool by 61676-submit@debbugs.gnu.org id=B61676.16770883486337 (code B ref 61676); Wed, 22 Feb 2023 17:53:02 +0000 Received: (at 61676) by debbugs.gnu.org; 22 Feb 2023 17:52:28 +0000 Received: from localhost ([127.0.0.1]:60283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUtI4-0001e9-2A for submit@debbugs.gnu.org; Wed, 22 Feb 2023 12:52:28 -0500 Received: from mail-wr1-f50.google.com ([209.85.221.50]:36369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUtI0-0001ds-Ok for 61676@debbugs.gnu.org; Wed, 22 Feb 2023 12:52:26 -0500 Received: by mail-wr1-f50.google.com with SMTP id l25so8231786wrb.3 for <61676@debbugs.gnu.org>; Wed, 22 Feb 2023 09:52:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677088339; 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=H9c40A5X+/mgH4hzQl369A566nepBnilry3RJkpjnlo=; b=N1p3WIjB5kkNJT5yll8UCt80V3BuaTcYgBEr6S4aCRvQwNNCTIUhpki6JxivBuLMNg 0kKJXdB8rKNU5NoP1pq1qrpgqIL4s0khnshdZOh1Vs3gkQOlVj4ygM4j6oizgPTqPq8a pvSwWqZzOlqxjhhHzsbfin3Ga5b39ClLaNTNFFhtnRamiTllBU6mzz/ZAfF+gBNA5jmt lZ5ygZB7tGlV25qPGCFnWDedGAIQW4IyeXS7z2epqdAl+TVuPSvCymm4N9SotdFsL/4J 8j8VvqZ6aZ+3zbV5THOWoOKLjTgpzwLEq6Y5UjVZ17PPVuj6gbg/H35nfuEKXQnUxAS3 bmqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677088339; 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=H9c40A5X+/mgH4hzQl369A566nepBnilry3RJkpjnlo=; b=J8oN/9W5t1eJKIZMS9N/LA6cjeDhGMN2WXGlNZLIHJ61IQvH3MIKNbY6o3U2PjaiHD N7PPaYGNcQcIKm6Op9UTrepJqjlRI1EXnIma6kw7qpCXGVpa4BYgiiz6NgVtFK4OGP6O b8ob/MIUfPFERQ11nKYvhIunhG6yHb9H4F354Q9r0HJ90G5MStGeyuXFWyXP3GvDUrjG +YCUMtOcAGs2pOxo+d6i7rS2odpj18xaJYymXw58XmNwXg7wUZ7/92ZVOVXGlkDiK4vv u8BR4BNYVSjW9WKmnersC3K8JMXaqL12QVTr+BkwplaIa6qBWAWld0qewrChDjwU+y81 gbyQ== X-Gm-Message-State: AO0yUKXuQaGCWfkSW6dTBei9hc9UfC+8c3E1Y5bZ2vwIDIfLTfrGsGUC CepWC38q6nPlVSNQlOx9T6XZpW3glWU= X-Google-Smtp-Source: AK7set8PkZiCpHCc95+UlvLSakC33DXcZBD6BwwBUGf+Ntr7wyYmEvcK7qCiQUy/GvsBTGEojLpfMw== X-Received: by 2002:a5d:6781:0:b0:2c5:7fdb:284c with SMTP id v1-20020a5d6781000000b002c57fdb284cmr6732174wru.4.1677088338707; Wed, 22 Feb 2023 09:52:18 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id b13-20020adff90d000000b002c3f50228afsm10079209wrr.3.2023.02.22.09.52.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 09:52:18 -0800 (PST) From: Simon Tournier In-Reply-To: <87edqi9hp0.fsf@gnu.org> References: <87mt57jgns.fsf@gmail.com> <87r0uid474.fsf@gnu.org> <87v8juebrb.fsf@gmail.com> <87edqi9hp0.fsf@gnu.org> Date: Wed, 22 Feb 2023 14:53:54 +0100 Message-ID: <868rgpu7pp.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, On Wed, 22 Feb 2023 at 10:23, Ludovic =?UTF-8?Q?Court=C3=A8s?= wrote: > How about using transformations right into your manifest? Would that > work for you? Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.50 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.50 listed in wl.mailspike.net] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) Hi, On Wed, 22 Feb 2023 at 10:23, Ludovic Court=C3=A8s wrote: > How about using transformations right into your manifest? Would that > work for you? Maxim reported a related issue [1]: bug#61684: can't compose 'with-patch' with 'with-source' 1: Cheers, simon From unknown Sun Aug 10 00:25:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61676: package transformations not honored working from a manifest Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 22 Feb 2023 18:37:01 +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: Simon Tournier Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 61676@debbugs.gnu.org Received: via spool by 61676-submit@debbugs.gnu.org id=B61676.167709097811314 (code B ref 61676); Wed, 22 Feb 2023 18:37:01 +0000 Received: (at 61676) by debbugs.gnu.org; 22 Feb 2023 18:36:18 +0000 Received: from localhost ([127.0.0.1]:60342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUtyU-0002wQ-Fb for submit@debbugs.gnu.org; Wed, 22 Feb 2023 13:36:18 -0500 Received: from mail-qt1-f173.google.com ([209.85.160.173]:45806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUtyR-0002w8-Oo for 61676@debbugs.gnu.org; Wed, 22 Feb 2023 13:36:16 -0500 Received: by mail-qt1-f173.google.com with SMTP id d7so8493746qtr.12 for <61676@debbugs.gnu.org>; Wed, 22 Feb 2023 10:36:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=AQ8Xaer+wcRjsQfapVhbdHHK407MhkHhf7b0Lj71VvU=; b=CYeNyt+6fCZZhUyfO83VjB/JjfiRi15PS8eeb0grpjWNHbfwbYaDD6dUkm3bB064wd mTsnc+lhlS9Igknm5o+rTdjzROmOrh4EHGktuKqiw+3cg+/lsmNrcSEEVkKgAz68SAsB gMFKLdrUrUWvrWR5dFrdWhiJzi/567ENIEzhhFZvZbdbo1sYD+T1pE2riWgoB/U8KnDr XQCEf9sIpzt8o81lvNxEk6/5tEv3r3be2uCVu5I/XRYEA6nXnQTnBJjU1ix8tOtAIFtB r5j9kfgp1It/Bs02s7rIzhaKRzlHPSY860xtJGyzWlY8LCaXoNVkyN4lNBvb/OWiKfA5 TyxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AQ8Xaer+wcRjsQfapVhbdHHK407MhkHhf7b0Lj71VvU=; b=yDXJ2ZO1LCxNLcAYIxgYkMNFTsv98m94yY2tdz0S4y/J4cUCq8N0mnjM47UGB44OMY J08xY4vh/k6mLXUZkzb6Uw8sKAylhUHvqsU20Qm/z9awmWLi7gnziIU+VmoYw3LMI5PX iZ7HC8PojU/0bJsIgqlB4xA7NMR1bzOJu2tRsFdS7JIZvGFDS16Cj5/9933nh8njOWTh 7/7+69Oj/g7lOX9HMU33bs0hVU1E8/c86NnPkaHp79soBikIpJDJl91UuwtWnoG+vxI2 TAGEGmSvO4yLyRxkIiJ4d6Q6VpHOXXhCoEQ0yWpJYSe03ywjW1aZzuj1g45ULmVOcs0m ro6A== X-Gm-Message-State: AO0yUKXGw1sU/pbkkbaGrxvljYxxqYRcHO6YQDSfI4VlzBdiQI+d0xWh ZrpmEccklRsWhr4HPVe4sUzAueb5Kmbfjg== X-Google-Smtp-Source: AK7set++9knoWaQuU9ru88P8Ws6qg6gshycGRe1yxFvh9M8lOH35LWINLeIz6ey8cOiwgfI50FpfBw== X-Received: by 2002:ac8:5a52:0:b0:3b4:7efb:36a7 with SMTP id o18-20020ac85a52000000b003b47efb36a7mr15351928qta.27.1677090969912; Wed, 22 Feb 2023 10:36:09 -0800 (PST) Received: from hurd ([2607:fad8:4:3::1002]) by smtp.gmail.com with ESMTPSA id r3-20020ac87943000000b003b68d445654sm4829884qtt.91.2023.02.22.10.36.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 10:36:09 -0800 (PST) From: Maxim Cournoyer References: <87mt57jgns.fsf@gmail.com> <87r0uid474.fsf@gnu.org> <87v8juebrb.fsf@gmail.com> <87edqi9hp0.fsf@gnu.org> <868rgpu7pp.fsf@gmail.com> Date: Wed, 22 Feb 2023 13:36:07 -0500 In-Reply-To: <868rgpu7pp.fsf@gmail.com> (Simon Tournier's message of "Wed, 22 Feb 2023 14:53:54 +0100") Message-ID: <87v8jtim3s.fsf@gmail.com> 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-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Simon and Ludovic, Simon Tournier writes: > Hi, > > On Wed, 22 Feb 2023 at 10:23, Ludovic Court=C3=A8s wrote: > >> How about using transformations right into your manifest? Would that >> work for you? > > Maxim reported a related issue [1]: > > bug#61684: can't compose 'with-patch' with 'with-source' > > 1: Yes, that's the one impeding what I'd like to do in the manifest I use; see https://review.jami.net/c/jami-client-qt/+/23978/2/extras/packaging/gnu-lin= ux/guix/guix-pack-manifest.scm for some of the issues encountered in an actual use case. --=20 Thanks, Maxim From unknown Sun Aug 10 00:25:26 2025 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: Wed, 01 Mar 2023 15:54: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.16776859891876 (code B ref 61676); Wed, 01 Mar 2023 15:54:02 +0000 Received: (at 61676) by debbugs.gnu.org; 1 Mar 2023 15:53:09 +0000 Received: from localhost ([127.0.0.1]:54698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXOlR-0000UC-47 for submit@debbugs.gnu.org; Wed, 01 Mar 2023 10:53:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXOlP-0000Tw-QG for 61676@debbugs.gnu.org; Wed, 01 Mar 2023 10:53:08 -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 1pXOlK-0007sW-Ej; Wed, 01 Mar 2023 10:53:02 -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=GAh9RYpCDSB42Cx3YRImYs0cM6VdmbNMmxbMO8uMxwo=; b=IbEoG2X8Hbpd3deiP+sT Wl6v333cQnyy7hLIZ6x18Uvgoo3bi921EJtU0kIAgioRtkcyeAzs6+29tQrvNltqNu3g5s6HkbFe8 aHd4YMev5F4ES2a3FTJiLAGh1duEg1Z5qedBnzZXoc0X3pHY5F+RjEx58WR8HYCbmKgh+gcDoTrUQ lmeLk0WK4P3qygx3V5BUa9ZPam0q0iwrJoC36Ryk7dSghHaFhxW9bdRf67Ol4suR4HG5VWdoEYrIF +m0XVJNDbBRHTnaCtp9lNwY2No0QhfrDagVY9s24oWuPTWa/xKFdpnSIj9+q1N+AjNYSFR91NEgZU lL/jJzFe6Nxc1w==; 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 1pXOlK-0003fx-1h; Wed, 01 Mar 2023 10:53:02 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87mt57jgns.fsf@gmail.com> <87r0uid474.fsf@gnu.org> Date: Wed, 01 Mar 2023 16:53:00 +0100 In-Reply-To: <87r0uid474.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 21 Feb 2023 23:49:35 +0100") Message-ID: <87edq8bh9f.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-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Ludovic Court=C3=A8s skribis: > Maxim Cournoyer skribis: [...] >> 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 litera= lly. > > Incidentally, changing that would likely break existing workflows=E2=80=A6 Consequently, my inclination would be to close this issue as =E2=80=9Cwontf= ix=E2=80=9D. WDYT? Ludo=E2=80=99. From unknown Sun Aug 10 00:25:26 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Maxim Cournoyer Subject: bug#61676: closed (Re: bug#61676: package transformations not honored working from a manifest) Message-ID: References: <87cz5sh0ce.fsf@gmail.com> <87mt57jgns.fsf@gmail.com> X-Gnu-PR-Message: they-closed 61676 X-Gnu-PR-Package: guix Reply-To: 61676@debbugs.gnu.org Date: Wed, 01 Mar 2023 17:03:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1677690182-9128-1" This is a multi-part message in MIME format... ------------=_1677690182-9128-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #61676: package transformations not honored working from a manifest which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 61676@debbugs.gnu.org. --=20 61676: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D61676 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1677690182-9128-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 61676-done) by debbugs.gnu.org; 1 Mar 2023 17:02:03 +0000 Received: from localhost ([127.0.0.1]:54794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXPq7-0002Lz-6W for submit@debbugs.gnu.org; Wed, 01 Mar 2023 12:02:03 -0500 Received: from mail-qt1-f169.google.com ([209.85.160.169]:35372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXPq5-0002LS-FG for 61676-done@debbugs.gnu.org; Wed, 01 Mar 2023 12:02:01 -0500 Received: by mail-qt1-f169.google.com with SMTP id y10so10347696qtj.2 for <61676-done@debbugs.gnu.org>; Wed, 01 Mar 2023 09:02:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=Ug9mXuhuTvOFj1YdhCKBRYrlCfXZ6bvl+7DXqP2glGY=; b=nF+ZXVrQdbTIhc2OroMMoVGrdiWx9faxXTLPctPhGAT4/scrr/m16CVzWeq3imc5XM X9dB0k8/6I1rcuTfplQ079HidhqTKcr694Kw8u3t/jBqjLzaJcY2lGUk4D0pp/5cfgvp XPi3bZ1MJaUVspQmGl+jv5y5ccCeZonoaHV3WxJPZLCiYkhqjVk61l1O/a6/l+V7nkfP lQ5gfKlNY3UFV/zDJckje99u4GmgzvLfmMT7qsZN/o5uxu3uzdeWrHBBRGBMARP3n5tI ByD6UEUy33mVWuauR2QQb7RKrGIJpExMGTUnAvUf8vQnGfNT1phguCX5hjkwLUWp5K9C AwEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Ug9mXuhuTvOFj1YdhCKBRYrlCfXZ6bvl+7DXqP2glGY=; b=aCXH+e01+DB6e8tJedR8Hn1afguCSMwMltT+KF3mGCup/TCLobORenoYgxrui6fQGQ xu+eQ7FVLkCx9yCU5atOx1tH0tiftP4NILYGAQDhC9efOxCF808ShO425+E0XjlGs+P2 XiaP/yVjJ5naWqx8F2icLwqTlPyoxNKACwhIIe/Qb6HmJFhvCBHxDGA80+K58csMMUfO 2eQk9O7pEAPcnqY0MIXavt/oKtTdEla7hlaGtu6DROcZiHJ1FRmxBOk6Twkl5idDiX+X CxC4MzGh273Raqm5wr4rbAoSNpYVVat+ebnREXZiEmrIVVsJ3oY1kd7zVv2KCuHSmwcy rEOg== X-Gm-Message-State: AO0yUKWMTXd/WNzyT8aVXueUBGTgdU/PELo6D5yfYHRrBCjMaLoMsM3/ zNja5jW9y78OtB70/5a/CxbRDy7NcwMMew== X-Google-Smtp-Source: AK7set8FlZCeF2+HxYndItdHLSct7CDC7naIH7DvEZDLyUw4/D1sleaA/ObYPt+bhJZJCkOF2GQohA== X-Received: by 2002:ac8:5847:0:b0:3bf:d372:a5bf with SMTP id h7-20020ac85847000000b003bfd372a5bfmr12282955qth.45.1677690115442; Wed, 01 Mar 2023 09:01:55 -0800 (PST) Received: from hurd (dsl-10-130-29.b2b2c.ca. [72.10.130.29]) by smtp.gmail.com with ESMTPSA id n3-20020ac86743000000b003bfbf3afe51sm8494846qtp.93.2023.03.01.09.01.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Mar 2023 09:01:54 -0800 (PST) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#61676: package transformations not honored working from a manifest References: <87mt57jgns.fsf@gmail.com> <87r0uid474.fsf@gnu.org> <87edq8bh9f.fsf@gnu.org> Date: Wed, 01 Mar 2023 12:01:53 -0500 In-Reply-To: <87edq8bh9f.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 01 Mar 2023 16:53:00 +0100") Message-ID: <87cz5sh0ce.fsf@gmail.com> 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61676-done Cc: 61676-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludovic, Ludovic Court=C3=A8s writes: > Hi, > > Ludovic Court=C3=A8s skribis: > >> Maxim Cournoyer skribis: > > [...] > >>> 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 liter= ally. >> >> Incidentally, changing that would likely break existing workflows=E2=80= =A6 > > Consequently, my inclination would be to close this issue as =E2=80=9Cwon= tfix=E2=80=9D. > > WDYT? Sounds reasonable; we can focus our energy on trying to improve #61684 inst= ead. --=20 Thanks, Maxim ------------=_1677690182-9128-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Feb 2023 13:23:58 +0000 Received: from localhost ([127.0.0.1]:54962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUScf-0004Ab-MK for submit@debbugs.gnu.org; Tue, 21 Feb 2023 08:23:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:60368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUSce-0004AT-CW for submit@debbugs.gnu.org; Tue, 21 Feb 2023 08:23:57 -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 1pUSce-00085l-3d for bug-guix@gnu.org; Tue, 21 Feb 2023 08:23:56 -0500 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUScc-0006Ic-JN for bug-guix@gnu.org; Tue, 21 Feb 2023 08:23:55 -0500 Received: by mail-qt1-x82d.google.com with SMTP id ay9so4041622qtb.9 for ; Tue, 21 Feb 2023 05:23:54 -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=MArQvz+HbzTm/uvrWq8iFoNfnusb0J1qNRKfelu/Omw=; b=NVe6Vmr65grGT8TYdZ0AaOMX5sIfBLGVJGOGwFZgTsrnmXhXeC9LqoddyarSwE//VV x84w/iWD9kM7fhAvgQ+h2pHPUiOXy4AA5IItKdHjma3MTf06tnVV0lKI+icLnF/ObYQN jaRlvKUNWiVSuq60fHpUHmDyTD5PxfB5Et6WOcBE16mz2hGvTTVL9a2cB2zU4t8JUIfE lMWpZ3h/7ydFX7bDOsaYCTmP47kfQxBtQhhpqyZwUUsq8qCmlyqYUFsy+ZWfc/GVfviE IznBTMBRHoJYhotXZJ0GjVx0YLtNYvkEZkEbWXeUIg6+3ORuf50KkGUtUGEjuakeKZGl h4+w== 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=MArQvz+HbzTm/uvrWq8iFoNfnusb0J1qNRKfelu/Omw=; b=O2Mq0NoYlgF+wpl89LipAS0mIKEcC83Zqk8ElOKsTqNlfJMd5RjSCD4rGEEqJlsdPU ChmdfoE6X+odClcKSsImANNchtwZv+c/enfcaveLjcOAktvy2bKhl0hzxn3c9pXxqoUJ vYS7HvD1tj+TkeaDiTpUT0/LAxDzjq1PvZVdq5XZHZwwIOHx+slN0ebvT/3XlZb+0qA8 bGETL7mwKEw0ZzSYAatywPswssve/brqgt8F+iC+PEOuouMzjwcwZRwyiAnEWiolcuRt 1NjkhbfcHjMNG60mUWYIXHYe/IOchgJS3Z6h9Uy2IfsWZ8sm22DDX+eJL4IuZeKuM6pQ /bCw== X-Gm-Message-State: AO0yUKWC4JlMDIgS/BSb9q7vDnCKW73L5ZMllwD8JP0fFR7G6CzWJysc zYTlGo2lSexCCliptZ8XRPiFHth88sHrW9Fs X-Google-Smtp-Source: AK7set9740pRpqm4s3TvfXPZY/lS9hjNQSO/c8M8ruFwUcObbdhBrf0yvfBqYcy1U5mqo6ttczYWTw== X-Received: by 2002:a05:622a:1b86:b0:3bc:fa90:e8bb with SMTP id bp6-20020a05622a1b8600b003bcfa90e8bbmr6877040qtb.30.1676985833226; Tue, 21 Feb 2023 05:23:53 -0800 (PST) Received: from hurd ([2607:fad8:4:3::1002]) by smtp.gmail.com with ESMTPSA id jr45-20020a05622a802d00b003b82cb8748dsm1703809qtb.96.2023.02.21.05.23.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 05:23:52 -0800 (PST) From: Maxim Cournoyer To: bug-guix Subject: package transformations not honored working from a manifest Date: Tue, 21 Feb 2023 08:23:51 -0500 Message-ID: <87mt57jgns.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82d; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82d.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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Guix, I was trying to simplify the Jami packaging tooling using the latest recursive '--with-source' transformation, like so (in a Makefile): --8<---------------cut here---------------start------------->8--- define guix-pack-command guix pack -C xz -f deb -f extras/packaging/gnu-linux/guix/guix-pack-manifest.scm -v3 \ --with-source=libjami@$(RELEASE_VERSION)=$(RELEASE_TARBALL_FILENAME) \ --with-patch=libjami=extras/packaging/gnu-linux/guix/patches/jami-disable-integration-tests.patch \ --with-source=jami@$(RELEASE_VERSION)=$(RELEASE_TARBALL_FILENAME) \ -S /usr/bin/jami=bin/jami \ -S /usr/share/applications/jami.desktop=share/applications/jami.desktop \ -S /usr/share/icons/hicolor/scalable/apps/jami.svg=share/icons/hicolor/scalable/apps/jami.svg \ -S /usr/share/icons/hicolor/48x48/apps/jami.png=share/icons/hicolor/48x48/apps/jami.png \ -S /usr/share/metainfo/jami.appdata.xml=share/metainfo/jami.appdata.xml \ --postinst-file=extras/packaging/gnu-linux/guix/guix-pack-deb.postinst endef --8<---------------cut here---------------end--------------->8--- 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. 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. -- Thanks, Maxim ------------=_1677690182-9128-1-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 03 05:54:59 2023 Received: (at control) by debbugs.gnu.org; 3 Mar 2023 10:54:59 +0000 Received: from localhost ([127.0.0.1]:59740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY33y-0007aR-Nc for submit@debbugs.gnu.org; Fri, 03 Mar 2023 05:54:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY33w-0007aD-JF for control@debbugs.gnu.org; Fri, 03 Mar 2023 05:54:56 -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 1pY33r-0003Mw-5U for control@debbugs.gnu.org; Fri, 03 Mar 2023 05:54:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=DlgooGhd329lWtPiFCDUDOg3+fbHTSHjqHR1OxhBQFg=; b=bT0qa0c0PsBhqJ P9QbO75+yOUZM8sE/tsyY1+JOG4ViBHV7Q3NnVfgeCZ84OD4IFjjFeLWshIoLwSeBsQdmT18fVizJ hYoL5OU/HNq0bccI2iIPFaKHB964Zpk6qVA7lw0YOIm1DWpUvtf0GP7c0Y85QJBGaxRlyo/lEk9bb M/2AKX7++p9gwpzzxdIKaJ365fYhWQ3Ixh8esinVHsH5n/hopK2Kmb2yfijyBxM+7Xdf14yjFwWUe uqX5MY1SrTvyPO5TS5mPh+i/8dZkwXUQhWCYxmtNZolxg/9ydxNnQIGL9xKT1KYNgPG1Y0AT/DV3L Z7dp0i4FU89EKLsxgJPQ==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pY33q-0006N5-PB for control@debbugs.gnu.org; Fri, 03 Mar 2023 05:54:50 -0500 Date: Fri, 03 Mar 2023 11:54:49 +0100 Message-Id: <87jzzyxfye.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #61676 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 61676 + wontfix quit