Errors on installation (recently)
Closed this issue · 4 comments
I'm not sure the exact commit that broke things, but the current version of cover
throws errors on installation. I'm not using cover
directly, but one of my dependencies must be.
I've patched things in the mean time by putting this in my info.rkt
file:
"https://github.com/florence/cover.git#8c1268406dc97"
So #8c1268406dc97 must have been fine.
Otherwise, I get errors like these in my Dockerized 7.5 Racket environment.
open-input-file: cannot open module file
module path: cover
path: /root/.racket/7.5/pkgs/cover/main.rkt
system error: no such file or directory; rktio_err=3
compilation context...:
/root/.racket/7.5/pkgs/cover/cover-lib/cover/raco.rkt
context...:
maybe-raise-missing-module
default-load-handler
standard-module-name-resolver
module-path-index-resolve
perform-require!78
for-loop
finish
[repeats 10 more times]
pass-1-and-2-loop
module-begin-k
expand-module16
expand-capturing-lifts
temp118_0
temp91_0
compile15
/usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0: compile-zo*66
...
standard-module-name-resolver: collection not found
for module path: cover/private/shared
collection: "cover/private"
in collection directories:
/root/.racket/7.5/collects
/usr/share/racket/collects
... [217 additional linked and package directories]
sub-collection: "private"
in parent directories:
/root/.racket/7.5/pkgs/cover
compilation context...:
/root/.racket/7.5/pkgs/cover/cover-test/format-utils.rkt
context...:
show-collection-err
standard-module-name-resolver
module-path-index-resolve
perform-require!78
for-loop
finish
[repeats 13 more times]
pass-1-and-2-loop
module-begin-k
expand-module16
expand-capturing-lifts
temp118_0
temp91_0
compile15
/usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0: compile-zo*66
/usr/share/racket/collects/compiler/private/cm-minimal.rkt:731:15
...
standard-module-name-resolver: collection not found
for module path: cover/private/shared
collection: "cover/private"
in collection directories:
/root/.racket/7.5/collects
/usr/share/racket/collects
... [217 additional linked and package directories]
sub-collection: "private"
in parent directories:
/root/.racket/7.5/pkgs/cover
compilation context...:
/root/.racket/7.5/pkgs/cover/cover-test/format-utils.rkt
context...:
show-collection-err
standard-module-name-resolver
module-path-index-resolve
perform-require!78
for-loop
finish
[repeats 13 more times]
pass-1-and-2-loop
module-begin-k
expand-module16
expand-capturing-lifts
temp118_0
temp91_0
compile15
/usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0: compile-zo*66
/usr/share/racket/collects/compiler/private/cm-minimal.rkt:731:15
...
I suspect this is because I split cover into multiple packages. But I have no clue why this would be happening, its like you're somehow getting the version from racket 7.5 and the version on HEAD...
Oh, looks like I just didn't update the configuration on the package server. It should be fixed now!
(Or rather, it should be fixed with the next index refresh, this evening)