unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 55639@debbugs.gnu.org
Subject: bug#55639: time-machine back in 2020: weird error
Date: Wed, 01 Jun 2022 16:04:49 +0200	[thread overview]
Message-ID: <87y1yga39a.fsf@gmail.com> (raw)
In-Reply-To: <87wne0wwdr.fsf@gnu.org> ("Ludovic Courtès"'s message of "Wed, 01 Jun 2022 11:44:48 +0200")

Hi Ludo,

On mer., 01 juin 2022 at 11:44, Ludovic Courtès <ludo@gnu.org> wrote:

> I don’t think it has anything to do with that.  Seems more like a
> problem in our code that would only manifest under special
> circumstances—we just need to find out what makes them special.  :-)

[...]

> That looks like <https://issues.guix.gnu.org/53594>.  I don’t have a
> good hypothesis for that yet, but I’m guessing it’s stateful: the bug
> manifests if some things are missing from the store.

Another data point.  Recompile a7b20226b2 using recent Guile.

--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 3	mai 10 2022 22:44:08	(current)
  guix 9d795fb
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 9d795fb8fd3feffe584462cdfe3869acee64d226
$ git log --oneline -1
a7b20226b2 (HEAD -> old-a7b20226b2) gnu: python-libmpsse: Update to 1.4.1.

$ guix shell -D guix --container
[env]$ ./bootstrap && ./configure --localstatedir=/var && make scripts/guix make-go -j32
[env]$ exit
exit

$ guix shell -D guix --pure
[env]$ ./pre-inst-env guix describe
Git checkout:
  repository: /home/simon/src/guix/guix
  branch: old-a7b20226b2
  commit: a7b20226b2bf1a73b8f0f6536e7fa43326f35e33
[env]$ ./pre-inst-env guix build hello
/gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10
--8<---------------cut here---------------end--------------->8---


> Could you try:
>
>   guix time-machine --commit=a7b20226b2 -- build hello --no-grafts
>
> If it works, does the same command without ‘--no-grafts’ work
> afterwards?

It does not work when using no-grafts.  However, a big ’guix gc’ makes
it work.  It is really weird.  Note that the previous pre-inst-env is
done before GC.

Well, I have not been enough attentive to correctly save the problematic
part.  Now, I am unable to reproduce. )-:


It is hard to know what had been initially substituted and what had been
locally recompiled.  I mean, today and after GC, it looks like,

--8<---------------cut here---------------start------------->8---
0,4 MB will be downloaded
 module-import-compiled  99KiB        597KiB/s 00:00 [##################] 100.0%
 libfontenc-1.1.4  13KiB              2.3MiB/s 00:00 [##################] 100.0%
 module-import-compiled  56KiB        601KiB/s 00:00 [##################] 100.0%
 mkfontscale-1.2.1  20KiB             3.7MiB/s 00:00 [##################] 100.0%
 module-import-compiled  116KiB       860KiB/s 00:00 [##################] 100.0%
 mkfontdir-1.0.7  4KiB                3.3MiB/s 00:00 [##################] 100.0%
 module-import-compiled  9KiB         2.9MiB/s 00:00 [##################] 100.0%
 module-import-compiled  56KiB        853KiB/s 00:00 [##################] 100.0%
 module-import-compiled  46KiB        1.1MiB/s 00:00 [##################] 100.0%
building /gnu/store/splvvik624s9nyxysz6b1970pq5hy4gp-config.scm.drv...
building /gnu/store/w3229vmzf5620pkcn785xfw1ahl3jhri-config.scm.drv...
building /gnu/store/lhrdcca79hjjnmhz25bgzmg1a9hc3j7i-guix-config-source.drv...
building /gnu/store/i63lwisk345si6552rwyry3pfaa6wqij-guix-core-source.drv...
building /gnu/store/hsskiqmzd6822jxqday78kqabi0m3dj6-guix-config.drv...
building /gnu/store/dhxdn4wc1rdw13cmy8b20qc23vgvirvc-guix-core.drv...
[...]
--8<---------------cut here---------------end--------------->8---

all these derivations are locally built and I do not know what happened
a couple of days ago.  If these had been substituted and if the
substitutes had something incompatible with my hardware for whatever
reason, then weird behaviour.  Hum, too many if. :-)


Cheers,
simon




  reply	other threads:[~2022-06-01 14:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-25 17:13 bug#55639: time-machine back in 2020: weird error zimoun
2022-05-31 14:32 ` Ludovic Courtès
2022-05-31 16:33   ` zimoun
2022-05-31 17:00     ` zimoun
2022-06-01  9:44     ` Ludovic Courtès
2022-06-01 14:04       ` zimoun [this message]
2022-05-31 18:27   ` zimoun
2023-03-05 20:31 ` Nicolò Balzarotti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y1yga39a.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=55639@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).