On 3/7/19 2:23 PM, Robert-André Mauchin wrote:
Hello, I'm trying to build the new python-twisted 18.9.0, but it fails on 32 bits architecture: BUILDSTDERR: In file included from /usr/include/asm/socket.h:1, BUILDSTDERR: from /usr/include/bits/socket.h:393, BUILDSTDERR: from /usr/include/sys/socket.h:33, BUILDSTDERR: from src/twisted/python/_sendmsg.c:16: BUILDSTDERR: src/twisted/python/_sendmsg.c: In function 'init_sendmsg': BUILDSTDERR: src/twisted/python/_sendmsg.c:158:64: error: '__kernel_long_t' undeclared (first use in this function) BUILDSTDERR: 158 | if (-1 == PyModule_AddIntConstant(module, "SCM_TIMESTAMP", SCM_TIMESTAMP)) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: src/twisted/python/_sendmsg.c:158:64: note: each undeclared identifier is reported only once for each function it appears in BUILDSTDERR: error: command 'gcc' failed with exit status 1 https://koji.fedoraproject.org/koji/taskinfo?taskID=33279740 The relevant code in src/twisted/python/_sendmsg.c: #if defined(SCM_TIMESTAMP) if (-1 == PyModule_AddIntConstant(module, "SCM_TIMESTAMP", SCM_TIMESTAMP)) { return; } #endif https://github.com/twisted/twisted/blob/trunk/src/twisted/python/_sendmsg.c#L157 This seems related to the recent changes in the kernel regarding year 2038 bug and timestamps: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/uapi/asm-generic/socket.h?id=887feae36aee6c08e0dafcdaa5ba921abbb2c56b Anyone has any insight as to what might be happening and how to solve it? Thanks, Robert-André
See https://bugzilla.redhat.com/show_bug.cgi?id=1686419 _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx