From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#30820: Chunked store references in compiled code break grafting (again) Date: Wed, 21 Mar 2018 01:43:15 -0400 Message-ID: <87sh8u2dcc.fsf@netris.org> References: <87o9jq7j7r.fsf@gnu.org> <87muz3dgy1.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyWYd-0004tZ-8I for bug-guix@gnu.org; Wed, 21 Mar 2018 01:45:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyWYY-0001vX-6t for bug-guix@gnu.org; Wed, 21 Mar 2018 01:45:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36835) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyWYY-0001vG-3G for bug-guix@gnu.org; Wed, 21 Mar 2018 01:45:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87muz3dgy1.fsf@netris.org> (Mark H. Weaver's message of "Mon, 19 Mar 2018 15:05:26 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Danny Milosavljevic Cc: 30820@debbugs.gnu.org I just realized that my proposal is unworkable. If we allow strings containing store paths to be split into pieces, then some of those pieces may contain as little as one character of the hash. For example, the grafter might find "/store/c", which is likely not enough to determine which of the transitive inputs is being referenced, and therefore the grafter cannot decide what to write in place of the "c". Sorry for the noise. Mark