Setup.py (install) partly fails on OpenBSD due to unresolved compilation issues (sendmsg.c)
|Reported by:||epdittmer||Owned by:|
branch-diff, diff-cov, branch-cov, buildbot
Description (last modified by )
The installation (setup.py install) of Twisted-12.1.0 partly fails do to an unresolved compilation issue in sendmsg.c.
At least on OpenBSD (version 5.1) the iovec struct is undefined. Including sys/uio.h resolves the issue.
cc -pthread -fno-strict-aliasing -O2 -pipe -DNDEBUG -O2 -pipe \ -DTHREAD_STACK_SIZE=0x20000 -fPIC -fPIC -I/usr/local/include/python2.7 \ -c twisted/python/sendmsg.c \ -o build/temp.openbsd-5.1-amd64-2.7/twisted/python/sendmsg.o twisted/python/sendmsg.c: In function 'sendmsg_sendmsg': twisted/python/sendmsg.c:174: error: array type has incomplete element type twisted/python/sendmsg.c: In function 'sendmsg_recvmsg': twisted/python/sendmsg.c:369: error: array type has incomplete element type error: command 'cc' failed with exit status 1
Change History (15)
comment:1 Changed 4 years ago by
|Type:||defect → enhancement|
comment:6 follow-up: 7 Changed 4 years ago by
|Owner:||changed from epdittmer to teratorn|