[racket-dev] Build error

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jan 7 12:45:27 EST 2015

I wasn't able to replicate the problem, but I think I see what could go
wrong. I've pushed an attempt at a repair.

At Wed, 7 Jan 2015 18:31:35 +0100, Jens Axel Søgaard wrote:
> Hi All,
> 
> I got a contract when I tried to build racket. Any ideas?
> 
> The main error is below.
> Entire log is here:
>     https://gist.github.com/soegaard/aa8ea014e043a899a5a2
> 
> /Jens Axel
> 
> 
> package-source->name+type: contract violation
>   expected: (or/c #f (or/c (quote name) (quote file) (quote dir)
> (quote git) (quote github) (quote clone) (quote file-url) (quote
> dir-url) (quote link) (quote static-link)))
>   given: 'catalog
>   in: the 2nd argument of
>       (->*
>        (string?
>         (or/c
>          #f
>          (or/c 'name 'file 'dir 'git  'github 'clone  'file-url
> 'dir-url  'link    'static-link)))
>        <more>
> 
>   contract from: <collects>/pkg/name.rkt
> 
>   blaming: <collects>/pkg/private/install.rkt
> 
>    (assuming the contract is correct)
> 
>   at: <collects>/pkg/name.rkt:11.3
> 
>   context...:
> 
>    
> /Users/soegaard/racket-from-plt-git/plt/racket/collects/racket/contract/private/
> blame.rkt:143:0:
> raise-blame-error16
> 
>    
> /Users/soegaard/racket-from-plt-git/plt/racket/collects/racket/contract/private/
> arrow-val-first.rkt:283:3
> 
>    
> /Users/soegaard/racket-from-plt-git/plt/racket/collects/pkg/private/install.rkt:
> 925:2:
> update-loop
> 
>    
> /Users/soegaard/racket-from-plt-git/plt/racket/collects/racket/list.rkt:429:2:
> append-map
> 
>    
> /Users/soegaard/racket-from-plt-git/plt/racket/collects/pkg/private/install.rkt:
> 1097:0:
> pkg-update195
> 
>    /Users/soegaard/racket-from-plt-git/plt/racket/collects/racket/file.rkt:368:8
> 
>    
> /Users/soegaard/racket-from-plt-git/plt/racket/collects/racket/file.rkt:357:0:
> call-with-file-lock40
> 
>    /Users/soegaard/racket-from-plt-git/plt/racket/collects/pkg/main.rkt:307:16
> 
>    (submod /Users/soegaard/racket-from-plt-git/plt/racket/collects/pkg/main.rkt
> main): [running body]
> 
>    /Users/soegaard/racket-from-plt-git/plt/racket/collects/pkg/raco.rkt:
> [traversing imports]
> 
>    /Users/soegaard/racket-from-plt-git/plt/racket/collects/raco/raco.rkt:
> [running body]
> 
>    /Users/soegaard/racket-from-plt-git/plt/racket/collects/raco/main.rkt:
> [running body]
> 
> make[2]: *** [plain-in-place] Error 1
> 
> make[1]: *** [cpus-in-place] Error 2
> 
> make: *** [in-place] Error 2
> 
> 
> -- 
> --
> Jens Axel Søgaard
> 
> _________________________
>   Racket Developers list:
>   http://lists.racket-lang.org/dev


Posted on the dev mailing list.