[racket-dev] randomly needing to re-run raco setup lazy?

From: John Clements (clements at brinckerhoff.org)
Date: Tue Mar 15 17:55:11 EDT 2011

I find that frequently installing a planet package or recompiling some collection that contains a tool causes this startup message[*]:

pcp070579pcs:/tmp clements$ link: reference (phase 0) to a variable in module "/Users/clements/plt/collects/string-constants/string-constant.rkt" that is uninitialized (phase level 0); reference appears in module: "/Users/clements/plt/collects/lazy/info.rkt" in: language

 === context ===
/Users/clements/plt/collects/lazy/info.rkt: [running body]
/Users/clements/plt/collects/setup/getinfo.rkt:28:0: get-info/full
/Users/clements/plt/collects/drracket/private/language-configuration.rkt:1214:4: add-info-specified-language
/Users/clements/plt/collects/racket/private/map.rkt:45:11: for-each
/Users/clements/plt/collects/drracket/private/tools.rkt:453:0: run-phases
/Users/clements/plt/collects/drracket/tool-lib.rkt: [running body]
/Users/clements/plt/collects/drracket/private/drracket-normal.rkt: [running body]
/Users/clements/plt/collects/drracket/drracket.rkt: [running body]

I then run raco setup lazy, and everything works fine.  My question: is this happening to our users, as well? That would be bad.

John

[*] exactly this one? I'm not sure. I know that re-running setup on lazy solves the problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4669 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110315/aa0312cb/attachment.p7s>

Posted on the dev mailing list.