You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
barracuda156 opened this issue
Dec 21, 2024
· 4 comments
Labels
3.13bugs and security fixes3.14new features, bugs and security fixesbuildThe build process and cross-buildOS-mactype-bugAn unexpected behavior, bug, or error
The recent commit 2041a95 has broken the build of Python for a number of macOS versions, since <os/log.h> is not guaranteed to exist, but has been included unconditionally.
Python/pylifecycle.c:50:12: fatal error: os/log.h: No such file or directory
50 | # include <os/log.h>
| ^~~~~~~~~~
compilation terminated.
make: *** [Python/pylifecycle.o] Error 1
make: *** Waiting for unfinished jobs....
Adds a `use_system_log` config item to enable stdout/stderr redirection for
Apple platforms. This log streaming is then used by a new iOS test runner
script, allowing the display of test suite output at runtime. The iOS test
runner script can be used by any Python project, not just the CPython test
suite.
@barracuda156 When you say "A number of macOS versions" - can you clarify which ones you mean? I'm guessing the availability issue is the one referred to by this comment; in which case, the fix is likely using the same #ifdef gate on the os/log.h import.
3.13bugs and security fixes3.14new features, bugs and security fixesbuildThe build process and cross-buildOS-mactype-bugAn unexpected behavior, bug, or error
Bug report
Bug description:
The recent commit 2041a95 has broken the build of Python for a number of macOS versions, since
<os/log.h>
is not guaranteed to exist, but has been included unconditionally.@freakboy3742 Could you please take a look at this?
CPython versions tested on:
3.14
Operating systems tested on:
macOS
Linked PRs
The text was updated successfully, but these errors were encountered: