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 RobHammann
Recipients RobHammann
Date 2020-02-24.17:15:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582564565.67.0.773509979349.issue39740@roundup.psfhosted.org>
In-reply-to
Content
On an x86 Solaris 11.4 system, the standard procedure build of python from source fails to build the 'select' module. Make install then fails upon trying to import 'select'.

In the make output, while gcc is building 'select', these errors are printed:

building 'select' extension
gcc -fPIC -Wno-unused-result -Wsign-compare -g -Og -Wall -D_REENTRANT -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I./Include -I. -I/usr/local/include -I/root/cpython-solaris/Include -I/root/cpython-solaris -c /root/cpython-solaris/Modules/selectmodule.c -o build/temp.solaris-2.11-i86pc.64bit-3.9-pydebug/root/cpython-solaris/Modules/selectmodule.o
/root/cpython-solaris/Modules/selectmodule.c:1147:21: error: 'devpoll_methods' undeclared here (not in a function); did you mean 'devpoll_dealloc'?
     {Py_tp_methods, devpoll_methods},
                     ^~~~~~~~~~~~~~~
                     devpoll_dealloc
/root/cpython-solaris/Modules/selectmodule.c:2299:20: warning: 'devpoll_methods' defined but not used [-Wunused-variable]
 static PyMethodDef devpoll_methods[] = {
                    ^~~~~~~~~~~~~~~

Attached is the combined outputs of ./configure, make, and make install
History
Date User Action Args
2020-02-24 17:16:05RobHammannsetrecipients: + RobHammann
2020-02-24 17:16:05RobHammannsetmessageid: <1582564565.67.0.773509979349.issue39740@roundup.psfhosted.org>
2020-02-24 17:16:05RobHammannlinkissue39740 messages
2020-02-24 17:16:05RobHammanncreate