[issue3013] disutils fails with GNU ld (GNU Binutils) 2.18.50.20080523
Changes by Georg Brandl [EMAIL PROTECTED]: -- resolution: - duplicate status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3013 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3013] disutils fails with GNU ld (GNU Binutils) 2.18.50.20080523
Benjamin Peterson [EMAIL PROTECTED] added the comment: This seems to be the same as #2234. -- nosy: +benjamin.peterson superseder: - cygwinccompiler.py fails for latest MinGW releases. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3013 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3013] disutils fails with GNU ld (GNU Binutils) 2.18.50.20080523
John Arbash Meinel [EMAIL PROTECTED] added the comment: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Georg Brandl wrote: | Georg Brandl [EMAIL PROTECTED] added the comment: | | Do you need the (\.\d+)* trailer in the regex at all? | | -- | nosy: +georg.brandl Not sure. The actual revision is: 2.18.50.20080523 The code used to allow lots of version numbers, and I didn't know if we wanted to require that or not. Certainly just changing * = ? is a simpler fix. And since we don't end with $ or anything, it should still match. John =:- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkhEcLUACgkQJdeBCYSNAAPO8ACggCAEx1HWnfv3FD1KAnvyGzKg tbwAn3D6xKEbQkHWrP1dKaO4tSsE6Ito =DpMW -END PGP SIGNATURE- ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3013 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3013] disutils fails with GNU ld (GNU Binutils) 2.18.50.20080523
Georg Brandl [EMAIL PROTECTED] added the comment: Do you need the (\.\d+)* trailer in the regex at all? -- nosy: +georg.brandl ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3013 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3013] disutils fails with GNU ld (GNU Binutils) 2.18.50.20080523
New submission from John Arbash Meinel [EMAIL PROTECTED]: I just upgraded my cygwin installation to the latest versions. Which seems to include GNU ld (GNU Binutils) 2.18.50.20080523 and GNU dllwrap (GNU Binutils) 2.18.50.20080523 It seems that their version notation is now Major.Minor.Micro.Date The problem is that in 'cygwincompiler.py' it does: result = re.search('(\d+\.\d+(\.\d+)*)',out_string) if result: ld_version = StrictVersion(result.group(1)) Which matches the full version string. However StrictVersion only supports A.B.CdE formats. So the .Date breaks the parser. My workaround was to change the regex to be: result = re.search('(\d+\.\d+(\.\d+)?)(\.\d+)*',out_string) So it will still match an unlimited number of '.DDD' as it used to, but now it only preserves the first 3 to pass to StrictVersion. This may not be the correct fix, as a better fix might be to use something else instead of StrictVersion (since these version numbers explicitly *don't* match what StrictVersion expects.) -- messages: 67557 nosy: jameinel severity: normal status: open title: disutils fails with GNU ld (GNU Binutils) 2.18.50.20080523 type: compile error versions: Python 2.5 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3013 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3013] disutils fails with GNU ld (GNU Binutils) 2.18.50.20080523
Changes by John Arbash Meinel [EMAIL PROTECTED]: -- components: +Distutils ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3013 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3013] disutils fails with GNU ld (GNU Binutils) 2.18.50.20080523
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- keywords: +easy priority: - high ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3013 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com