Received: (at 43984) by debbugs.gnu.org; 15 Oct 2020 07:51:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 15 03:51:03 2020 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: pkill9 <pkill9@HIDDEN> Subject: Re: bug#43984: `--with-graft=...` doesn't work with packages of different length name/version 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-Debbugs-Envelope-To: 43984 Cc: 43984 <at> debbugs.gnu.org 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.
bug-guix@HIDDEN
:bug#43984
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 14 Oct 2020 00:56:33 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 13 20:56:33 2020 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> To: bug-guix@HIDDEN Subject: `--with-graft=...` doesn't work with packages of different length name/version 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-Debbugs-Envelope-To: submit 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.
pkill9 <pkill9@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#43984
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.