From: Andrew Whatson via Bug reports for GNU Guix <bug-guix@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>, 61852@debbugs.gnu.org
Subject: bug#61852: ‘scheme48-prescheme’ is not reproducible
Date: Tue, 28 Feb 2023 15:55:23 +1000 [thread overview]
Message-ID: <ce426348-bd75-a2ed-885b-92f1caf11f37@tailcall.au> (raw)
In-Reply-To: <87zg8yhlcr.fsf@inria.fr>
Ludovic Courtès wrote:
> Hi again Andrew,
>
> It turns out that the package is not reproducible:
>
> --8<---------------cut here---------------start------------->8---
> $ ./pre-inst-env guix challenge scheme48-prescheme
> /gnu/store/qkby7f4nr3lxlm16zmswmka5hgfs6spw-scheme48-prescheme-1.9.2 contents differ:
> no local build for '/gnu/store/qkby7f4nr3lxlm16zmswmka5hgfs6spw-scheme48-prescheme-1.9.2'
> https://ci.guix.gnu.org/nar/lzip/qkby7f4nr3lxlm16zmswmka5hgfs6spw-scheme48-prescheme-1.9.2: 0fahr4s5qz980zz96xmrwf8r87w56kicxr8s80fvis98q7v5czll
> https://bordeaux.guix.gnu.org/nar/lzip/qkby7f4nr3lxlm16zmswmka5hgfs6spw-scheme48-prescheme-1.9.2: 0jphmcmijk68phwq93qbzszy5pdmnasa3qdcp2nc5wqc25a7kpxk
> differing file:
> /lib/scheme48-1.9.2/prescheme.image
>
> 1 store items were analyzed:
> - 0 (0.0%) were identical
> - 1 (100.0%) differed
> - 0 (0.0%) were inconclusive
> $ git log |head -1
> commit cf9e0508b26196dc985302776d860a0359652c59
> --8<---------------cut here---------------end--------------->8---
>
> Any idea what might be wrong?
Hmm, interesting!
This is an image produced by Scheme 48 dumping its VM state into a file
which can be loaded later to save parsing/expansion time. This is the
same technique used by Scheme 48 to produce its own initial image. It
looks like the "scheme48" package has the same problem:
```
$ guix challenge scheme48
/gnu/store/9c47l5cn60zrr9sm0hn55zibf8zmv33l-scheme48-1.9.2 contents differ:
local hash: 0pyygj4nf8fw2xpciy81d01r2b2339bxhgpfdn2zq2wqvsn2ycra
https://ci.guix.gnu.org/nar/lzip/9c47l5cn60zrr9sm0hn55zibf8zmv33l-scheme48-1.9.2:
0pyygj4nf8fw2xpciy81d01r2b2339bxhgpfdn2zq2wqvsn2ycra
https://bordeaux.guix.gnu.org/nar/lzip/9c47l5cn60zrr9sm0hn55zibf8zmv33l-scheme48-1.9.2:
12wxxqxmpdqgg2fzbcbm68h1jqynz9gqhxzalyspqq7hh2fgr46k
differing file:
/lib/scheme48-1.9.2/scheme48.image
1 store items were analyzed:
- 0 (0.0%) were identical
- 1 (100.0%) differed
- 0 (0.0%) were inconclusive
```
Comparing hex dumps of the files, there are significant differences, and
a quick dive through the image dumping code leads into VM and garbage
collector details which are over my head.
I guess patching Scheme 48 to build deterministic images is out-of-scope
and maybe an issue for upstream.
> Thanks,
> Ludo’.
Cheers!
Andrew
next prev parent reply other threads:[~2023-03-01 3:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-27 21:03 bug#61852: ‘scheme48-prescheme’ is not reproducible Ludovic Courtès
2023-02-28 5:55 ` Andrew Whatson via Bug reports for GNU Guix [this message]
2023-03-03 10:45 ` Ludovic Courtès
2023-03-06 10:34 ` Andrew Whatson via Bug reports for GNU Guix
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=ce426348-bd75-a2ed-885b-92f1caf11f37@tailcall.au \
--to=bug-guix@gnu.org \
--cc=61852@debbugs.gnu.org \
--cc=ludo@gnu.org \
--cc=whatson@tailcall.au \
/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).