[Python-modules-team] Bug#561878: python-qt4: FTBFS on hurd-i386: wrong value checking for errno result
pino at kde.org
Sun Dec 20 23:27:48 UTC 2009
User: debian-hurd at lists.debian.org
with a fixed sip4 (cfr #560418), python-qt4 fails to configure on GNU/Hurd.
The problem is basically the same as bug #560418: patch 01_configure has the
+ except OSError, e:
+ if e.errno != 17:
which relies on the actual implementation of the various errno values.
The easy fix is to use the errno Python module and its EEXIST constant.
Attached there is the modified version of patch 01_configure with the above
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9799 bytes
Desc: not available
More information about the Python-modules-team