From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wMTYKfB3RGOGdAAAbAwnHQ (envelope-from ) for ; Mon, 10 Oct 2022 21:52:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WKoBKfB3RGMp8AAAG6o9tA (envelope-from ) for ; Mon, 10 Oct 2022 21:52:16 +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 42A361A6E5 for ; Mon, 10 Oct 2022 21:52:16 +0200 (CEST) Received: from localhost ([::1]:45838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohyox-0002bz-6i for larch@yhetil.org; Mon, 10 Oct 2022 15:52:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohye9-0007em-Lc for bug-guix@gnu.org; Mon, 10 Oct 2022 15:41:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohye7-0008Mp-1a for bug-guix@gnu.org; Mon, 10 Oct 2022 15:41:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohye5-0004QP-Nm for bug-guix@gnu.org; Mon, 10 Oct 2022 15:41:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58419: Grafting order depends on store connection state Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 10 Oct 2022 19:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58419 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 58419@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166543084116974 (code B ref -1); Mon, 10 Oct 2022 19:41:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Oct 2022 19:40:41 +0000 Received: from localhost ([127.0.0.1]:50026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohydl-0004Pi-4d for submit@debbugs.gnu.org; Mon, 10 Oct 2022 15:40:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:34798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohydi-0004PY-3V for submit@debbugs.gnu.org; Mon, 10 Oct 2022 15:40:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohydh-00073p-R2 for bug-guix@gnu.org; Mon, 10 Oct 2022 15:40:37 -0400 Received: from jpoiret.xyz ([206.189.101.64]:36470) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohydb-0008Cl-Cj for bug-guix@gnu.org; Mon, 10 Oct 2022 15:40:35 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 4058B183B21 for ; Mon, 10 Oct 2022 19:40:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1665430823; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=c0uOX2SNMtMb3n7+OqcJFwOdeLqMbzPhOCIzZXeywks=; b=P15/tKfCo/lTLaOiJgQ4skTS6gkU5MY9Z6Tt9hrhArfaGxtA6flwPf9B9QiawC23O7fIFO Q4TKcBapB6cMR7v8I1AySfnzk3Z8p3ad+ib8i52C7AH/CYyy5hYgxBiiWcG3UeK/YlAYu/ U8zB/r5TD9wGVZVyEMESZC6o837+/Fgr9Fj3mvgDiIz6gtXi1C2zrG61aagZJat/obRuQg 3dBX1L/CgiIjE2i3sxWP5ezey5Jtq/+YbsQ1zdSq7bUzHIV0srgt81DM3EdJKP4Kkxh0H5 9HhsnpuetvKBNsFGMh2XH5py2YGjy11miDsSr+ASi8Jr8IzaBQCgCn83aHl5DQ== Date: Mon, 10 Oct 2022 21:40:22 +0200 Message-ID: <87o7ujjwm1.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: / Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: 0 X-Spam_score: -0.0 X-Spam_bar: / X-Spam_report: (-0.0 / 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, FROM_SUSPICIOUS_NTLD=0.074, FROM_SUSPICIOUS_NTLD_FP=1.999, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_PDS_OTHER_BAD_TLD=0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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" Reply-to: Josselin Poiret From: Josselin Poiret via Bug reports for GNU 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=1665431536; h=from:from:sender:sender:reply-to: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:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=c0uOX2SNMtMb3n7+OqcJFwOdeLqMbzPhOCIzZXeywks=; b=Jp36r92tLCUEKOYqkKZRDVPfzxLFs2cFpiM8njE0mvmIzwYd36KVBuSl6jNzbAHruLSEdC nemUYR0FeZXIaIX7WzhNmz1oki3976uFKyaOdgtr0z4bTA0VXUPlL44BhhizgxFY9/o1qA aFAtsXfGKLUsH//NcQ9JpJZqGpCPPg/ZmLmKFs5q4/afRrI04uHL/XI6uneOKXWKxX0qch aRMfhpJCS0DedToWdgXhSV4MVnxDiD2FJQi3xLpS3a1L5Vaobvu8atG+Qf8cTSrLAn/4Wx vCKjxdD5I73EzLUP5UgqnkKnvdzgNayOskb0CfUDVOfF8LZ8GT0P76uT9iVaKg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665431536; a=rsa-sha256; cv=none; b=XtO0cB58LsZoKLV70e9C3UupZzFhm6Npv8gNkpOr1LPj0AmtyhKiOjQXpH9NMae8t3Pi/p dAIKLSgMfG7/LXI4fCK2LUwU36QzXVdO/WT/xGFFO0qzqTjmwAuVFuG/yjw0APgtIZ2O1/ Qq+0rKaZiNFg2N+qMkhAgOgpgLY1Dl/lv+uJ2tg2UyJc5Ct8dck0cW/i99Gjv1qpKe9HMR FdQWI8tZy+5m2UXJ0jE7IsUh0kE2zJKF/OOQlcgvgvX4cNNvR7pvHfdQRA7wUUNp3/h528 fmbSBXJpy73USrz8DDxXudprk7dW2mQSf4gR+a1GkkgPb52n/sp9jWnC843F+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b="P15/tKfC"; 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: -4.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b="P15/tKfC"; 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: 42A361A6E5 X-Spam-Score: -4.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: MMbkzLydk6W0 Hi, Someone reported yesterday on IRC [1] that they didn't get the same canonical path for the pass (from `password-store`) binary if they built it directly or in a profile with `fontconfig` added. I managed to isolate the issue down to the following: --8<---------------cut here---------------start------------->8--- (let ((right (with-store store (run-with-store store (package->derivation (specification->package "password-store"))))) (wrong (with-store store (run-with-store store (mbegin %store-monad (package->derivation (specification->package "texlive-bin")) (package->derivation (specification->package "password-store"))))))) (pk right) (pk wrong)) --8<---------------cut here---------------end--------------->8--- Both derivations differ even though they ideally should be identical, apparently git doesn't appear in the same place in the grafting derivation. I've tried to debug the grafting code but to no avail yet. Does anyone have any idea? [1] https://logs.guix.gnu.org/guix/2022-10-09.log#203800 -- Josselin Poiret