Ticket #5907 enhancement closed fixed
Setup.py (install) partly fails on OpenBSD due to unresolved compilation issues (sendmsg.c)
| Reported by: | epdittmer | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | teratorn@… | Branch: | branches/bsd-include-header-5907 |
| Author: | teratorn | Launchpad Bug: |
Description (last modified by glyph) (diff)
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.
Compilation output:
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
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

