delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/28/08:42:48

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Steve Holden <steve AT holdenweb DOT com>
Subject: Re: Cygwin (1.5.24) PIL(1.1.6) Install Problem: tight looping
Date: Sat, 28 Jul 2007 08:42:13 -0400
Lines: 70
Message-ID: <46AB39A5.3080007@holdenweb.com>
References: <469827D7 DOT 5090400 AT holdenweb DOT com> <4699CBD4 DOT 8090007 AT users DOT sourceforge DOT net> <f8d9p6$lp1$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
Cc: "image-sig AT python DOT org" <image-sig AT python DOT org>,
"distutils-sig AT python DOT org" <distutils-sig AT python DOT org>
User-Agent: Thunderbird 2.0.0.5 (Windows/20070716)
In-Reply-To: <f8d9p6$lp1$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Steve Holden wrote:
> Yaakov (Cygwin Ports) wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> Steve Holden wrote:
>>> I have tried to install it, but each time I do I see the first compile
>>> command start to run and the process hangs. If I CTRL/C the setup.py
>>> and restart it, it begins the next compile (implying that the previous
>>> one succeeded), which again hangs. I see python.exe still running for
>>> each install run I have interrupted, which I have to kill manually.
>>
>> Try rebaseall.
>>
> Unfortunately I did that before I posted. Sorry, should have mentioned it.
> 
[Note for distutils-sig readers: I am trying to track down a build issue 
with version 1.1.6 of the PIL under Cygwin - nobody else reports any 
successful or failed experiences building this package].

Here's the output from a failed setup run with a couple of debug prints 
inserted which should report how sub-process termination occurred - it 
hangs after this output.

$ python setup.py build
running build
running build_py
running build_ext
building '_imaging' extension
SPAWN: ['gcc', '-fno-strict-aliasing', '-DNDEBUG', '-g', '-O3', '-Wall', 
'-Wstrict-prototypes', '-DHAVE_LIBZ', '-IlibImaging', '-I/usr/include', 
'-I/usr/include/python2.5', '-c', 'libImaging/Chops.c', '-o', 
'build/temp.cygwin-1.5.24-i686-2.5/libImaging/Chops.o'] PATH? 1 V: 0 D:0
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes 
-DHAVE_LIBZ -
IlibImaging -I/usr/include -I/usr/include/python2.5 -c 
libImaging/Chops.c -o bui
ld/temp.cygwin-1.5.24-i686-2.5/libImaging/Chops.o
Are we done yet? Waiting on pid 3280

As a further follow up, I extracted the _spawn_all function and ran it 
under command line control.

Everything seems to work fine with other subtasks, so I am wondering 
whether this is a failure specific to gcc, which would seem kind of 
unlikely. So I ran the same compile using my test function standing 
alone, and see

sholden AT bigboy ~/Imaging-1.1.6
$ python ~/Projects/Python/spawntest.py gcc -fno-strict-aliasing 
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -IlibImaging 
-I/usr/include -I/usr/include/python2.5 -c libImaging/Chops.c -o 
build/temp.cygwin-1.5.24-i686-2.5/libImaging/Chops.o
Are we done yet? Waiting on pid 3244
Got pid, status 3244 0
Got WIFEXITED 0

So it appears unlikely to be gcc-specific, leaving me wondering what 
exactly is the difference between the build environment and my tests.

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 -------------


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019