[racket-dev] possible bug with 5.* versions and zo files

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Jun 29 09:46:29 EDT 2010

I saw this problem yesterday, too, but I thought I had fixed it.

For me, commit fe60da72c8d6525954f965144ea4dc49b6cf40a4 created the
problem. Commit e78b5d722eb7396478cd8558b2b9786ce9c52537 fixed it.
If you already have the latter, though, there must be some other problem.

At Tue, 29 Jun 2010 09:40:54 -0400, Sam Tobin-Hochstadt wrote:
> When I went to rebuild the latest source this morning, I got the
> following error from 'make install':
> 
> racket/racket3m -X "/home/samth/sw/plt/collects" -N "raco setup" -l- setup
> raco setup: bootstrapping from source...
> /home/samth/sw/plt/collects/unstable/private/compiled/expand_ss.zo::0:
> read (compiled): code compiled for version 5.0.0.1, not 5.0.0.2
> 
> I was under the impression that "bootstrapping from source" was meant
> to avoid this possibility, and that this error shouldn't happen.
> After removing that file, I tried running 'raco setup', and got:
> 
> [samth at punge:~/sw/plt (master) plt] raco setup
> raco setup: WARNING: collects/teachpack/compiled/info_ss.zo::0: read
> (compiled): code compiled for version 5.0.0.1, not 5.0.0.2
> collects/teachpack/compiled/info_ss.zo::0: read (compiled): code
> compiled for version 5.0.0.1, not 5.0.0.2
> 
> Since this is the first time that we've had an increment in the
> version number when starting with 5, I'm suspicious that that might be
> related.
> -- 
> sam th
> samth at ccs.neu.edu
> _________________________________________________
>   For list-related administrative tasks:
>   http://lists.racket-lang.org/listinfo/dev


Posted on the dev mailing list.