[racket-dev] Compilation dependencies

From: Carl Eastlund (cce at ccs.neu.edu)
Date: Wed Jul 10 20:13:22 EDT 2013

There were some dependency errors:

raco setup: --- checking package dependencies ---
raco setup: found undeclared dependency:
raco setup:   mode: build
raco setup:   for package: "errortrace-lib"
raco setup:   on package: "compatibility-lib"
raco setup:   dependent source: zo-compile_rkt.dep
raco setup:   used module: (lib "mzscheme/main.rkt")
raco setup: --- summary of missing dependencies ---
raco setup: undeclared dependency detected
raco setup:   for package: "errortrace-lib"
raco setup:   on package for build:
raco setup:    "compatibility-lib"

Then there were a large number of errors of this form for vector->flvector
and flvector->list:

raco setup: error: during making for <pkgs>/math/private/distributions
raco setup:   pkgs/math/private/distributions/beta-dist.rkt:69:42: link:
module mismatch;
raco setup:    possibly, bytecode file needs re-compile because
dependencies changed
raco setup:     importing module: 'beta-dist
raco setup:     exporting module:
"/Users/cce/git/racket/generics/pkgs/math/private/flonum/flvector.rkt"
raco setup:     exporting phase level: 0
raco setup:     internal explanation: variable not provided (directly or
indirectly)
raco setup:     at: flvector->list
raco setup:     in: flvector->list.16
raco setup:     context...:
raco setup:      success
raco setup:
/Users/cce/git/racket/generics/pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/typed-racket.rkt:53:4
raco setup:
/Users/cce/git/racket/generics/racket/lib/collects/compiler/cm.rkt:345:0:
compile-zo*
raco setup:
/Users/cce/git/racket/generics/racket/lib/collects/compiler/cm.rkt:552:26
raco setup:
/Users/cce/git/racket/generics/racket/lib/collects/compiler/cm.rkt:545:42
raco setup:
/Users/cce/git/racket/generics/racket/lib/collects/compiler/cm.rkt:510:0:
maybe-compile-zo
raco setup:
/Users/cce/git/racket/generics/racket/lib/collects/compiler/cm.rkt:622:2:
do-check
raco setup:
/Users/cce/git/racket/generics/racket/lib/collects/compiler/cm.rkt:703:4
raco setup:
/Users/cce/git/racket/generics/racket/lib/collects/setup/parallel-do.rkt:420:20:
loop


Carl Eastlund


On Wed, Jul 10, 2013 at 8:08 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

> At Wed, 10 Jul 2013 19:41:44 -0400, Carl Eastlund wrote:
> > raco setup:   pkgs/math/private/distributions/beta-dist.rkt:69:42: link:
> > module mismatch;
> > raco setup:    possibly, bytecode file needs re-compile because
> > dependencies changed
> >
> > I got this error after updating my git checkout and running "make".
>
> Can you show more of the error message and context?
>
> The exporting module and phase level may help debug the problem, and
> I wonder whether the lines before can provide any hints.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20130710/bd872916/attachment.html>

Posted on the dev mailing list.