Open 9999years opened 3 years ago
It's compiling reprovide/test/other-subdir/indirect-glob-in.rkt
which contains:
#lang racket/base
(require "../use-glob-in.rkt")
This refers to reprovide/test/use-glob-in.rkt
which is:
#lang reprovide
(glob-in "example-directory/*.rkt")
The example directory has an a.rkt
file in it, but the main difference I notice is in the beginning of the paths.
The path in the compilation context where it's testing starts with /root/.local/share/racket/
, while the path its trying/failing to access starts with /home/root/user/.local/share/racket/
.
There's an extra home
directory at the beginning and an extra user
directory in the middle.
I don't know why those would be different yet
Does this error only happen when trying to install the full reprovide-lang
package with tests and docs? Can you avoid it by only attempting to install reprovide-lang-lib
?
With @winny-'s help I was able to reproduce this on the Docker Racket 8.3 version:
$ docker run -ti --rm racket/racket:8.3-full raco pkg install --auto reprovide-lang
Though strangely I did not reproduce the error on the Docker Racket 8.0 version.
Installing / depending-on only reprovide-lang-lib
instead of the full reprovide-lang
is a workaround for now.
Since I don't know much about how Docker interacts with the filesystem and Racket's compilation, who would know where to look for ways of making glob-in
compatible with Docker? Or failing that, where to look for ways of telling raco setup
and raco test
to disable that indirect-glob-in
test only within Docker?
Errors when installing on the
racket/racket:8.0-full
Docker image: