[racket] file-or-directory-modify-seconds usage bug
raco setup: file-or-directory-modify-seconds: expects type <exact
integer or #f> as 2nd argument, given: +inf.0; other arguments were:
#<path:/.../share/racket/doc/gl-board-game/stamp.sxref>
Just noticed this error during install of the latest git. Something
during installation is attempting to set the modified time of the file
to infinitely far in the future. So either
file-or-directory-modify-seconds has to be adjusted to set modified time
to the highest possible number in such cases, or the code calling that
has to make sure it passes a real, finite integer to the procedure.
My git repository is in /home/racket/git ($GIT). It's attempting to
install in /var/opt/racket ($PREFIX). I'm running my little compilation
script in the ordinary place: $GIT/build. I'm using
$GIT/build/temp-install as a DESTDIR. (Then as root I'll just copy the
files over to /var/opt/racket but I haven't got that far yet.)
The two files that raised the error were in $DESTDIR$PREFIX/$COLLECTS:
.../lib/racket/collects/games/gl-board-game/gl-board-game.scrbl
.../lib/racket/collects/sgl/scribblings/sgl.scrbl
--
I was also seeing a lot of errors like this:
raco setup: ERROR: games/doors doors.rkt: default-load-handler: cannot
open input file: "/home/racket/git/collects/sgl/gl-info.rkt" (No such
file or directory; errno=2)
Which is pretty odd, because gl-info.rkt is only created in
$DESTDIR/$PREFIX/$COLLECTS/sgl/ not in $GIT/$COLLECTS. Why it would be
requiring the existence of a generated file in the source directory,
that doesn't ever get modified during the build process, I can only
think it must be a bug somewhere.
Since it's so big, I'll reply with the full make.log for moderators to
approve at their leisure.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.sh
Type: application/x-sh
Size: 301 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20100719/5d032309/attachment.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.racket-lang.org/users/archive/attachments/20100719/5d032309/attachment.sig>