"make" failing due to hash-ref

20 views
Skip to first unread message

Asumu Takikawa

unread,
Jul 26, 2015, 7:46:32 AM7/26/15
to Racket Dev
Hi all,

I tried updating my Racket install from git for the first time in a while
(predates the new expander I think) and I now consistently get this error on
running "make":

hash-ref: no value found for key
key: "racket-test"
context...:
/home/asumu/plt/racket-git/racket/collects/pkg/private/install.rkt:257:8: for-loop
/home/asumu/plt/racket-git/racket/collects/pkg/private/install.rkt:163:2: install-package/outer
/home/asumu/plt/racket-git/racket/collects/pkg/private/../../racket/private/map.rkt:37:19: loop
/home/asumu/plt/racket-git/racket/collects/pkg/private/../../racket/private/map.rkt:37:19: loop
/home/asumu/plt/racket-git/racket/collects/pkg/private/../../racket/private/map.rkt:37:19: loop
/home/asumu/plt/racket-git/racket/collects/pkg/private/../../racket/private/map.rkt:37:19: loop
/home/asumu/plt/racket-git/racket/collects/pkg/private/../../racket/private/map.rkt:37:19: loop
/home/asumu/plt/racket-git/racket/collects/pkg/private/../../racket/private/map.rkt:37:19: loop
/home/asumu/plt/racket-git/racket/collects/pkg/private/../../racket/private/map.rkt:37:19: loop
/home/asumu/plt/racket-git/racket/collects/pkg/private/../../racket/private/map.rkt:37:19: loop
/home/asumu/plt/racket-git/racket/collects/pkg/private/../../racket/private/map.rkt:37:19: loop
/home/asumu/plt/racket-git/racket/collects/pkg/private/../../racket/private/map.rkt:37:19: loop
/home/asumu/plt/racket-git/racket/collects/pkg/private/../../racket/private/map.rkt:37:19: loop
/home/asumu/plt/racket-git/racket/collects/pkg/private/install.rkt:129:0: install-packages68
/home/asumu/plt/racket-git/racket/collects/racket/file.rkt:368:8
/home/asumu/plt/racket-git/racket/collects/racket/file.rkt:357:0: call-with-file-lock40

Any idea how I can fix this? Also this looks like it might be a bug.

Cheers,
Asumu

Robby Findler

unread,
Jul 26, 2015, 8:19:28 AM7/26/15
to Asumu Takikawa, Racket Dev
If you delete your compiled/ directories and re-run "make" you should
avoid the bug.

Robby
> --
> You received this message because you are subscribed to the Google Groups "Racket Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to racket-dev+...@googlegroups.com.
> To post to this group, send email to racke...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/20150726114629.GA25680%40simplyrobot.org.
> For more options, visit https://groups.google.com/d/optout.

Robby Findler

unread,
Jul 26, 2015, 9:16:28 AM7/26/15
to Asumu Takikawa, Racket Dev
Oh, wait: I'm confused.

What really happened for me: I saw this error and added what seemed to
be the obvious default argument (#f) to hash-ref on line 273 to make
this line:

(not (hash-ref simultaneous-installs (path->pkg f
#:cache path-pkg-cache) #f))))

in commit 48992001. Do you have that commit?

(After I added that commit, I got an error about a pkg conflict which
was the one avoided by deleting compiled/ directories).

Robby

Asumu Takikawa

unread,
Jul 26, 2015, 9:27:46 AM7/26/15
to Robby Findler, Racket Dev
On 2015-07-26 08:16:26 -0500, Robby Findler wrote:
> in commit 48992001. Do you have that commit?

Oh whoops sorry, it turns out I had pulled a couple days ago and had
forgotten to re-pull.

I don't get the error anymore now that I have that commit.

Thanks,
Asumu
Reply all
Reply to author
Forward
0 new messages