GNU bug report logs - #58419
Grafting order depends on store connection state

Previous Next

Package: guix;

Reported by: Josselin Poiret <dev <at> jpoiret.xyz>

Date: Mon, 10 Oct 2022 19:41:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Josselin Poiret <dev <at> jpoiret.xyz>
Subject: bug#58419: closed (Re: bug#58579: [PATCH 0/4] Rewrite grafts
 using gexps)
Date: Fri, 21 Oct 2022 23:53:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#58419: Grafting order depends on store connection state

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 58419 <at> debbugs.gnu.org.

-- 
58419: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58419
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: 58579-done <at> debbugs.gnu.org
Cc: 58419-done <at> debbugs.gnu.org
Subject: Re: bug#58579: [PATCH 0/4] Rewrite grafts using gexps
Date: Sat, 22 Oct 2022 01:51:53 +0200
Hi,

Ludovic Courtès <ludo <at> gnu.org> skribis:

>   grafts: Move '%graft?' and related bindings to (guix store).
>   Remove now unnecessary uses of (guix grafts).
>   grafts: Rewrite using gexps.
>   build-system/gnu: Disable grafts in 'python-build'.

I took Liliana’s suggestion into account and pushed as
863c228bfd53aac478eee46f6ee54d87fee9d764.

Thanks,
Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Josselin Poiret <dev <at> jpoiret.xyz>
To: bug-guix <at> gnu.org
Subject: Grafting order depends on store connection state
Date: Mon, 10 Oct 2022 21:40:22 +0200
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



This bug report was last modified 2 years and 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.