I just noticed that my cache has this file in it:
/home/marco/.cache/guile/ccache/2.0-0.Q-LE-4/home/marco/.cache/guile/ccache/2.0-0.Q-LE-4/home/marco/var/tmp/proof.sps.go.go
should I expect this or is something wrong with pathname
construction? I have not found a way to reproduce it for
now.
Anyway, I have this script "proof.sps":
(import (rnrs))
(display "ciao\n")
first I do:
$ rm -fr ~/.cache/guile/ccache/2.0-0.Q-LE-4/home/marco
to start from a clean state, then:
$ guile -s proof.sps
;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-autocompile argument to disable.
;;; compiling proof.sps
WARNING: (rnrs): `i/o-error-port' imported from both (rnrs files) and (rnrs
io simple)
WARNING: (rnrs): `i/o-port-error?' imported from both (rnrs files) and (rnrs
io simple)
... <many more like this>
;;; compiled
/home/marco/.cache/guile/ccache/2.0-0.Q-LE-4/home/marco/var/tmp/proof.sps.go
ciao
$ guile -s proof.sps
;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-autocompile argument to disable.
;;; compiling /usr/local/share/guile/2.0/srfi//srfi-11.scm
;;; WARNING: compilation of /usr/local/share/guile/2.0/srfi//srfi-11.scm
failed:
;;; key misc-error, throw_args (#f "~A ~S" ("no code for module" (srfi
srfi-11)) #f)
;;; compiling /usr/local/share/guile/2.0/rnrs/io//ports.scm
;;; WARNING: compilation of /usr/local/share/guile/2.0/rnrs/io//ports.scm
failed:
;;; key misc-error, throw_args (#f "~A ~S" ("no such language" scheme) #f)
ERROR: Unbound variable: define-module
--
Marco Maggi