[Python-modules-team] Bug#560418: sip4-qt3: FTBFS on hurd-i386: wrong value checking for errno result
pino at kde.org
Fri Dec 11 00:24:42 UTC 2009
User: debian-hurd at lists.debian.org
currently (the log refers to 4.8, but the error is the same) sip4-qt3 fails
to build on GNU/Hurd.
Basically, the problem lies in the patch 02 (siputils): one addition of it is
+ except OSError, e:
+ if e.errno != 17:
+ raise e
which means relying on the particular value (implementation dependent) of the
EEXIST errno. This is the same on Linux and kFreeBSD, but not on Hurd.
The easy fix is to use the errno Python module and its EEXIST constant.
The result is a compiling sip4-qt3 on GNU/Hurd and on current amd64 testing as
Attached there is the fixed version of the patch 02_siputils.dpatch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7686 bytes
Desc: not available
More information about the Python-modules-team