[ python-Bugs-900977 ] cygwinccompiler.get_versions fails on `ld
-v` output
SourceForge.net
noreply at sourceforge.net
Mon Jun 14 07:33:36 EDT 2004
Bugs item #900977, was opened at 2004-02-20 00:52
Message generated for change (Comment added) made by jlt63
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=900977&group_id=5470
Category: Distutils
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Pearu Peterson (pearu)
Assigned to: Jason Tishler (jlt63)
Summary: cygwinccompiler.get_versions fails on `ld -v` output
Initial Comment:
Under linux `ld -v` returns
GNU ld version 2.14.90.0.7 20031029 Debian GNU/Linux
for instance, and get_versions() function uses
StrictVersion
on '2.14.90.0.7'. This situation triggers an error:
ValueError: invalid version number '2.14.90.0.7'
As a fix, either use LooseVersion or the following re
pattern
result = re.search('(\d+\.\d+(\.\d+)?)',out_string)
in `if ld_exe` block.
Pearu
----------------------------------------------------------------------
>Comment By: Jason Tishler (jlt63)
Date: 2004-06-14 03:33
Message:
Logged In: YES
user_id=86216
Hmm... I botch a Cygwin Python release and I get
assigned a 4 month old Distutils bug. Coincidence
or punishment? :,)
> Is this still a problem?
I don't know.
> Jason, do you have any comments?
This problem seems more like a Distutils issue
than a Cygwin one. Please assign to a Distutils
developer (e.g., Rene). Since I'm not familiar
with the issues, I'm afraid that if I try to fix
this problem I may cause another one...
Additionally, I cannot reproduce the problem on my
Linux box unless I write a shell script to
simulate the behavior of Pearu's ld -v...
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2004-06-13 13:33
Message:
Logged In: YES
user_id=33168
Is this still a problem? Jason, do you have any comments?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=900977&group_id=5470
More information about the Python-bugs-list
mailing list