<div dir="ltr">I get the same thing. Also, the error message is particularly unhelpful. It does not give the name of the module, a source location, or any indication of what part of the module did not match what part of the grammar in what way. This is pretty much impossible to debug without searching for every use of #%declare in the code base, and tracking down every macro that can possibly expand into it.<br>
</div><div class="gmail_extra"><br clear="all"><div>Carl Eastlund</div>
<br><br><div class="gmail_quote">On Mon, Jul 22, 2013 at 5:14 PM, Stephen Chang <span dir="ltr"><<a href="mailto:stchang@ccs.neu.edu" target="_blank">stchang@ccs.neu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When compiling a fresh git head clone, I still get some cross-phase<br>
persistence errors (see below). Is this my fault, or are some packages<br>
still missing the declaration?<br>
<br>
<br>
raco setup: --- checking package dependencies ---<br>
raco setup:<br>
raco setup: error: during making for<br>
<pkgs>/errortrace-doc/errortrace/scribblings<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/errortrace-lib/errortrace<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/errortrace-lib/errortrace<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/errortrace-lib/errortrace<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/errortrace-lib/errortrace<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/errortrace-lib/errortrace<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/errortrace-lib/errortrace/lang<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/algol60<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/drracket/drscheme<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/drracket/drracket<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/drracket/drracket/private<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/drracket/scribble/tools<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/drracket/scribblings/tools<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/drracket/scribblings/tools<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/drracket/scribblings/tools<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/drracket/scribblings/drracket<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/drracket/drracket/private<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/drracket/scribblings/drracket<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
raco setup:<br>
raco setup: error: during making for <pkgs>/drracket/drracket/private<br>
raco setup: module: does not satisfy cross-phase persistent grammar<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Jul 22, 2013 at 12:18 PM, Matthew Flatt <<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>> wrote:<br>
> As of v5.90.0.2 (pending), to declare a cross-phase persistent module,<br>
> the module body must include<br>
><br>
> (#%declare #:cross-phase-persistent)<br>
><br>
> If the module declaration fails to meet the syntactic and import<br>
> constraints of a cross-phase persistent module, then a syntax error is<br>
> reported.<br>
><br>
> This change is backward-incompatible in two ways:<br>
><br>
> * Module declarations that are intended as cross-phase persistent<br>
> won't be, anymore, until a `#%declare' form is added.<br>
><br>
> I think cross-phase persistence is new enough --- and the old, quiet<br>
> inference of persistence is sufficiently distressing --- that this<br>
> won't be much of an issue.<br>
><br>
> * The grammar of fully-expanded modules now includes `#%declare'<br>
> forms.<br>
><br>
> Programs that process fully-expanded modules are not common, but I<br>
> expect that they exist outside of the main distribution. Those<br>
> programs will need to be updated. Meanwhile, they won't break until<br>
> they see a module that has a `#%declare' form, which won't happen<br>
> often (at least for the near future).<br>
><br>
> Although `#:cross-phase-persistent' is the only keyword recognized by<br>
> `#%declare' initially, we'll add more. One possibility is a declaration<br>
> that corresponds to `compile-enforce-module-constants'.<br>
><br>
> I named the form `#%declare' instead of `declare' to avoid conflicts,<br>
> and also because I expect the form to be used more often in macro<br>
> expansions than directly, so it seems like a "#%" kind of form.<br>
><br>
> _________________________<br>
> Racket Developers list:<br>
> <a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
_________________________<br>
Racket Developers list:<br>
<a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
</div></div></blockquote></div><br></div>