[New-bugs-announce] [issue47033] Build failure on macOS Big Sur

Ghyslain Leclerc report at bugs.python.org
Tue Mar 15 21:19:48 EDT 2022

New submission from Ghyslain Leclerc <ghleclerc at gmail.com>:

I have tried to compile python on macOS and I have failed.

I have cloned the cpython repository, then used ./configure and make.  There are build errors on my system.  They seem related to https://bugs.python.org/issue42692.

I have tried the __has_builtin(__builtin_available) code in a single main.c file and it compiles and has the appropriate behavior.  I have then tried to add #warnings in the file posixmodule.c.  It seems that when compiling this file, the preprocessor define does not work.

I run macOS version 11.6.4 (20G417).  I have Xcode Version 13.0 (13A233).  The compiler version is:
  Apple clang version 13.0.0 (clang-1300.0.29.3)
  Target: x86_64-apple-darwin20.6.0

Thank you.

components: macOS
messages: 415312
nosy: Ghyslain Leclerc, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: Build failure on macOS Big Sur
type: compile error
versions: Python 3.10

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list