sschwarzer
2021-10-20 11:36:54

While working on a feature, I’m trying to build Racket from Git and make gives me raco setup: error: during making for <pkgs>/racket-doc/scribblings/more raco setup: racket/share/pkgs/xrepl-lib/xrepl/xrepl.rkt:18:21: cannot open module file raco setup: module path: racket/interaction-info raco setup: path: /home/schwa/sd/racket/racket/racket/collects/racket/interaction-info.rkt raco setup: system error: no such file or directory; rkt_err=3 raco setup: compiling: <pkgs>/xrepl-lib/xrepl/xrepl.rkt and three more such sections about a missing interaction-info.rkt file.

It might be related that I pressed ctrl-c during an earlier make or make derived invocation, but I don’t know if that’s relevant.

Anyway, I wonder how to recover from this problem. A web search doesn’t find interaction-info.rkt , neither gives me a search for “interaction-info” any hits on the Racket package server. Neither is the file present in my “regular” Racket 8.2 CS install.


mflatt
2021-10-20 12:30:28

racket/interaction-info is new in the last couple of days. I’m guessing that you didn’t git pull because that will interfere with your ongoing work. Unfortunately, though, the default make target is not set up to accommodate the Racket Git checkout being older than packages that depend on it.

You can get back the old xrepl using something like raco pkg update --checksum 3e0f28423de0558e8a63b07b343d5b6cda5eb521 xrepl-lib.

Going forward, you can make without updating packages by using make as-is. You might want to temporarily adjust your makefile so that as-is is the default.


sschwarzer
2021-10-20 12:31:22

A few minutes ago I pulled master and rebased my branch on it. make is still running. :wink: (Last time I had pulled was only a few days ago.)


sschwarzer
2021-10-20 12:33:29

I don’t know if master will interfere with my branch’s work. I guess/hope not. :slightly_smiling_face: After the change to 8.3 on master I had only merge conflicts in one auto-generated file. I hope that’s a good sign. :wink:


sschwarzer
2021-10-20 12:33:47

Thanks for the tip about make as-is. :+1: