Re: binutils 20080523-1: version string breaks python2.5 distutils

2008-05-30 Thread Christopher Faylor
On Fri, May 30, 2008 at 08:16:10AM -0400, Jason Tishler wrote: >On Thu, May 29, 2008 at 12:48:38PM -0400, Christopher Faylor wrote: >> Why is python even checking the version? > >Python (i.e., Distutils) is checking versions so that it calls the >appropriate driver and supplies the appropriate opti

Re: binutils 20080523-1: version string breaks python2.5 distutils

2008-05-30 Thread Jason Tishler
Joe, On Fri, May 30, 2008 at 01:47:23AM +, Joe Pham wrote: > >If the OP verifies that the attached patch fixes his problem, then I > >will release a Cygwin Python with this patch applied. > > > >+result = re.search('(\d+\.\d+(\.\d+)?)',out_string) > > It worked, though not 100%: it fa

Re: binutils 20080523-1: version string breaks python2.5 distutils

2008-05-30 Thread Jason Tishler
On Thu, May 29, 2008 at 12:48:38PM -0400, Christopher Faylor wrote: > Why is python even checking the version? Python (i.e., Distutils) is checking versions so that it calls the appropriate driver and supplies the appropriate options. For example, in cygwinccompiler.py we have the following:

Re: binutils 20080523-1: version string breaks python2.5 distutils

2008-05-29 Thread Joe Pham
>If the OP verifies that the attached patch fixes his problem, then I >will release a Cygwin Python with this patch applied. > >+result = re.search('(\d+\.\d+(\.\d+)?)',out_string) It worked, though not 100%: it failed to pick up the patch release component (i.e. 1.2.3a). This search re

Re: binutils 20080523-1: version string breaks python2.5 distutils

2008-05-29 Thread Christopher Faylor
On Thu, May 29, 2008 at 09:01:57AM -0400, Jason Tishler wrote: >On Thu, May 29, 2008 at 01:32:16PM +0100, Dave Korn wrote: >> So, yes, Python should definitely use a pattern match to ignore the >> separator character. > >This is a known issue: > >http://bugs.python.org/issue2234 > >Unfortunatel

Re: binutils 20080523-1: version string breaks python2.5 distutils

2008-05-29 Thread Jason Tishler
On Thu, May 29, 2008 at 01:32:16PM +0100, Dave Korn wrote: > So, yes, Python should definitely use a pattern match to ignore the > separator character. This is a known issue: http://bugs.python.org/issue2234 Unfortunately, resolution of this issue has stalled. If the OP verifies that the at

RE: binutils 20080523-1: version string breaks python2.5 distutils

2008-05-29 Thread Dave Korn
Christopher Faylor wrote on 29 May 2008 03:02: > On Thu, May 29, 2008 at 01:49:55AM +, Joe Pham wrote: >> As part of the binutils 20080523-1 package, both ld (ld -v) and dllwrap >> (dllwrap --version) report their version as "2.18.50.20080523". This >> version string format causes the python2

Re: binutils 20080523-1: version string breaks python2.5 distutils

2008-05-28 Thread Christopher Faylor
On Thu, May 29, 2008 at 01:49:55AM +, Joe Pham wrote: >As part of the binutils 20080523-1 package, both ld (ld -v) and dllwrap >(dllwrap --version) report their version as "2.18.50.20080523". This >version string format causes the python2.5 distutils tool to abort with >error. On Linux, the f