[racket-dev] build problems on plt/release branch?

From: Danny Yoo (dyoo at hashcollision.org)
Date: Wed Oct 17 15:33:44 EDT 2012

>
> Ok, will do.  Will report back when the build completes.


Followup:  wow. Ok, so I figured out what was going on, sorta.  Let me
show it just in case anyone else encounters something this weird.

---

So I first tried making my repository clean by doing "git clean -fdx",
which is supposed to return the repository to its pristine state.

##############
155-99-188-246:collects dyoo$ git clean -fdx
Removing tmp/
##############

The repository should be clean now.  Just out of a whim, I tried the
command again:


##############
155-99-188-246:collects dyoo$ git clean -fdx
Removing tmp/
##############

... wait.  What in the world?  Why is it still there?  Why isn't tmp
actually being deleted?


And what's in there?

##############
155-99-188-246:collects dyoo$ cd tmp
155-99-188-246:tmp dyoo$ ls
racket
155-99-188-246:tmp dyoo$ cd racket
155-99-188-246:tmp dyoo$ ls -a
.git/           GRacket.app/    bin/            man/
.gitattributes  PLT Games.app/  collects/       src/
.gitignore      README          doc/
.mailmap        SirMail.app/    include/
DrRacket.app/   Slideshow.app/  lib/
##############

... What?!!

Somehow, I had an extra copy of the entire repository in collects/tmp.
 And 'git clean -fdx' doesn't remove things that look like git
repositories.


I removed the erroneous "collects/tmp" from my repository, and then
rebuilt the software with no problems.

My apologies to everyone for calling wolf.  I still have no idea where
this collects/tmp thing came from in the first place, but hopefully no
one else has encountered this.

Posted on the dev mailing list.