[issue28000] Build fails on AIX with _LINUX_SOURCE_COMPAT flag

2016-11-16 Thread Matthieu S
Changes by Matthieu S <matthieu.sarter.exter...@atos.net>: -- resolution: -> fixed status: open -> closed ___ Python tracker <rep...@bugs.python.org> <http://bugs.

[issue28000] Build fails on AIX with _LINUX_SOURCE_COMPAT flag

2016-11-16 Thread Matthieu S
Matthieu S added the comment: Thanks ! -- resolution: fixed -> status: closed -> open versions: -Python 3.7 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue28000] Build fails on AIX with _LINUX_SOURCE_COMPAT flag

2016-11-16 Thread Matthieu S
Changes by Matthieu S <matthieu.sarter.exter...@atos.net>: -- versions: +Python 3.7 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue28016] test_fileio fails on AIX

2016-11-10 Thread Matthieu S
Matthieu S added the comment: Sorry for the late reply. I did some additional testing, and I can confirm that this assertion should also be skipped in Python 2.7 on AIX. And the test does not fail when run without a tty, so we can assume that this is what happens on the builbots

[issue28000] Build fails on AIX with _LINUX_SOURCE_COMPAT flag

2016-11-08 Thread Matthieu S
Matthieu S added the comment: Sorry for the very late reply... Using _LINUX_SOURCE_COMPAT is sometimes preferable, as it greatly improves compatibility with code intended for Linux and improves XPG specs compliance. But I am not sure it should always be enabled. In our case, we use

[issue28016] test_fileio fails on AIX

2016-09-08 Thread Matthieu S
New submission from Matthieu S: == FAIL: testAbles (test.test_fileio.COtherFileTests) -- Traceback (most recent call last): File "/opt/freeware/src/pac

[issue28000] Build fails on AIX with _LINUX_SOURCE_COMPAT flag

2016-09-07 Thread Matthieu S
New submission from Matthieu S: Python build fails on AIX when using the _LINUX_SOURCE_COMPAT flag. When using this flag, the gethostbyname_r subroutine has 6 parameters instead of 3, like on Linux, but Modules/socketmodule.c always expects a gethostbyname_r subroutine with only 3 parameters