From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +3RVBe5Mhl/ccQAA0tVLHw (envelope-from ) for ; Wed, 14 Oct 2020 00:57:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QCqQAO5Mhl8CDQAAB5/wlQ (envelope-from ) for ; Wed, 14 Oct 2020 00:57:18 +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 57BC194051F for ; Wed, 14 Oct 2020 00:57:16 +0000 (UTC) Received: from localhost ([::1]:53438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSV6P-0003vm-Ny for larch@yhetil.org; Tue, 13 Oct 2020 20:57:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSV6E-0003vf-Iz for bug-guix@gnu.org; Tue, 13 Oct 2020 20:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kSV6E-00079C-54 for bug-guix@gnu.org; Tue, 13 Oct 2020 20:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kSV6E-0000WE-34 for bug-guix@gnu.org; Tue, 13 Oct 2020 20:57: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: Wed, 14 Oct 2020 00:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43984 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 43984@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@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 ) id 1kSV5k-0000VO-W1 for submit@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 ) id 1kSV5j-0000VF-TL for submit@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 ) id 1kSV5j-0003us-Ko for bug-guix@gnu.org; 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 ) id 1kSV5g-00073o-Ma for bug-guix@gnu.org; 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 ) id 1kSV5b-0005QE-Tg for bug-guix@gnu.org; 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@gnu.org; Wed, 14 Oct 2020 02:56:04 +0200 Date: Wed, 14 Oct 2020 01:55:58 +0100 From: pkill9 Message-ID: <20201014015558.09d6702a@runbox.com> 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@runbox.com; 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.1 (--) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=hyHkJzLB; 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: 1.59 X-TUID: w5WG+zPWVMMT 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.