[Python-bugs-list] [ python-Bugs-489709 ] Building Fails under Cygwin

noreply@sourceforge.net noreply@sourceforge.net
Wed, 23 Jan 2002 05:15:20 -0800


Bugs item #489709, was opened at 2001-12-05 20:27
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=489709&group_id=5470

Category: Build
Group: 3rd Party
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: David Abrahams (david_abrahams)
Assigned to: Michael Hudson (mwh)
Summary: Building Fails under Cygwin

Initial Comment:
Even after applying the h2py patch, building under 
Cygwin ends with the following error:

building 'gdbm' extension
gcc -g -O3 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT -
I. -I/cygdrive/e/Python-2.2b2/./Include -
I/usr/local/include -IInclude/ -c /cygdrive/e/Python-
2.2b2/Modules/gdbmmodule.c -o build/temp.cygwin-1.3.
5-i686-2.2/gdbmmodule.o
e:\buildpy\python.exe: *** unable to remap 
C:\cygnus\bin\cygssl.dll to same address as parent -- 
0x1A7C0000
      0 [main] python 1292 sync_with_child: child 1108
(0xF0) died before initialization with status code 0x1
  25901 [main] python 1292 sync_with_child: *** child 
state child loading dlls
error: Resource temporarily unavailable
make: *** [sharedmods] Error 1

----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2002-01-23 05:15

Message:
Logged In: YES 
user_id=6656

When it's not a Python problem <wink>.

The problem lies in the cygwin libraries, and a fix is being
worked on.

It may take a while (depending on Jason's free time) before
this is ready, and if it's not ready come release time, I'll
look at linking _socket statically by default on cygwin. 
This probably isn't hard, but I don't know how to do it, and
don't see a reason to learn just yet.

----------------------------------------------------------------------

Comment By: David Abrahams (david_abrahams)
Date: 2002-01-23 04:18

Message:
Logged In: YES 
user_id=52572

I'm just curious: how does "not a Python problem" get 
decided. If Python failed to build with VC++ on windows or 
GCC on linux I'm sure it would be considered a problem. 
BTW, really, I'm only curious; I'm not suggesting that 
Cygwin should be important to you!

-Dave


----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2002-01-23 02:56

Message:
Logged In: YES 
user_id=6656

I'm closing this, as it's abundantly clear it's not a Python
problem.

----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2001-12-18 12:28

Message:
Logged In: YES 
user_id=6656

Does the same workaround work?

Is so, do all tests pass?

----------------------------------------------------------------------

Comment By: Steve Holden (holdenweb)
Date: 2001-12-18 12:23

Message:
Logged In: YES 
user_id=88157

The same build failure is observed under Win98 for 2.2c1.

----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2001-12-10 09:02

Message:
Logged In: YES 
user_id=6656

FWIW, it seems building _socket statically solves the problem.

This may suffice to for 2.2.

----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2001-12-10 05:13

Message:
Logged In: YES 
user_id=6656

(sf keeps logging me out every ten minutes, grr)
This is being hashed out on the cygwin list.  It's
unfortunately not obvious that it will be fixed in the 2.2
timeframe.

----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2001-12-06 07:16

Message:
Logged In: YES 
user_id=6656

Hmm.  Seems pretty similar to mine.  I'll bug Jason Tishler
and see if he knows anything about it.

----------------------------------------------------------------------

Comment By: David Abrahams (david_abrahams)
Date: 2001-12-06 07:12

Message:
Logged In: YES 
user_id=52572

I'm using Win2K

CYGWIN_NT-5.0 MOREPIE 1.3.5(0.47/3/2) 2001-11-13 23:16 i686 
unknown

And I've built and installed GCC 3.0.2, thought the Python 
build seems to use 2.95.x anyway.

I am not on the cygwin mailing list, sorry ;-)

----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2001-12-06 05:53

Message:
Logged In: YES 
user_id=6656

Just to say that I'm seeing this too.

What OS?  I'm on NT4 SP6.  Which cygwin?  I'm 

[Administrator@MATHS-PC150 QUAKE]$ uname -a
CYGWIN_NT-4.0 MATHS-PC150 1.3.6(0.47/3/2) 2001-12-03 15:41
i686 unknown

I was actually assuming this was a cygwin bug.  Are you on
the cygwin mailing list?  Maybe you could try raising it
there?  I would, but I *really* don't need another
subscription to a high-volume mailing list right now.

PS: can we add jason as a developer?  then we can assign
bugs to him <wink>.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=489709&group_id=5470