Re: [racket-dev] Racket sources getting mysteriously out of sync

2013-01-17 Thread Robby Findler
You could try to see if it goes away when you don't set PLTCOMPILEDROOTS.
If you look in cm, you'll see some code that pre-dates logging that, under
some situations, prints out logging information. You could do some hack to
turn that on (or, even better change it to use logging) and see if that
turns anything up.

Robby


On Thu, Jan 17, 2013 at 12:20 PM, Carl Eastlund  wrote:

> Recently I've run into some odd cases where I run "raco setup" and it
> rebuilds a whole bunch of stuff that should have been up-to-date.
>
> For instance, I have seen it rebuild all of the collections in a
> downloaded, pre-built installation of Racket that I had been using for a
> while.  After the rebuild, many uses of "raco make" sped way up -- somehow,
> having out of sync collections slowed it down, yet it was not amortizing
> this cost by bringing them up to date as it went.
>
> Just now, I built an up-to-date git checkout from scratch, up through make
> install, then ran raco setup again and watched it re-run and re-render all
> of the Scribble documentation.
>
> Has anyone else seen behavior like this?  Is there some way I might be
> misconfiguring things that would cause this?  I'm mystified, and I'd like
> to stop wasting time rebuilding things over and over.
>
> For reference, I always have the following environment variables set:
>   PLTHOME = root of whichever PLT tree I am using
>   PLTADDONDIR = $PLTHOME/add-on
>   PLTPLANETDIR=$PLTHOME/add-on/planet
>   PLTCOMPILEDROOTS=$PLTHOME/zos/v@(version):
>
> Carl Eastlund
>
> _
>   Racket Developers list:
>   http://lists.racket-lang.org/dev
>
>
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Racket sources getting mysteriously out of sync

2013-01-17 Thread Laurent
I have indeed seen some similar behavior:
On a Unix-like install, without changing any of Racket-bundled sources,
from time to time, when I recompile one of my collections with `raco setup
my-collection` it tries to rebuild all of Racket source tree (but fails,
because it does not have write permissions).
However, running the same command again does not trigger the full
recompilation anyway (which is fortunate).
It's quite rare though and I could find a way to reproduce it consistently.

Laurent


On Thu, Jan 17, 2013 at 7:20 PM, Carl Eastlund  wrote:

> Recently I've run into some odd cases where I run "raco setup" and it
> rebuilds a whole bunch of stuff that should have been up-to-date.
>
> For instance, I have seen it rebuild all of the collections in a
> downloaded, pre-built installation of Racket that I had been using for a
> while.  After the rebuild, many uses of "raco make" sped way up -- somehow,
> having out of sync collections slowed it down, yet it was not amortizing
> this cost by bringing them up to date as it went.
>
> Just now, I built an up-to-date git checkout from scratch, up through make
> install, then ran raco setup again and watched it re-run and re-render all
> of the Scribble documentation.
>
> Has anyone else seen behavior like this?  Is there some way I might be
> misconfiguring things that would cause this?  I'm mystified, and I'd like
> to stop wasting time rebuilding things over and over.
>
> For reference, I always have the following environment variables set:
>   PLTHOME = root of whichever PLT tree I am using
>   PLTADDONDIR = $PLTHOME/add-on
>   PLTPLANETDIR=$PLTHOME/add-on/planet
>   PLTCOMPILEDROOTS=$PLTHOME/zos/v@(version):
>
> Carl Eastlund
>
> _
>   Racket Developers list:
>   http://lists.racket-lang.org/dev
>
>
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] Racket sources getting mysteriously out of sync

2013-01-17 Thread Carl Eastlund
Recently I've run into some odd cases where I run "raco setup" and it
rebuilds a whole bunch of stuff that should have been up-to-date.

For instance, I have seen it rebuild all of the collections in a
downloaded, pre-built installation of Racket that I had been using for a
while.  After the rebuild, many uses of "raco make" sped way up -- somehow,
having out of sync collections slowed it down, yet it was not amortizing
this cost by bringing them up to date as it went.

Just now, I built an up-to-date git checkout from scratch, up through make
install, then ran raco setup again and watched it re-run and re-render all
of the Scribble documentation.

Has anyone else seen behavior like this?  Is there some way I might be
misconfiguring things that would cause this?  I'm mystified, and I'd like
to stop wasting time rebuilding things over and over.

For reference, I always have the following environment variables set:
  PLTHOME = root of whichever PLT tree I am using
  PLTADDONDIR = $PLTHOME/add-on
  PLTPLANETDIR=$PLTHOME/add-on/planet
  PLTCOMPILEDROOTS=$PLTHOME/zos/v@(version):

Carl Eastlund
_
  Racket Developers list:
  http://lists.racket-lang.org/dev