[Distutils] Cygwin build of PIL 1.1.6 hangs

Steve Holden steve at holdenweb.com
Sat Jul 14 15:32:42 CEST 2007


Has anyone noticed or reported Cygwin problems? The ordinarily 
well-behaved PIL install hangs on Cygwin. I put debug prints inside 
spawn.py and it appears that the os.waitpid(pid, 0) inside spawn_posix 
is failing to return when the gcc task completes.

Nothing on Google about this that I can find, and no response from 
either the PIL or Cygwin lists.

This seems a pretty fundamental breakage to not get noticed. What have I 
done wrong? This is using Python 2.5.2 (same thing happens with 2.5.1) 
on Cygwin 1.5.24, using gcc 3.4.4-3.  The task manager shows 100% CPU 
(with kernel usage hovering about 35%) and a python.exe process gobbling 
CPU like there's no tomorrow.

If I CTRL/C the build I get an "interrupted" diagnostic but the 
python.exe (presumably the child) continues to gobble CPU until killed 
from the task manager. I haven't yet started debugging the child 
process, as I am hoping someone knows of a fix.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd           http://www.holdenweb.com
Skype: holdenweb      http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------


More information about the Distutils-SIG mailing list