http://pkgs.fedoraproject.org/gitweb/?p=python3.git;a=commitdiff;h=79893680 added 00157-uid-gid-overflows.patch which adds new functions that take uid_t and gid_t: +PyAPI_FUNC(PyObject *) _PyObject_FromUid(uid_t uid); +PyAPI_FUNC(PyObject *) _PyObject_FromGid(gid_t gid); However, modsupport.h is missing the necessary header that includes the definitions for these types, <sys/types.h>. And that is causing pygobject3 build to fail: In file included from /usr/include/python3.2mu/Python.h:111:0, from ../../gi/_glib/pyglib.h:25, from gobjectmodule.c:29: /usr/include/python3.2mu/modsupport.h:130:42: error: unknown type name 'uid_t' /usr/include/python3.2mu/modsupport.h:131:42: error: unknown type name 'gid_t' /usr/include/python3.2mu/modsupport.h:133:51: error: unknown type name 'uid_t' /usr/include/python3.2mu/modsupport.h:134:51: error: unknown type name 'gid_t'
http://pkgs.fedoraproject.org/gitweb/?p=python3.git;a=commit;h=a25ec0b524e1b8eb86aea0e83d89119d8a132168 Building python3-3.2.3-9.fc18 for dist-rawhide Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=4177795
I can confirm this fixes the issue, thanks.
I just ran into this with Python 2 whilst trying a scratch build of pygobject3. Fix committed to python 2 as: http://pkgs.fedoraproject.org/gitweb/?p=python.git;a=commitdiff;h=7e989460dec6afc658fee1ebfcb93118976bf8ce Building python-2.7.3-10.fc18 for dist-rawhide Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=4198290