This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients benjamin.peterson, christian.heimes
Date 2016-09-08.09:31:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473327094.5.0.11690995505.issue28017@psf.upfronthosting.co.za>
In-reply-to
Content
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));
History
Date User Action Args
2016-09-08 09:31:34christian.heimessetrecipients: + christian.heimes, benjamin.peterson
2016-09-08 09:31:34christian.heimessetmessageid: <1473327094.5.0.11690995505.issue28017@psf.upfronthosting.co.za>
2016-09-08 09:31:34christian.heimeslinkissue28017 messages
2016-09-08 09:31:34christian.heimescreate