[New-bugs-announce] [issue39740] Select module fails to build on Solaris 11.4

RobHammann report at bugs.python.org
Mon Feb 24 12:16:05 EST 2020

New submission from RobHammann <robert.hammann at wdc.com>:

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},
/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

components: Build
files: build-output.txt
messages: 362598
nosy: RobHammann
priority: normal
severity: normal
status: open
title: Select module fails to build on Solaris 11.4
type: compile error
versions: Python 3.9
Added file: https://bugs.python.org/file48908/build-output.txt

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list