soegaard / whalesong

Whalesong: Racket to JavaScript compiler
http://hashcollision.org/whalesong
145 stars 14 forks source link

Install errors with new macro expander #42

Open stchang opened 9 years ago

stchang commented 9 years ago

Whalesong does not install properly with the latest version of Racket (6.2.900.10), presumably due to changes in the bytecode

Here's some of the errors:

raco setup: --- summary of errors ---
raco setup: error: during making for <pkgs>/whalesong/whalesong (Whalesong)
raco setup:   plt/racket/share/pkgs/whalesong/whalesong/lang/private/qq-and-or.rkt:108:118: idl: unbound identifier in module (in phase 1, transformer environment)
raco setup:     in: idl
raco setup:     compiling: <pkgs>/whalesong/whalesong/lang/private/qq-and-or.rkt
raco setup: error: during making for <pkgs>/whalesong/whalesong/bf
raco setup:   plt/racket/share/pkgs/whalesong/whalesong/lang/private/qq-and-or.rkt:108:118: idl: unbound identifier in module (in phase 1, transformer environment)
raco setup:     in: idl
raco setup:     compiling: <pkgs>/whalesong/whalesong/lang/private/qq-and-or.rkt
raco setup: error: during making for <pkgs>/whalesong/whalesong/compiler
raco setup:   plt/racket/share/pkgs/whalesong/whalesong/parser/parse-bytecode-5.3.3.7.rkt:187:23: match: wrong number for fields for structure prefix: expected 4 but got 3
raco setup:     at: (num-lifts toplevels stxs)
raco setup:     in: (struct prefix (num-lifts toplevels stxs))
raco setup:     compiling: <pkgs>/whalesong/whalesong/parser/parse-bytecode-5.3.3.7.rkt
soegaard commented 9 years ago

2015-09-08 16:59 GMT+02:00 Stephen Chang notifications@github.com:

Whalesong does not install properly with the latest version of Racket (6.2.900.10), presumably due to changes in the bytecode

Here's some of the errors:

raco setup: --- summary of errors --- raco setup: error: during making for /whalesong/whalesong (Whalesong) raco setup: plt/racket/share/pkgs/whalesong/whalesong/lang/private/qq-and-or.rkt:108:118: idl: unbound identifier in module (in phase 1, transformer environment) raco setup: in: idl raco setup: compiling: /whalesong/whalesong/lang/private/qq-and-or.rkt raco setup: error: during making for /whalesong/whalesong/bf raco setup: plt/racket/share/pkgs/whalesong/whalesong/lang/private/qq-and-or.rkt:108:118: idl: unbound identifier in module (in phase 1, transformer environment) raco setup: in: idl raco setup: compiling: /whalesong/whalesong/lang/private/qq-and-or.rkt

My hunch is that the above errors are due to the new expander. Maybe there were a commit to the qq-and-or.rkt in racket when the new expander arrived?

Did anyone compile Whalesong, when the expander were updated?

raco setup: error: during making for /whalesong/whalesong/compiler raco setup: plt/racket/share/pkgs/whalesong/whalesong/parser/parse-bytecode-5.3.3.7.rkt:187:23: match: wrong number for fields for structure prefix: expected 4 but got 3 raco setup: at: (num-lifts toplevels stxs) raco setup: in: (struct prefix (num-lifts toplevels stxs)) raco setup: compiling: /whalesong/whalesong/parser/parse-bytecode-5.3.3.7.rkt

This the due to changes in the bytecode for sure.

/Jens Axel