[plt-scheme] Most recent mzc b0rked on compile-subcollections in infotab

From: Robby Findler (robby at cs.uchicago.edu)
Date: Fri Feb 3 11:55:21 EST 2006

I believe this is fixed in 301.

Robby

At Fri, 3 Feb 2006 08:44:55 -0800 (PST), Noel Welsh wrote:
> I've tried to compile PLT Scheme from a recent (yesterday,
> I think) svn checkout.  It is currently breaking on the
> compile-subcollections statement in the science
> collection's info.ss. 
> 
> Here's the definition of compile-subcollections in the 301
> mzc manual:
> 
> compile-subcollections -- a list of sub-collection
> sub-paths, where each sub-path is a list of strings; each
> full sub-collection path is formed by appending the
> sub-path to the path of the collection being compiled. Each
> sub-collection is compiled in the same way as the current
> collection, using the info.ss library of the
> sub-collection. This information is optional.
> 
> Here's the value in the info.ss:
> 
> (define compile-subcollections
>     (list (list "special-functions")
>           (list "random-distributions")))
> 
> 
> Here's the error message:
> 
> build-path: expects type <path, string, 'up, 'same> as 2nd
> argument, given: ("special-functions"); other arguments
> were:
> #<path:/home/pg/nhw/.plt-scheme/planet/300/300/cache/williams/science.plt/2/0>
> 
> 
> There is this is compiler-unit.ss in the compiler
> collection:
> 
> (when (compile-subcollections)
>                 (for-each
>                  ;; bug! planet files will do the wrong
> thing here
>                  (lambda (s)
>                    (unless (and (pair? s) (list? s) (andmap
> string? s))
>                      (error 'compile-collection "bad
> sub-collection path: ~a" s))
> 
> 
> So perhaps this bug is known and being worked on.
> 
> N.
> 
> Email: noelwelsh <at> yahoo <dot> com   noel <at> untyped <dot> com
> AIM: noelhwelsh
> Blogs: http://monospaced.blogspot.com/  http://www.untyped.com/untyping/
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme


Posted on the users mailing list.