Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MacOS installation failing #18

@aelanman

Description

@aelanman

The monthly test in GH actions is failing due to the following error:

       In file included from /opt/homebrew/Cellar/gcc@14/14.3.0/lib/gcc/14/gcc/aarch64-apple-darwin24/14/include-fixed/stdio.h:75,
                       from /Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/Python.h:25,
                       from /private/var/folders/x7/ch5v91h56_zbvbd1y2f600dm0000gn/T/pip-build-env-984et8dz/overlay/lib/python3.10/site-packages/numpy/f2py/src/fortranobject.h:7,
                       from /private/var/folders/x7/ch5v91h56_zbvbd1y2f600dm0000gn/T/pip-build-env-984et8dz/overlay/lib/python3.10/site-packages/numpy/f2py/src/fortranobject.c:2:
      /opt/homebrew/Cellar/gcc@14/14.3.0/lib/gcc/14/gcc/aarch64-apple-darwin24/14/include-fixed/_stdio.h:78:10: fatal error: _bounds.h: No such file or directory
         78 | #include <_bounds.h>
            |          ^~~~~~~~~~~
      compilation terminated.
      ninja: build stopped: subcommand failed.

This seems to be due to some recent changes to the SDK on Mac OS conflicting with gcc. I'm unable to recreate this error locally. Googling this, it sounds like uninstalling gcc might help, but I can't confirm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions