From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mH0mHmQ+TWNCSwEAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 13:37:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4LoLHWQ+TWNvmAAAG6o9tA (envelope-from ) for ; Mon, 17 Oct 2022 13:37:08 +0200 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 E23E0D979 for ; Mon, 17 Oct 2022 13:37:07 +0200 (CEST) Received: from localhost ([::1]:41832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okOQc-0003DK-TK for larch@yhetil.org; Mon, 17 Oct 2022 07:37:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okOQY-0003CO-L5 for bug-guix@gnu.org; Mon, 17 Oct 2022 07:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okOQY-0007SN-DG for bug-guix@gnu.org; Mon, 17 Oct 2022 07:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okOQY-0005Zt-7l for bug-guix@gnu.org; Mon, 17 Oct 2022 07:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58567: Some grafts use a different input derivation than computed by --no-grafts Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 17 Oct 2022 11:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun , 58567@debbugs.gnu.org Received: via spool by 58567-submit@debbugs.gnu.org id=B58567.166600659721402 (code B ref 58567); Mon, 17 Oct 2022 11:37:02 +0000 Received: (at 58567) by debbugs.gnu.org; 17 Oct 2022 11:36:37 +0000 Received: from localhost ([127.0.0.1]:47542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okOQ9-0005Z7-8j for submit@debbugs.gnu.org; Mon, 17 Oct 2022 07:36:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okOQ4-0005Yo-Hg for 58567@debbugs.gnu.org; Mon, 17 Oct 2022 07:36:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52238) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okOPx-0007Jn-3Y; Mon, 17 Oct 2022 07:36:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=yfOP5k4zSdRCGR/osSg1ZzLehMEIc8hFNMdi2C0e628=; b=r30uqD37nbvb8AKkv/P6 292YM9p8cG0p5WUEv/lkCxbu0HrIElv56gMg0hv6OYkmNxVViqu/WeHiVw7lfX2m1KUd8Zc41R5Jw axEZNH2OCAZXt+L0P2KJXFmEPTiU1ze3DXp2SDYtgr1hx206n9DkS1aw4es6052X9qzAHuxl3lDZl +BlYPkAoDfBpUA3mWjNdhbuAHQ+JYuofSEGae3DYTLH/CVqJPty+oYAyg/gZ2XNczuhtwIIzQSyVk FvCi+PEdT+6qElUTWnZs95NoPmT8CurTH/Xvr13gkH/ooEzk3ZcNagMCu66MQF1Vr8/Z28HLCqnwh rKAR8tWLuCI+7A==; Received: from [84.211.203.64] (port=56024 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okOPw-0002vO-Lh; Mon, 17 Oct 2022 07:36:24 -0400 From: Marius Bakke In-Reply-To: <878rlen3vt.fsf@gmail.com> References: <87a65vwvde.fsf@gnu.org> <877d0zwu1h.fsf@gnu.org> <878rlen3vt.fsf@gmail.com> Date: Mon, 17 Oct 2022 13:36:21 +0200 Message-ID: <87sfjmvg0a.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666006628; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=yfOP5k4zSdRCGR/osSg1ZzLehMEIc8hFNMdi2C0e628=; b=dOmf9EgFhpzLcQiVVwEKNjeq0y90cMQ3vuZSuSF81D+c5W6O0P4GVrFhzykeEoRgXntx2n 6nHGs/yxSsAnIce7NvqnmujdpuFdE8PhYnKoS+D6etQnnbJ28MDHHlf9Av+YoVg6zn8wIj HIQou7Yjo5Bu3gY28OuYhvn8sTQ3RmhdDzaHqr3hmMbUAMR6ooqQuRTgOCgMTmpOgHwbnp 05RmpqzjkN8r1xrYbM/zSje2r2g9h2/4+iFX14ZUoobQgcqfKyaB2NA1iNVgU/5Vl1kfto aU3e0wy/KV0uSW+SCnZEKsbmC9xZRtyj8G+52VQIwxnZ1vPRMdHw7nHWOaOqlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666006628; a=rsa-sha256; cv=none; b=OQvCKu3eYCdyN5qy5b9EYWnz2aKf4W/mBC0QBYRdVyyeZViWzQJbXJ2F/kIoz9GJ1nVbxP Ub9pgUpeGLb9FZSYvbQx3Vr12Yv+p6bccQz7om/CaTZsQbo1Ke3/km4dYfl6Sgbi9cNGHZ 23ZKLxBJNDLy0jsyZ4dC76KhXVkqamboVdSkfiLuNtVf91T4fDqegn58rl6uMs8jiLuXli pglD/Zd60b/tQ3iVol+nLPNh+CD7+uhZbeKZLlKPcoOl5ZIZ4eeMBnu7mJ61RVBkSFiNpO dAedvUT+XLP/3zy6bRGc6REMW/NyaDJzIGSG2Zx5XcEPUPmZXpfAzCSrZUjBgQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=r30uqD37; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=r30uqD37; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E23E0D979 X-Spam-Score: -5.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: hmXZQ3BiVI1X --=-=-= Content-Type: text/plain zimoun skriver: > Hi Marius, > > I reminds me this [1]. > > 1: Not sure if it's the same problem, but it is weird. On 3d8c243efb615c7: $ guix build mesa /gnu/store/ccf705wvh0w224d6nyscnwlhqr04agk7-mesa-21.3.8-bin /gnu/store/vcmxgmmhwr39gwwnz7ljkhcg1bmq2r5z-mesa-21.3.8 $ guix build --no-grafts mesa /gnu/store/grh2142hg6l5g5xav2di7rr1pwbg9m38-mesa-21.3.8-bin /gnu/store/sdzfljm6san79pqiy42yp0nzmkr2bafc-mesa-21.3.8 $ guix size icecat | grep mesa /gnu/store/sdzfljm6san79pqiy42yp0nzmkr2bafc-mesa-21.3.8 411.6 169.6 11.6% $ guix size $(guix build --no-grafts icecat) | grep mesa /gnu/store/sdzfljm6san79pqiy42yp0nzmkr2bafc-mesa-21.3.8 411.6 169.6 11.6% Should not the mesa used by icecat be the same as `guix build mesa`, just like in the ungrafted case? Their outputs differ, too: $ guix hash -r $(guix build mesa | tail -n1) 1invy9jcd1fnfx7d4asfyjqs1jn7lngjfqswak6sy9ffjbhhsg6x $ guix hash -r $(guix size icecat | grep mesa | awk '{ print $1 }') 195zk0c0h5m016hp0c1haqws47rwfj7sbpqpddmwk2iw402p3apv Diffoscope says it will take 123 days to process these, so don't hold your breath! > On dim., 16 oct. 2022 at 19:35, Marius Bakke wrote: > >> It works for 'python-patiencediff', but fails for 'python-patch-ng', >> both of which have no dependencies other than Python; but one uses >> url-fetch and the other git-fetch. > > I guess that > > guix build python-patch-ng -d > > uses a grafted git-minimal and propagates it, whereas > > guix build python-patch-ng -d --no-grafts > > uses a non-grafted git-minimal. Well, something like that. :-) Indeed. > Well, it is the same checkout output: > > --8<---------------cut here---------------start------------->8--- > $ guix build \ > /gnu/store/7bcypqy80bz8ygi4880dxdj8vzcsvhdf-python-patch-ng-1.17.4-checkout.drv \ > /gnu/store/ivbkmnl6md7lzf275nvqwdh6lc924hal-python-patch-ng-1.17.4-checkout.drv > /gnu/store/jddbmm7nxhv9sl84j1jlsdy5iiwjpbiy-python-patch-ng-1.17.4-checkout > /gnu/store/jddbmm7nxhv9sl84j1jlsdy5iiwjpbiy-python-patch-ng-1.17.4-checkout > --8<---------------cut here---------------end--------------->8--- That's guaranteed since these derivations are "fixed-output" (notice the r:sha256 property in the beginning of the file). If they had any other output the daemon would throw a failure. The bug here is that Guix treats grafted origins as different, even though their outputs are known in advance. Probably the grafting machinery should ignore fixed-output derivations somehow? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCY00+NQ8cbWFyaXVzQGdu dS5vcmcACgkQ6HGLpZEUEHfW/AD/Xknsrm7QwLPG/CEXbUjSrc/cfhDjF9UQ9E5l owKRghUA/jZsLieGY1fhUunxsWWRWZdY6UbVLlTZ7TPsrVRbWJEJ =osez -----END PGP SIGNATURE----- --=-=-=--