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

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Tue Jun 29 10:02:06 EDT 2010

On Tue, Jun 29, 2010 at 9:46 AM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> 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.

I do have the latter.  I ran into this problem after a pull and rebase
to (slightly beyond) the current HEAD.  My current changes definitely
don't affect this, but it might be that since the update included all
of the changes to CM under discussion, that something might have been
stale there.  I can try further tests if that would be helpful.

> 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
>



-- 
sam th
samth at ccs.neu.edu


Posted on the dev mailing list.