[racket] Raco link causing problems when building racket

From: Eric Dobson (eric.n.dobson at gmail.com)
Date: Wed Dec 26 20:23:09 EST 2012

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20121226/3222354d/attachment.html>

Posted on the users mailing list.