When opening MIT/GNU Scheme by M-x run-mit (or by jumping from a source file using C-c C-z), the following error occurs:
--8<---------------cut here---------------start------------->8--- MIT/GNU Scheme running under GNU/Linux Type `^C' (control-C) followed by `H' to obtain information about interrupts. Copyright (C) 2019 Massachusetts Institute of Technology This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Image saved on Friday February 1, 2019 at 12:18:39 PM Release 10.1.5 || Microcode 15.3 || Runtime 15.7 || SF 4.41 || LIAR/x86-64 4.118 ;Loading "load.scm"... ; Loading "compile.scm"... ; Loading "make.com"... ; Loading "cref-unx.pkd"... done ; Loading "mset.com"... done ; Loading "object.com"... done ; Loading "toplev.com"... done ; Loading "anfile.com"... done ; Loading "conpkg.com"... done ; Loading "forpkg.com"... done ; Loading "redpkg.com"... done ; ... done ; Generating SCode for file: "emacs.scm" => "emacs.bin"... done ; Compiling file: "emacs.bin" => "emacs.com"... done ;The object #(|#[(runtime pathname)pathname]| #(|#[(runtime pathname)host]| 0 #f) unspecific #f "emacs" #f unspecific), passed as an argument to ->pathname, is not the correct type. ;To continue, call RESTART with an option number: ; (RESTART 1) => Return to read-eval-print level 1. 2 error> --8<---------------cut here---------------end--------------->8--- I investigated a little and removing expression (cref/generate-constructors "geiser" 'ALL) from `scheme/mit/geiser/compile.scm' solves the problem. I couldn't figure out what that expression does, so I'm sure other things break without it. I'm using MIT/GNU Scheme version 10.1.5 from Debian Buster and Guile from master (6db4fb2cd0ca86f27b8e08e15e8493a2d08d48f2).