Message 321364 - Python tracker

Message321364

Author clallen
Recipients clallen
Date 2018-07-10.07:54:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1531209271.96.0.56676864532.issue34079@psf.upfronthosting.co.za>
In-reply-to
Content
The build of this module fails with this error:


In file included from /usr/include/limits.h:12:0,
                 from /usr/gcc/5/lib/gcc/sparcv9-sun-solaris2.11/5.4.0/include-fixed/limits.h:168,
                 from /usr/gcc/5/lib/gcc/sparcv9-sun-solaris2.11/5.4.0/include-fixed/syslimits.h:7,
                 from /usr/gcc/5/lib/gcc/sparcv9-sun-solaris2.11/5.4.0/include-fixed/limits.h:34,
                 from Include/Python.h:19,
                 from /opt/apps/salt-build/Python-2.7.15/Modules/_multiprocessing/multiprocessing.h:12,
                 from /opt/apps/salt-build/Python-2.7.15/Modules/_multiprocessing/multiprocessing.c:9:
/usr/gcc/5/lib/gcc/sparcv9-sun-solaris2.11/5.4.0/include-fixed/sys/feature_tests.h:363:2: error: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications        and pre-2001 POSIX applications"


Changing the value of _XOPEN_SOURCE from 500 to 600 in Modules/_multiprocessing/multiprocessing.h fixes it.
History
Date User Action Args
2018-07-10 07:54:32clallensetrecipients: + clallen
2018-07-10 07:54:31clallensetmessageid: <1531209271.96.0.56676864532.issue34079@psf.upfronthosting.co.za>
2018-07-10 07:54:31clallenlinkissue34079 messages
2018-07-10 07:54:30clallencreate