[racket] raco setup -P in nightly build?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Jun 12 19:46:05 EDT 2012

Yes, the "nothing to do" check is a recent addition, and it didn't take
into account Planet paths. I've pushed a repair.

At Tue, 12 Jun 2012 17:01:44 -0400, Neil Van Dyke wrote:
> Has there been change in the last 2 months in the nightly builds to how 
> "raco setup -P" works with development links?
> 
> The below logs from trying "raco setup" with three different versions of 
> Racket show "/JUNE" (day-old nightly) giving a "raco setup: nothing to 
> do" error.  But "/APRIL" (2-month-old nightly) and "/RELEASE" (5.2.1 
> patched) both work fine.
> 
> All three Racket versions were built from source.
> 
> (Note: For readability of the below, the following edits were made:
> * "/usr/local/racket-5.3.0.10-20120611" was edited to "/JUNE".
> * "/usr/local/racket-5.3.0.1-20120411" was edited to "/APRIL".
> * "/usr/local/racket-5.2.1-patch1" was edited to "/RELEASE".)
> 
> Here's the failing nightly from 1 day ago:
> 
> [~/racket/mcfly] rm -rf ~/.racket/planet/
> [~/racket/mcfly] ls -a ~/.racket
> .  ..  racket-prefs.rktd
> [~/racket/mcfly] rm -r compiled
> [~/racket/mcfly] /JUNE/bin/raco planet link neil mcfly.plt 1 1 
> /home/user/racket/mcfly
> [~/racket/mcfly] /JUNE/bin/raco setup -P neil mcfly.plt 1 1
> raco setup: nothing to do
> [~/racket/mcfly] /JUNE/bin/raco setup -P neil mcfly.plt 1 1
> raco setup: nothing to do
> [~/racket/mcfly] echo $?
> 1
> 
> Here's a successful nightly from 2 months ago (which I have been using 
> all this time):
> 
> [~/racket/mcfly] rm -rf ~/.racket/planet/
> [~/racket/mcfly] ls -a ~/.racket
> .  ..  racket-prefs.rktd
> [~/racket/mcfly] rm -r compiled
> rm: cannot remove `compiled': No such file or directory
> [~/racket/mcfly] /APRIL/bin/raco planet link neil mcfly.plt 1 1 
> /home/user/racket/mcfly
> [~/racket/mcfly] /APRIL/bin/raco setup -P neil mcfly.plt 1 1
> raco setup: version: 5.3.0.1 [3m]
> raco setup: variants: 3m, cgc
> raco setup: main collects: /APRIL/lib/racket/collects
> raco setup: collects paths:
> raco setup:   /home/user/.racket/5.3.0.1/collects
> raco setup:   /APRIL/lib/racket/collects
> raco setup: --- pre-installing collections ---
> raco setup: --- compiling collections ---
> raco setup: making: racket
> raco setup: --- parallel build using 2 processes ---
> raco setup: making: /home/user/racket/mcfly (McFly Runtime)
> raco setup:  in /home/user/racket/mcfly/
> raco setup: --- updating info-domain tables ---
> raco setup: updating: /home/user/.racket/planet/300/5.3.0.1/cache.rktd
> raco setup: --- creating launchers ---
> raco setup: --- building documentation ---
> raco setup: 0 running: /home/user/racket/mcfly/doc.scrbl
> raco setup: 1 skipping: scribblings/main/user/start.scrbl
> raco setup: 1 skipping: scribblings/main/user/search.scrbl
> raco setup: 1 rendering: /home/user/racket/mcfly/doc.scrbl
> raco setup: --- installing collections ---
> raco setup: --- post-installing collections ---
> [~/racket/mcfly] echo $?
> 0
> [~/racket/mcfly] ls -ld compiled
> drwxr-xr-x 2 user user 4096 Jun 12 16:38 compiled
> [~/racket/mcfly]
> 
> Here's a successful 5.2.1 patched:
> 
> [~/racket/mcfly] rm -rf ~/.racket/planet/
> [~/racket/mcfly] ls -a ~/.racket
> .  ..  racket-prefs.rktd
> [~/racket/mcfly] rm -r compiled
> [~/racket/mcfly] /RELEASE/bin/raco planet link neil mcfly.plt 1 1 
> /home/user/racket/mcfly
> [~/racket/mcfly] /RELEASE/bin/raco setup -P neil mcfly.plt 1 1
> raco setup: version: 5.2.1 [3m]
> raco setup: variants: 3m, cgc
> raco setup: main collects: /RELEASE/lib/racket/collects
> raco setup: collects paths:
> raco setup:   /home/user/.racket/5.2.1/collects
> raco setup:   /RELEASE/lib/racket/collects
> raco setup: --- pre-installing collections ---
> raco setup: --- compiling collections ---
> raco setup: making: racket
> raco setup: --- parallel build using 2 processes ---
> raco setup: making: /home/user/racket/mcfly (McFly Runtime)
> raco setup:  in /home/user/racket/mcfly/
> raco setup: --- updating info-domain tables ---
> raco setup: updating: /home/user/.racket/planet/300/5.2.1/cache.rktd
> raco setup: --- creating launchers ---
> raco setup: --- building documentation ---
> raco setup: 0 running: /home/user/racket/mcfly/doc.scrbl
> raco setup: 1 skipping: scribblings/main/user/start.scrbl
> raco setup: 1 skipping: scribblings/main/user/search.scrbl
> raco setup: 1 rendering: /home/user/racket/mcfly/doc.scrbl
> raco setup: --- installing collections ---
> raco setup: --- post-installing collections ---
> [~/racket/mcfly] echo $?
> 0
> 
> Maybe I'm just confused.  I'm lazily hoping someone knows the answer 
> offhand.
> 
> Neil V.
> 
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Posted on the users mailing list.