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 xxm
Recipients xxm
Date 2021-03-11.07:18:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615447118.51.0.748339501359.issue43470@roundup.psfhosted.org>
In-reply-to
Content
Installation of latest Python 3.6.13 fails on MacOS Big Sur 11.2.3. The source code is downloaded from python.org. Then we try to install it by commands "./configure;sudo make;sudo make install". However the installation  crashes.

The installation succeeds on Ubuntu.

Crash information:
==========================================================
>>./configure
>>sudo make
gcc -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall    -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes   -I. -I./Include    -DPy_BUILD_CORE -o Programs/python.o ./Programs/python.c
.....
t -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes   -I. -I./Include    -DPy_BUILD_CORE  -c ./Modules/posixmodule.c -o Modules/posixmodule.o
./Modules/posixmodule.c:8210:15: error: implicit declaration of function 'sendfile' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
        ret = sendfile(in, out, offset, &sbytes, &sf, flags);
              ^
./Modules/posixmodule.c:10432:5: warning: code will never be executed [-Wunreachable-code]
    Py_FatalError("abort() called from Python code didn't abort!");
    ^~~~~~~~~~~~~
1 warning and 1 error generated.
make: *** [Modules/posixmodule.o] Error 1
============================================================
History
Date User Action Args
2021-03-11 07:18:38xxmsetrecipients: + xxm
2021-03-11 07:18:38xxmsetmessageid: <1615447118.51.0.748339501359.issue43470@roundup.psfhosted.org>
2021-03-11 07:18:38xxmlinkissue43470 messages
2021-03-11 07:18:38xxmcreate