scheme and lisp

Bernhard M. Wiedemann bernhardout at lsmod.de
Thu Nov 23 16:23:29 UTC 2023


Hi,

in openSUSE there are some packages that so far refuse to build 
reproducibly. The common theme around them is that they use scheme or 
lisp to produce binaries with a 'dump' command.

e.g. for scheme48 I extracted this reproducer:

pushd ~/rpmbuild/BUILD/scheme48-*/ps-compiler
     ../go -h 20000000 -a batch <<- 'EOF'
         ,config ,load ../scheme/prescheme/interface.scm
         ,config ,load ../scheme/prescheme/package-defs.scm
         ,exec ,load load-ps-compiler.scm
         ,in prescheme-compiler prescheme-compiler
         ,user (define prescheme-compiler ##)
         ,dump ../ps-compiler.image "(Pre-Scheme)"
         ,exit
EOF

I also know that guile implements scheme and builds reproducibly (with 
-j1). So there must be a way to do it right.

The list of our packages I think are affected by this is:
clisp
scheme48
chezscheme
emacs
maxima
scsh
xindy

Most distros seem to be affected by this:
http://ismypackagereproducibleyet.org/?pkg=scheme48
http://ismypackagereproducibleyet.org/?pkg=emacs surprisingly shows as 
reproducible in Archlinux, but I could not figure out why.
maxima also shows as green there.

Can we get them reproducible? Or can we drop+replace these 
implementations with guile?

I'd appreciate some insight from this knowledgeable crowd.

Ciao
Bernhard M.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20231123/f6faa747/attachment.sig>


More information about the rb-general mailing list