[racket] Amazon Linux update causes `require' in 5.1.1 to hang indefinitely?

From: Jon Rafkind (rafkind at cs.utah.edu)
Date: Mon Jul 11 12:41:42 EDT 2011

Maybe you can run 'strace' on racket to see if its hanging on a file?

On 07/11/2011 10:34 AM, Greg Hendershott wrote:
> I'm trying that now (first time ever).
>
> Unfortunately the make is stuck at the last line for 10+ minutes, with
> `top' showing xform.rkt pegged at 99% CPU.
>
> Make output:
>
> ...
> ranlib libracket.a
> make[5]: Leaving directory
> `/home/ec2-user/misc/racket-source/racket-5.1.1/src/build/racket'
> make[4]: Leaving directory
> `/home/ec2-user/misc/racket-source/racket-5.1.1/src/build/racket'
> make racketcgc
> make[4]: Entering directory
> `/home/ec2-user/misc/racket-source/racket-5.1.1/src/build/racket'
> gcc -I. -I../../racket/include -g -O2  -Wall  -pthread
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -DINITIAL_COLLECTS_DIRECTORY='"'"`cd ../../racket/../../collects;
> pwd`"'"' -c ../../racket/main.c -o main.o
> gcc -o racketcgc main.o  libracket.a libmzgc.a  -pthread -ldl -lm
> -ldl -lm -rdynamic
> make[4]: Leaving directory
> `/home/ec2-user/misc/racket-source/racket-5.1.1/src/build/racket'
> make[3]: Leaving directory
> `/home/ec2-user/misc/racket-source/racket-5.1.1/src/build/racket'
> cd gc2; make all
> make[3]: Entering directory
> `/home/ec2-user/misc/racket-source/racket-5.1.1/src/build/racket/gc2'
> mkdir xsrc
> make xsrc/precomp.h
> make[4]: Entering directory
> `/home/ec2-user/misc/racket-source/racket-5.1.1/src/build/racket/gc2'
> env XFORM_PRECOMP=yes ../racketcgc -cqu ../../../racket/gc2/xform.rkt
> --setup . --cpp "gcc -E -I./.. -I../../../racket/gc2/../include
> -pthread   -DNEWGC_BTC_ACCOUNT  -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 "  --keep-lines -o xsrc/precomp.h
> ../../../racket/gc2/precomp.c
>
> Meanwhile `top' shows xform.rkt pegged at 99% CPU.
>
> So seemingly the build of Racket involves running Racket, and is
> encountering the original problem I had? Presumably xform.rkt has a
> `require' early on?
>
> On Mon, Jul 11, 2011 at 12:02 PM, Noel Welsh <noelwelsh at gmail.com> wrote:
>> No idea here, but why not try compiling Racket from source?  All you
>> need is ./configure ; make ; make install
>>
>> HTH,
>> N.
>>
>> On Mon, Jul 11, 2011 at 4:45 PM, Greg Hendershott
>> <greghendershott at gmail.com> wrote:
>>> Yesterday I ran `yum update' on an Amazon Linux 32-bit instance. It
>>> updated quite a bit more than I expected.
> _________________________________________________
>   For list-related administrative tasks:
>   http://lists.racket-lang.org/listinfo/users



Posted on the users mailing list.