[racket] Raco link causing problems when building racket

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Wed Dec 26 20:31:25 EST 2012

I've reported this problem to Matthew. There's nothing after "raco
setup" on "make install" so if you just do your own "raco setup" (with
no arguments) after the "make install" everything will work out okay.

Jay

On Wed, Dec 26, 2012 at 6:23 PM, Eric Dobson <eric.n.dobson at gmail.com> wrote:
> I am working on developing a planet2 package, and so have a local directory
> on my system linked as a collection root.
>
> endobson at yggdrasil () ~/proj/racket/websocket % raco link -d .
> endobson at yggdrasil () ~/proj/racket/websocket % raco link --list
> User links:
>  collection: "racket-llvm"  path: "/Users/endobson/proj/racket/racket-llvm"
>  collection: "fscheck"  path: "/Users/endobson/proj/racket/fscheck"
>  root  path: "/Users/endobson/proj/racket/websocket"
> Installation links:
>
> But now when I build racket I get the following error:
> endobson at yggdrasil () ~/proj/racket/plt/src/build % make -j 10 && make
> install -j 10
> <SNIPPED>
> env CFLAGS="-g -O2  -Wall  -DOS_X -D_DARWIN_UNLIMITED_SELECT -pthread"
> LDFLAGS="-pthread"  racket/racket3m -X
> "/Users/endobson/proj/racket/plt/collects" -N "raco setup" -l- setup
> --no-user
> raco setup: version: 5.3.1.10 [3m]
> raco setup: variants: 3m
> raco setup: main collects: /Users/endobson/proj/racket/plt/collects
> raco setup: collects paths:
> raco setup:   /Users/endobson/proj/racket/plt/collects
> raco setup: --- pre-installing collections ---
> raco setup: --- compiling collections ---
> raco setup: making: racket
> omitted-paths: given directory path is not in any collection root:
> #<path:/Users/endobson/proj/racket/websocket/net/websocket>
>   context...:
>
> /Users/endobson/proj/racket/plt/collects/setup/private/omitted-paths.rkt:86:0:
> omitted-paths*
>
> /Users/endobson/proj/racket/plt/collects/racket/private/more-scheme.rkt:369:13:
> hash-ref!
>    /Users/endobson/proj/racket/plt/collects/setup/setup-unit.rkt:210:2:
> core139
>    /Users/endobson/proj/racket/plt/collects/racket/list.rkt:293:0:
> filter-map
>    /Users/endobson/proj/racket/plt/collects/setup/setup-unit.rkt:391:4:
> build-collection-tree
>
> /Users/endobson/proj/racket/plt/collects/setup/../racket/private/map.rkt:26:19:
> loop
>
> /Users/endobson/proj/racket/plt/collects/setup/../racket/private/map.rkt:26:19:
> loop
>
> /Users/endobson/proj/racket/plt/collects/setup/../racket/private/map.rkt:26:19:
> loop
>
> /Users/endobson/proj/racket/plt/collects/setup/../racket/private/map.rkt:26:19:
> loop
>
> /Users/endobson/proj/racket/plt/collects/setup/../racket/private/map.rkt:26:19:
> loop
>
> /Users/endobson/proj/racket/plt/collects/setup/../racket/private/map.rkt:26:19:
> loop
>
> /Users/endobson/proj/racket/plt/collects/setup/../racket/private/map.rkt:26:19:
> loop
>
> /Users/endobson/proj/racket/plt/collects/setup/../racket/private/map.rkt:26:19:
> loop
>
> /Users/endobson/proj/racket/plt/collects/setup/../racket/private/map.rkt:26:19:
> loop
>
> /Users/endobson/proj/racket/plt/collects/setup/../racket/private/map.rkt:26:19:
> loop
>
> /Users/endobson/proj/racket/plt/collects/setup/../racket/private/map.rkt:26:19:
> loop...
>
> This goes away if I remove the link. raco setup with --no-user gives me the
> same error message, but I am confused as why it is looking for files there
> when no-user is specified as it shouldn't be looking in my user specific
> directories then.
>
> Is there a way to get this to work without me removing and adding the
> directory on every build of racket?
>
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

"The glory of God is Intelligence" - D&C 93

Posted on the users mailing list.