X-Loop: help-debbugs@HIDDEN Subject: bug#43984: `--with-graft=...` doesn't work with packages of different length name/version Resent-From: pkill9 <pkill9@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Wed, 14 Oct 2020 00:57:01 +0000 Resent-Message-ID: <handler.43984.B.16026369931951 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 43984 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 43984 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16026369931951 (code B ref -1); Wed, 14 Oct 2020 00:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Oct 2020 00:56:33 +0000 Received: from localhost ([127.0.0.1]:49225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kSV5k-0000VO-W1 for submit <at> debbugs.gnu.org; Tue, 13 Oct 2020 20:56:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:42202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pkill9@HIDDEN>) id 1kSV5j-0000VF-TL for submit <at> debbugs.gnu.org; Tue, 13 Oct 2020 20:56:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <pkill9@HIDDEN>) id 1kSV5j-0003us-Ko for bug-guix@HIDDEN; Tue, 13 Oct 2020 20:56:31 -0400 Received: from aibo.runbox.com ([91.220.196.211]:40410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <pkill9@HIDDEN>) id 1kSV5g-00073o-Ma for bug-guix@HIDDEN; Tue, 13 Oct 2020 20:56:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector1; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Subject:To:From:Date; bh=lnFHXEN22EdEiZVZEC3oPIlgXsLT1W8j0vqrNA8u3h0=; b=hyHkJzLBEAopJPVntNSHV2CGxj 2mQJfOCF23IguBoTHQbZLa7TTLhZeYZRcVTm4wpdLIv/jHOZw6I5FvZJZjkZbBjGV/VlWBYBa1e6F f1PpUO7IPUMubn+sMBtPSEj7DgsPJjM/ww7bs9dnEN6CuSXRTiLYYXTj/h0L6C9+30/0caGQOhWnt W2FLQLCU1u+A68IZWl69efdaxT6Ec1o+Ioattw4FBjfLp5Uv7Zg21vZwbjBpxD7MHZDqOmfT6cCsW vwtlqS5jldv3QLvKgQjRy4LjVjrb1uXXlRlnNZl2/x8NCl4wt3R0gPhCIeWfE7rSICbmqr3ZjVBHo moowvD8Q==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from <pkill9@HIDDEN>) id 1kSV5b-0005QE-Tg for bug-guix@HIDDEN; Wed, 14 Oct 2020 02:56:24 +0200 Received: by submission03.runbox with esmtpsa [Authenticated alias (780724)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1kSV5I-0008H2-2G for bug-guix@HIDDEN; Wed, 14 Oct 2020 02:56:04 +0200 Date: Wed, 14 Oct 2020 01:55:58 +0100 From: pkill9 <pkill9@HIDDEN> Message-ID: <20201014015558.09d6702a@HIDDEN> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=91.220.196.211; envelope-from=pkill9@HIDDEN; helo=aibo.runbox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/13 20:56:24 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.1 (--) As expected, if you attempt to graft a package's dependency, and it's name + version is different length to the original dependency, then it will fail to graft. Maybe if the length/version is different, then a symlink could be created in the store pointing to the new dependency, with a name/version that matches the length of the original dependency's store name? Perhaps this new name/version could be something like /gnu/store/...-original-dependency-name-gggggg, where 'g..' matches the length of the version of the original dependency. The many 'g's would make it clear that it is a graft. Then if someone looks in the store, they would see it's a symlink too.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: pkill9 <pkill9@HIDDEN> Subject: bug#43984: Acknowledgement (`--with-graft=...` doesn't work with packages of different length name/version) Message-ID: <handler.43984.B.16026369931951.ack <at> debbugs.gnu.org> References: <20201014015558.09d6702a@HIDDEN> X-Gnu-PR-Message: ack 43984 X-Gnu-PR-Package: guix Reply-To: 43984 <at> debbugs.gnu.org Date: Wed, 14 Oct 2020 00:57:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 43984 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 43984: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43984 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#43984: `--with-graft=...` doesn't work with packages of different length name/version Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Thu, 15 Oct 2020 07:52:01 +0000 Resent-Message-ID: <handler.43984.B43984.160274826329413 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 43984 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: pkill9 <pkill9@HIDDEN> Cc: 43984 <at> debbugs.gnu.org Received: via spool by 43984-submit <at> debbugs.gnu.org id=B43984.160274826329413 (code B ref 43984); Thu, 15 Oct 2020 07:52:01 +0000 Received: (at 43984) by debbugs.gnu.org; 15 Oct 2020 07:51:03 +0000 Received: from localhost ([127.0.0.1]:54091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kSy2R-0007eF-8V for submit <at> debbugs.gnu.org; Thu, 15 Oct 2020 03:51:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1kSy2Q-0007dV-Er for 43984 <at> debbugs.gnu.org; Thu, 15 Oct 2020 03:51:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45861) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1kSy2K-00085H-Nd; Thu, 15 Oct 2020 03:50:56 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51812 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1kSy2K-0000yd-2i; Thu, 15 Oct 2020 03:50:56 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> References: <20201014015558.09d6702a@HIDDEN> Date: Thu, 15 Oct 2020 09:50:54 +0200 In-Reply-To: <20201014015558.09d6702a@HIDDEN> (pkill9@HIDDEN's message of "Wed, 14 Oct 2020 01:55:58 +0100") Message-ID: <87wnzsapwh.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi, pkill9 <pkill9@HIDDEN> skribis: > As expected, if you attempt to graft a package's dependency, and it's > name + version is different length to the original dependency, then it > will fail to graft. Yes, that=E2=80=99s expected, but perhaps the manual could state it more prominently? > Maybe if the length/version is different, then a symlink could be > created in the store pointing to the new dependency, with a > name/version that matches the length of the original dependency's store > name? Perhaps this new name/version could be something like > /gnu/store/...-original-dependency-name-gggggg, where 'g..' matches the > length of the version of the original dependency. The many 'g's would > make it clear that it is a graft. Then if someone looks in the store, > they would see it's a symlink too. That only works if the new name is shorter than the old name though. When the new name is longer (which is a more common case in our experience when introducing package replacements, typically because the new version string is longer), nothing can be done. I=E2=80=99m tempting to keep things as is. Thoughts? Ludo=E2=80=99.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.