[New-bugs-announce] [issue43470] Installation of Python 3.6.13 fails on MacOS Big Sur 11.2.3

Xinmeng Xia report at bugs.python.org
Thu Mar 11 02:18:38 EST 2021


New submission from Xinmeng Xia <xiaxm at smail.nju.edu.cn>:

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
============================================================

----------
components: Installation
messages: 388482
nosy: xxm
priority: normal
severity: normal
status: open
title: Installation of Python 3.6.13 fails on MacOS Big Sur 11.2.3
type: crash
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43470>
_______________________________________


More information about the New-bugs-announce mailing list