From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cDdTFCSaiF95IAAA0tVLHw (envelope-from ) for ; Thu, 15 Oct 2020 18:51:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aC81ECSaiF8PFgAA1q6Kng (envelope-from ) for ; Thu, 15 Oct 2020 18:51:16 +0000 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 5DFE59401D0 for ; Thu, 15 Oct 2020 18:51:15 +0000 (UTC) Received: from localhost ([::1]:53502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kT8LK-0003XM-61 for larch@yhetil.org; Thu, 15 Oct 2020 14:51:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kT8L8-0003UP-JI for bug-guix@gnu.org; Thu, 15 Oct 2020 14:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45000) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kT8L8-00087V-8b for bug-guix@gnu.org; Thu, 15 Oct 2020 14:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kT8L8-0005zE-7o for bug-guix@gnu.org; Thu, 15 Oct 2020 14:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43984: `--with-graft=...` doesn't work with packages of different length name/version Resent-From: pkill9 Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 15 Oct 2020 18:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43984 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 43984-submit@debbugs.gnu.org id=B43984.160278783122951 (code B ref 43984); Thu, 15 Oct 2020 18:51:02 +0000 Received: (at 43984) by debbugs.gnu.org; 15 Oct 2020 18:50:31 +0000 Received: from localhost ([127.0.0.1]:56542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT8Kd-0005y6-EZ for submit@debbugs.gnu.org; Thu, 15 Oct 2020 14:50:31 -0400 Received: from aibo.runbox.com ([91.220.196.211]:43060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT8Ka-0005xx-QX for 43984@debbugs.gnu.org; Thu, 15 Oct 2020 14:50:30 -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: References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=OEE7aLlaAFZ8jHnRENRWAbZJMYIH1jTi2qy7mPzILPM=; b=ZwM5u8R4pFLBEt5120bjFwmxls ncqkYkh6OLmaiNL1/tU/7fimMJxO7HftWcACw09WZDGq8+OB3Ujs9KmZH5gY9bwHP/xKY0T0jWKTx /aqOW5iQLJM48C9gM9p4vjdsDZY//CP4PIlfVFRPidnfWNClEtVqZ0jdZF48kUVzE/PCO3WQDpmrL aAYUFBd33ZgAzy0JwBVP6LKLS5TYO8le2AVBPtxVvylg1GFzoEduN/li12jD7LnEmN0BOP8Gje12s GF6Pr7dN4gtBot/tW2ONGNNg6PJsyff0Qj38JZA2HjXGqZPdLFOyqUzew2pbnT88xo0iqzlumOTeP NlaNEDRQ==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1kT8KZ-0004xk-6D; Thu, 15 Oct 2020 20:50:27 +0200 Received: by submission01.runbox with esmtpsa [Authenticated alias (780724)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1kT8KN-00048a-Io; Thu, 15 Oct 2020 20:50:15 +0200 Date: Thu, 15 Oct 2020 19:50:13 +0100 From: pkill9 Message-ID: <20201015195013.335eaefd@runbox.com> In-Reply-To: <87wnzsapwh.fsf@gnu.org> References: <20201014015558.09d6702a@runbox.com> <87wnzsapwh.fsf@gnu.org> 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 X-Spam-Score: -0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.4 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43984@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=runbox.com header.s=selector1 header.b=ZwM5u8R4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=runbox.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: 6vJ/lA7cQ5ks > > 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'm confused about what you mean. Why would it matter if the new name is longer than the old name?