[racket-dev] raco pkg install permission errors in 5.90?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Nov 21 08:43:08 EST 2013

When I try similar steps, I get an error related to using the
installation's read-only documentation database (I'll investigate
more), but not a problem in the bytecode-building phase.


It looks like the failure is happening at a place where `raco setup` is
trying to fix up a file timestamps. That is, the timestamp on

 scheme-lib/scheme/compiled/serialize_rkt.zo

is apparently earlier than one of its dependencies. Based on SHA-1s,
`raco setup` knows that it doesn't need to recompile the file, but it's
trying to fix the timestamp.


Do you have any ideas on why file timestamps might be sync in the
installation?


At Wed, 20 Nov 2013 10:59:19 -0500, Greg Hendershott wrote:
> I've been meaning to ask.
> 
> With 5.90, `raco pkg install` gives a ton of permission errors... but
> works anyway.
> 
> Prior to 5.90 (e.g. with 5.3.5 and 5.3.6) this didn't happen.
> 
> I guess technically it is `raco setup` as run by `raco pkg install`.
> 
> Example transcript: https://gist.github.com/greghendershott/7565513
> 
> Is this as-intended and starting with 5.90 it needs to be `sudo`d?
> 
> (And if so, can someone explain more about why, and why there are
> errors but it works anyway?)
> _________________________
>   Racket Developers list:
>   http://lists.racket-lang.org/dev

Posted on the dev mailing list.