Skip to content

OS X Lion and Python 3.11.3 : make failed #104127

Closed
@Laurent-777

Description

@Laurent-777

Hi :
Thank you for studying the issue I had with Python 3.11.3 tied to be built under Mac OS X Lion . Hereafter the details provided to configure :
Mac OS X : Lion (10.7.5)
Hardware : Intel Core 2 Duo (X86_64)
Compiler(s) used : GN GCC/G++ 7.5 (or 4.9)
Last version of Python 3 sucessfully built and installed : 3.10.7 (NB Later versions failed in the building process).
Expected result : everything OK (NB Before I buy a new Mac computer)

Obtained result :
1/ configure is OK (see the log file)
2/ configure displayed adequately the output of its process (see the log file)
3/ make failed (see the log file), with the following message (shortly) :

Objects/longobject.c: In function ‘bit_length_digit’:
Objects/longobject.c:779:5: error: implicit declaration of function ‘static_assert’ [-Werror=implicit-function-declaration]
     static_assert(PyLong_SHIFT <= sizeof(unsigned long) * 8,
     ^~~~~~~~~~~~~
/Volumes/External_7/_Ze-Bins/_GNU-Compilers/_7.5.x/bin/gcc -c  -DNDEBUG -g -fwrapv -O3 -Wall -O3   -std=c11 -Werror=implicit-function-declaration -fvisibility=hidden  -I./Include/internal  -I. -I./Include -I/Volumes/External_7/_Ze-Libraries/_GNU-ncurses/include				-I/Volumes/External_7/_Ze-Libraries/_GNU-readline/include				-I/Volumes/External_7/_Ze-Libraries/_GNU-gettext/include				-I/Volumes/External_7/_Ze-Libraries/_FFI-libffi/lib/libffi-3.2.1/include			-I/Volumes/External_7/_Ze-Libraries/_EXPAT/include			-I/Volumes/External_7/_Ze-Bins/_XZ/include			-I/Volumes/External_7/_Ze-Bins/_DB-GDBM/include	   -DPy_BUILD_CORE -o Objects/dictobject.o Objects/dictobject.c
/Volumes/External_7/_Ze-Bins/_GNU-Compilers/_7.5.x/bin/gcc -c  -DNDEBUG -g -fwrapv -O3 -Wall -O3   -std=c11 -Werror=implicit-function-declaration -fvisibility=hidden  -I./Include/internal  -I. -I./Include -I/Volumes/External_7/_Ze-Libraries/_GNU-ncurses/include				-I/Volumes/External_7/_Ze-Libraries/_GNU-readline/include				-I/Volumes/External_7/_Ze-Libraries/_GNU-gettext/include				-I/Volumes/External_7/_Ze-Libraries/_FFI-libffi/lib/libffi-3.2.1/include			-I/Volumes/External_7/_Ze-Libraries/_EXPAT/include			-I/Volumes/External_7/_Ze-Bins/_XZ/include			-I/Volumes/External_7/_Ze-Bins/_DB-GDBM/include	   -DPy_BUILD_CORE -o Objects/odictobject.o Objects/odictobject.c
cc1: some warnings being treated as errors
my-make: *** [Makefile:2459: Objects/longobject.o] Error 1
my-make: *** Waiting for unfinished jobs....

Thank you !

Encl. 3 log/text files
config.log
my-configure.log
my-make.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-macbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions