New submission from Christian Heimes: PPC Fedora build bot is not able to build the _ssl and _socket module. It looks like bluetooth.h is not compatible with std=c99. It uses some GNU C extensions like __extension__, __attribute__((packed)) and __typeof__. The C99 variant -std=gnu99 should do the trick.
http://buildbot.python.org/all/builders/PPC64%20Fedora%203.x/builds/1527/steps/test/logs/stdio In file included from /usr/include/bluetooth/bluetooth.h:37:0, from /home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/socketmodule.h:58, from /home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Modules/socketmodule.c:321: /usr/include/bluetooth/bluetooth.h: In function ‘bt_get_le64’: /usr/include/bluetooth/bluetooth.h:238:18: error: expected specifier-qualifier-list before ‘typeof’ return bswap_64(bt_get_unaligned((const uint64_t *) ptr)); ^ /usr/include/bluetooth/bluetooth.h:238:18: error: called object is not a function or function pointer return bswap_64(bt_get_unaligned((const uint64_t *) ptr)); ^ /usr/include/bluetooth/bluetooth.h:238:18: error: ‘struct <anonymous>’ has no member named ‘__v’ return bswap_64(bt_get_unaligned((const uint64_t *) ptr)); ---------- components: Extension Modules messages: 274990 nosy: benjamin.peterson, christian.heimes priority: critical severity: normal stage: needs patch status: open title: bluetooth.h on big endian needs GNU C extensions type: compile error versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28017> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com