GNU bug report logs - #61852
‘scheme48-prescheme’ is not reproducible

Previous Next

Package: guix;

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

Date: Mon, 27 Feb 2023 21:04:01 UTC

Severity: normal

To reply to this bug, email your comments to 61852 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to whatson <at> tailcall.au, bug-guix <at> gnu.org:
bug#61852; Package guix. (Mon, 27 Feb 2023 21:04:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludo <at> gnu.org>:
New bug report received and forwarded. Copy sent to whatson <at> tailcall.au, bug-guix <at> gnu.org. (Mon, 27 Feb 2023 21:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: ‘scheme48-prescheme’ is not reproducible
Date: Mon, 27 Feb 2023 22:03:32 +0100
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?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#61852; Package guix. (Tue, 28 Feb 2023 08:35:01 GMT) Full text and rfc822 format available.

Message #8 received at 61852 <at> debbugs.gnu.org (full text, mbox):

From: Andrew Whatson <whatson <at> tailcall.au>
To: Ludovic Courtès <ludo <at> gnu.org>, 61852 <at> debbugs.gnu.org
Subject: Re: bug#61852: ‘scheme48-prescheme’ is not reproducible
Date: Tue, 28 Feb 2023 15:55:23 +1000
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





Information forwarded to bug-guix <at> gnu.org:
bug#61852; Package guix. (Fri, 03 Mar 2023 10:46:02 GMT) Full text and rfc822 format available.

Message #11 received at 61852 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andrew Whatson <whatson <at> tailcall.au>
Cc: 61852 <at> debbugs.gnu.org
Subject: Re: bug#61852: ‘scheme48-prescheme’ is
 not reproducible
Date: Fri, 03 Mar 2023 11:45:01 +0100
Hi,

Andrew Whatson <whatson <at> tailcall.au> skribis:

> 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.

Yes, probably!  Would you mind reporting it upstream?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#61852; Package guix. (Mon, 06 Mar 2023 15:46:04 GMT) Full text and rfc822 format available.

Message #14 received at 61852 <at> debbugs.gnu.org (full text, mbox):

From: Andrew Whatson <whatson <at> tailcall.au>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 61852 <at> debbugs.gnu.org
Subject: Re: bug#61852: ‘scheme48-prescheme’ is not reproducible
Date: Mon, 6 Mar 2023 20:34:07 +1000
Ludovic Courtès wrote:
> Hi,
> 
> Andrew Whatson <whatson <at> tailcall.au> skribis:
> 
>> 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.
> 
> Yes, probably!  Would you mind reporting it upstream?

No worries, I've emailed the Scheme 48 list about the issue.

Cheers,
Andrew





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

Previous Next


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