From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gMDKNd0tTWNuXQAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 12:26:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WG3SNd0tTWPbOQAA9RJhRA (envelope-from ) for ; Mon, 17 Oct 2022 12:26:37 +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 594021046 for ; Mon, 17 Oct 2022 12:26:37 +0200 (CEST) Received: from localhost ([::1]:52706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okNKN-0005t7-Gv for larch@yhetil.org; Mon, 17 Oct 2022 06:26:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okNK2-0005ng-4S for bug-guix@gnu.org; Mon, 17 Oct 2022 06:26:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48335) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okNJr-0003YA-LS for bug-guix@gnu.org; Mon, 17 Oct 2022 06:26:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okNJq-0001Tw-BB for bug-guix@gnu.org; Mon, 17 Oct 2022 06:26: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: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 17 Oct 2022 10:26: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: Marius Bakke , 58567@debbugs.gnu.org Received: via spool by 58567-submit@debbugs.gnu.org id=B58567.16660023505677 (code B ref 58567); Mon, 17 Oct 2022 10:26:02 +0000 Received: (at 58567) by debbugs.gnu.org; 17 Oct 2022 10:25:50 +0000 Received: from localhost ([127.0.0.1]:47413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okNJV-0001TL-SD for submit@debbugs.gnu.org; Mon, 17 Oct 2022 06:25:50 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:47009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okNJS-0001T5-I6 for 58567@debbugs.gnu.org; Mon, 17 Oct 2022 06:25:39 -0400 Received: by mail-wm1-f48.google.com with SMTP id az22-20020a05600c601600b003c6b72797fdso9631231wmb.5 for <58567@debbugs.gnu.org>; Mon, 17 Oct 2022 03:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=CijMXy91zA+RcQLCCz478C8ho9w/7ctnXO3i6f2x6t8=; b=cwiU5jPaQCfyj0HlDnU6g+/Cx9Kd9z+iJ2ZpBKPlLBcrddfg+LcjEqmKt/8VL64O+m Kd8zS9f+xqNCLaDxg9ji3Oiiy/oG05/SqU8nhLgSUzIcgJN6yXCm+jjHPMHrVf4RscWE FDRfXBELK1tEvy3cOCHjT1LGEZ8jQXDqj3xTKuOoUnOTp9soOVb4WfKbCsKnXPnWGwtV 0Vp/h7PbpjCitf5FQ7QWyIf6VnMRwzfFKjgZ++Fc/qGSCuW8hGqRy/UyoB57IHP3akfW VtIn37MQkUX8/vBGFjQVrJLVE/mRwVyB4bmlTVbH6Un4UdtFm+pg9zyphmMNbqGS3OCS MU5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CijMXy91zA+RcQLCCz478C8ho9w/7ctnXO3i6f2x6t8=; b=aC9ybG20hj6GQFNd3MJ2cLVp0rvAa7cCiLwR+N6mfZPAzCgR0U4I6FRNN22ZGLVM3C sxpyq57kF8sNbYfOUBsVDDqW+W6AHSUOt7PmYxNvFXz3b4WRk2LR3RVpS8qx7r6SwgNQ DlP9DlMMc3k7Rq8eTSc3ox5Xghqif5KQ5A3bC17KeQ3FpTTh7NENl/T50CnqLM9TBRcq bJqR+j4GcmJK7z/ofMnTc9P2rv95NAY97LgrFUhwGBDfeYwAMmkhUwRcZ0aX8T15CYdW bzfoOYT/FfpZy7B90orBnfsPEFUY16A++zyDRANB6UOsKizF+IzhUhezQtTTVa/qEH7B Ntuw== X-Gm-Message-State: ACrzQf1e9VGLxN9y95ABtGkFLlSPXQ7jXPA3/FP/6RxZIVztXiCvTiUf OsKa95flOjRIlyrVbnPckLgTpg8wukc= X-Google-Smtp-Source: AMsMyM5xtxdF43Er7hBqLnbU8nf5HXiyUoTzfIxzcwqQ8Jp/MEUom13UsrpzVDw7snv6k7PKmMU5Nw== X-Received: by 2002:a1c:f008:0:b0:3b4:fd2e:3ede with SMTP id a8-20020a1cf008000000b003b4fd2e3edemr18903349wmb.133.1666002332578; Mon, 17 Oct 2022 03:25:32 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id m35-20020a05600c3b2300b003a1980d55c4sm16232906wms.47.2022.10.17.03.25.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 03:25:32 -0700 (PDT) From: zimoun In-Reply-To: <877d0zwu1h.fsf@gnu.org> References: <87a65vwvde.fsf@gnu.org> <877d0zwu1h.fsf@gnu.org> Date: Mon, 17 Oct 2022 12:25:26 +0200 Message-ID: <878rlen3vt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain 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=1666002397; 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=CijMXy91zA+RcQLCCz478C8ho9w/7ctnXO3i6f2x6t8=; b=l1hE7fmj/agEYtL1CAH3cfjH0rC3Lyye9QqnIy4Dq0nQmK5Bt2YDSNoR4Z6gM71xwUFaUP tY2psqNlAgFYx1qnI5hZ+iWjKlaM8gE/gXDkjEvOp9Z1Jfdux15N1YuuOkFdUEJBLQ6SYJ QVa89oGzTw1LTYtNjBcGr+P/3tBn/80yzCAptrxF7JKzSHZWz+HIcmTWoqdy4LMDpj673Z 7fgV15koejKgPu6OSz0JgDaKpgU5AMvIDRvR56AZ5pb6xKIXz7IvLONm1FDTmjtV0SEkrs ZHKdUbD6g+K33+CbNl00fd14nwONaKYwKKYgZmxW7VcDi3Bh1KUjIZTFA0TjWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666002397; a=rsa-sha256; cv=none; b=bZTesIGO/dAyPfC27OCeqY0rZPeMUIOHfqOTUakEY0nCPUxQma9goD9P8BDbDVRG5kvNvC L1yyVJUOVZ5JyS7vUvBaqscMjyST7+uCzB/+eO+MIUUL1aDIEdol2une2cRiUfmSnkW//W YtzYchsSfT0mMzPNDebem9ooCUuOf2mmJcJ+6elHSBf2gfuO7CV/o0/YSR+CsPjsw89kmB XNtXF+NkvOSdK3hJYWClQ5CwubzywgSVKym2FG70joxYTTN7t+KHk8XeVbO1VKt8dqWYRr 1z4THBjBkXclMJo54RNTLehMJJfs0Mv7JPLoihfYzeFTBbS2XWX5k5bg+d7bZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cwiU5jPa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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.28 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cwiU5jPa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 594021046 X-Spam-Score: 5.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: lxKg6X490R8U Hi Marius, I reminds me this [1]. 1: 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. :-) Here some investigations for what they are worth. --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3d8c243efb615c7e642942433be1c7badf0ae65e \ -- build python-patch-ng -d /gnu/store/gy6ksy7h02qi062wwh00wqxfjzqj7vjg-python-patch-ng-1.17.4.drv --8<---------------cut here---------------end--------------->8--- where the no-grafted is, /gnu/store/xi035mv5cv8j9d2sm8hcwi293vcix28q-python-patch-ng-1.17.4.drv and the command-line non-grafted reads, --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3d8c243efb615c7e642942433be1c7badf0ae65e \ -- build python-patch-ng -d --no-grafts /gnu/store/v4w24l63864x2304pv9a9fz3knzf1lxb-python-patch-ng-1.17.4.drv --8<---------------cut here---------------end--------------->8--- However, both derivations have the same output. --8<---------------cut here---------------start------------->8--- $ guix build \ /gnu/store/xi035mv5cv8j9d2sm8hcwi293vcix28q-python-patch-ng-1.17.4.drv \ /gnu/store/v4w24l63864x2304pv9a9fz3knzf1lxb-python-patch-ng-1.17.4.drv /gnu/store/d6nhxbayyal1nximx048bvk6zx4phcap-python-patch-ng-1.17.4 /gnu/store/d6nhxbayyal1nximx048bvk6zx4phcap-python-patch-ng-1.17.4 --8<---------------cut here---------------end--------------->8--- The difference in the derivation hash comes from the order and checkout, ,("/gnu/store/52aymnx4px77ig2irmi16nncb9d27z9y-gawk-5.1.0.drv",["out"]) ,("/gnu/store/7bcypqy80bz8ygi4880dxdj8vzcsvhdf-python-patch-ng-1.17.4-checkout.drv",["out"]) ,("/gnu/store/7p8m2v35lrjmgffv7map1cmn45vi0pkm-binutils-2.37.drv",["out"]) vs ,("/gnu/store/h5nligvx7n87jg0zxsiw536lz0q1gr3j-tar-1.34.drv",["out"]) ,("/gnu/store/ivbkmnl6md7lzf275nvqwdh6lc924hal-python-patch-ng-1.17.4-checkout.drv",["out"]) ,("/gnu/store/jj494gyb7r3jnn15jd240dn5zd6crnyk-bash-minimal-5.1.8.drv",["out"]) 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--- Again, the checkout derivation hash is different because order and an item, ,("/gnu/store/6ynvjkk6yzkpsl0x703hlvdrmp96plm1-guile-zlib-0.1.0.drv",["out"]) ,("/gnu/store/7df196dbwb4w03q8wnvfys0j5npnqbcd-git-minimal-2.38.0.drv",["out"]) ,("/gnu/store/cmiqs6lp2ss4i3f9cy5vsinh7795bxcy-gzip-1.10.drv",["out"]) vs ,("/gnu/store/ifvnf3rwyhhgjman6qn332j2sfn8hlp5-guile-json-4.7.1.drv",["out"]) ,("/gnu/store/q074d9578lbq2y9ls5xycbm0jmyr1z75-git-minimal-2.38.0.drv",["out"]) ,("/gnu/store/snyyq4ssjff5ajwswwg4absrhfv8pc4z-tar-1.34.drv",["out"]) And the Git is probably the root of the final mismatch. --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3d8c243efb615c7e642942433be1c7badf0ae65e \ -- build git-minimal -d --no-grafts /gnu/store/7df196dbwb4w03q8wnvfys0j5npnqbcd-git-minimal-2.38.0.drv $ guix time-machine --commit=3d8c243efb615c7e642942433be1c7badf0ae65e \ -- build git-minimal -d /gnu/store/q074d9578lbq2y9ls5xycbm0jmyr1z75-git-minimal-2.38.0.drv --8<---------------cut here---------------end--------------->8--- Cheers, simon