GNU bug report logs -
#58419
Grafting order depends on store connection state
Previous Next
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
[Message part 1 (text/plain, inline)]
Your message dated Sat, 22 Oct 2022 01:51:53 +0200
with message-id <87y1t84twm.fsf <at> gnu.org>
and subject line Re: bug#58579: [PATCH 0/4] Rewrite grafts using gexps
has caused the debbugs.gnu.org bug report #58419,
regarding Grafting order depends on store connection state
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> 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)]
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
[Message part 3 (message/rfc822, inline)]
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’.
This bug report was last modified 2 years and 265 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.