Skip to content

3.14 build error after recent commit: pylifecycle.c:50:12: fatal error: os/log.h: No such file or directory #128146

Description

@barracuda156

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.

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

@freakboy3742 Could you please take a look at this?

CPython versions tested on:

3.14

Operating systems tested on:

macOS

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixes3.14bugs and security fixesOS-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