Version number issue with snapshot 7.5.0.6

35 views
Skip to first unread message

David Storrs

unread,
Nov 4, 2019, 11:31:03 AM11/4/19
to Racket Users
read-compiled-linklet: version mismatch expected: "7.5.0.5" found:
"7.5.0.6" in: /Applications/snapshot_Racket_v7.5.0.6/collects/racket/compiled/main_rkt.zo

I'm on OSX 10.11.6 if that matters.

John Clements

unread,
Nov 4, 2019, 11:44:49 AM11/4/19
to David Storrs, Racket Users
Forgive me if I’m missing something important, but I see messages like this all the time when I’m using two installations of racket simultaneously on one machine. It suggests to me that you need to recompile using a raco make, or just delete the compiled files. Again, apologies if I’m misunderstanding your issue!

John Clements
> --
> You received this message because you are subscribed to the Google Groups "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAE8gKocTtpS1LJMJ_v1XHpoCFUFdUyyshU1a-MgQFjxhxdmwiw%40mail.gmail.com.



Matthew Flatt

unread,
Nov 4, 2019, 11:47:45 AM11/4/19
to David Storrs, Racket Users
I'm not yet able to replicate this problem. Can you say more about
which installer you downloaded and what command you ran to get that
error?

(I tried the current NWU "Racket plus Tests" snapshot, the current Utah
"Racket" snapshot, and yesterday's Utah "Racket" snapshot, all for
x86_64 Mac OS and running `racket` and `drracket`. Installation was by
dragging the folder to my desktop.)

Based on the path name, that ".zo" file really should be version
"7.5.0.6", so I'm not clear on why the executable expects a different
version.

David Storrs

unread,
Nov 4, 2019, 12:00:20 PM11/4/19
to John Clements, Racket Users
On Mon, Nov 4, 2019 at 11:44 AM John Clements <clem...@brinckerhoff.org> wrote:
>
> Forgive me if I’m missing something important, but I see messages like this all the time when I’m using two installations of racket simultaneously on one machine. It suggests to me that you need to recompile using a raco make, or just delete the compiled files. Again, apologies if I’m misunderstanding your issue!

No, you're exactly right, and I'm in the process of compiling. I was
simply surprised that the shipped version (albeit in a nightly
snapshot) had this issue and wanted to call it out.

David Storrs

unread,
Nov 4, 2019, 12:08:26 PM11/4/19
to Matthew Flatt, Racket Users
On Mon, Nov 4, 2019 at 11:47 AM Matthew Flatt <mfl...@cs.utah.edu> wrote:
>
> At Mon, 4 Nov 2019 11:30:49 -0500, David Storrs wrote:
> > read-compiled-linklet: version mismatch expected: "7.5.0.5" found:
> > "7.5.0.6" in:
> > /Applications/snapshot_Racket_v7.5.0.6/collects/racket/compiled/main_rkt.zo
> >
> > I'm on OSX 10.11.6 if that matters.
>
> I'm not yet able to replicate this problem. Can you say more about
> which installer you downloaded and what command you ran to get that
> error?

Huh, odd.

I downloaded https://www.cs.utah.edu/plt/snapshots/current/installers/racket-7.5.0.6-x86_64-macosx.dmg
and I was running a bunch of local-built networking code. I had to do
some faffing about to get PLTCOLLECTS and such set up properly, so it
may be a purely my-problem problem.

One thing I did find odd:

$ which raco
/Applications/snapshot_Racket_v7.5.0.6/bin/raco

$ raco pkg install handy
/Applications/snapshot_Racket_v7.5.0.6/bin/raco: Unrecognized command: pkg

Usage: raco <command> <option> ... <arg> ...

Frequently used commands:
docs search and view documentation
make compile source to bytecode
planet manage Planet package installations
exe create executable
test run tests associated with files/directories

A command can be specified by an unambiguous prefix.
See `raco help' for a complete list of commands.
See `raco help <command>' for help on a command.

$ raco help
Usage: raco <command> <option> ... <arg> ...

Frequently used commands:
docs search and view documentation
make compile source to bytecode
planet manage Planet package installations
exe create executable
test run tests associated with files/directories

All available commands:
check-requires check for useless requires
contract-profile profile overhead from contracts
ctool compile and link C-based extensions
decompile decompile bytecode
demodularize produce a whole program from a single module
dependencies-graph opens a GUI window showing transitive module
dependencies (aka `Module Browser')
distribute prepare executable(s) in a directory for distribution
docs search and view documentation
exe create executable
expand macro-expand source
macro-profiler profile macro expansion (code size)
macro-stepper explore expansion steps
make compile source to bytecode
pack pack files/collections into a .plt archive
planet manage Planet package installations
profile profile execution time
read read and pretty-print source
scribble render a Scribble document
show-dependencies show module dependencies
slideshow render a Slideshow document
test run tests associated with files/directories
unpack unpack files/collections from a .plt archive

A command can be specified by an unambiguous prefix.
See `raco help <command>' for help on a command.


This is probably a mistake on my end, and it may fix itself once the
recompile finishes (maybe?) but why would the pkg command be missing?
Reply all
Reply to author
Forward
0 new messages