-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
3.14 build error after recent commit: pylifecycle.c:50:12: fatal error: os/log.h: No such file or directory
#128146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
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 |
@freakboy3742 Yes, I believe, that is correct: https://groups.google.com/a/chromium.org/g/crashpad-dev/c/5CY_M9R6mIw |
@barracuda156 Presumptive fix in #128165; it's currently failing CI for reasons that I can't explain, and I can't reproduce locally. |
@freakboy3742 Thank you, I will run the build and let you know. |
Reworks the handling of Apple system log handling to account for older macOS versions that don't provide os-log.
…thonGH-128165) Reworks the handling of Apple system log handling to account for older macOS versions that don't provide os-log. (cherry picked from commit e837a1f) Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
…H-128165) (#128575) gh-128146: Exclude os/log.h import on older macOS versions. (GH-128165) Reworks the handling of Apple system log handling to account for older macOS versions that don't provide os-log. (cherry picked from commit e837a1f) Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
…thon#128165) Reworks the handling of Apple system log handling to account for older macOS versions that don't provide os-log.
PR merged and backported, thanks all! |
…ns. (pythonGH-128165) (python#128575) pythongh-128146: Exclude os/log.h import on older macOS versions. (pythonGH-128165) Reworks the handling of Apple system log handling to account for older macOS versions that don't provide os-log. (cherry picked from commit e837a1f) Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
…ns. (pythonGH-128165) (python#128575) pythongh-128146: Exclude os/log.h import on older macOS versions. (pythonGH-128165) Reworks the handling of Apple system log handling to account for older macOS versions that don't provide os-log. (cherry picked from commit e837a1f) Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
…s. (pythonGH-128165) (python#128575) pythongh-128146: Exclude os/log.h import on older macOS versions. (pythonGH-128165) Reworks the handling of Apple system log handling to account for older macOS versions that don't provide os-log. (cherry picked from commit e837a1f) Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
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: