Skip to content
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

BLD: error while building from source on Mac amd64 #141

Closed
neutrinoceros opened this issue Mar 10, 2024 · 12 comments
Closed

BLD: error while building from source on Mac amd64 #141

neutrinoceros opened this issue Mar 10, 2024 · 12 comments

Comments

@neutrinoceros
Copy link
Contributor

I noticed earlier this week that the following command started failing on my platform

$ python -m pip install git+https://github.com/liberfa/pyerfa.git
Error details
Collecting git+https://github.com/liberfa/pyerfa.git
  Cloning https://github.com/liberfa/pyerfa.git to /private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-req-build-xhdailqi
  Running command git clone --filter=blob:none --quiet https://github.com/liberfa/pyerfa.git /private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-req-build-xhdailqi
  Resolved https://github.com/liberfa/pyerfa.git to commit 4a637c2713e31277dcc801ea46a6b036b77c7ee8
  Running command git submodule update --init --recursive -q
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.19 in /Users/clm/.pyenv/versions/astropy.devdeps/lib/python3.12/site-packages (from pyerfa==2.0.1.2.dev19+g4a637c2) (2.1.0.dev0)
Building wheels for collected packages: pyerfa
  Building wheel for pyerfa (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pyerfa (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [129 lines of output]
      WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-14.1-arm64-cpython-312
      creating build/lib.macosx-14.1-arm64-cpython-312/erfa
      copying erfa/version.py -> build/lib.macosx-14.1-arm64-cpython-312/erfa
      copying erfa/_version.py -> build/lib.macosx-14.1-arm64-cpython-312/erfa
      copying erfa/__init__.py -> build/lib.macosx-14.1-arm64-cpython-312/erfa
      copying erfa/core.py -> build/lib.macosx-14.1-arm64-cpython-312/erfa
      copying erfa/helpers.py -> build/lib.macosx-14.1-arm64-cpython-312/erfa
      creating build/lib.macosx-14.1-arm64-cpython-312/erfa/tests
      copying erfa/tests/__init__.py -> build/lib.macosx-14.1-arm64-cpython-312/erfa/tests
      copying erfa/tests/test_ufunc.py -> build/lib.macosx-14.1-arm64-cpython-312/erfa/tests
      copying erfa/tests/test_erfa.py -> build/lib.macosx-14.1-arm64-cpython-312/erfa/tests
      running build_ext
      building 'erfa.ufunc' extension
      creating build/temp.macosx-14.1-arm64-cpython-312
      creating build/temp.macosx-14.1-arm64-cpython-312/erfa
      creating build/temp.macosx-14.1-arm64-cpython-312/liberfa
      creating build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa
      creating build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c erfa/ufunc.c -o build/temp.macosx-14.1-arm64-cpython-312/erfa/ufunc.o
      erfa/ufunc.c:33:1: warning: typedef requires a name [-Wmissing-declarations]
      typedef struct _typeobject {
      ^~~~~~~
      1 warning generated.
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/a2af.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/a2af.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/a2tf.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/a2tf.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/ab.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/ab.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/ae2hd.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/ae2hd.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/af2a.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/af2a.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/anp.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/anp.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/anpm.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/anpm.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/apcg.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/apcg.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/apcg13.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/apcg13.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/apci.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/apci.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/apci13.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/apci13.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/apco.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/apco.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/apco13.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/apco13.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/apcs.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/apcs.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/apcs13.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/apcs13.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/aper.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/aper.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/aper13.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/aper13.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/apio.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/apio.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/apio13.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/apio13.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/atcc13.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/atcc13.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/atccq.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/atccq.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/atci13.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/atci13.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/atciq.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/atciq.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/atciqn.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/atciqn.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/atciqz.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/atciqz.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/atco13.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/atco13.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/atic13.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/atic13.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/aticq.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/aticq.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/aticqn.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/aticqn.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/atio13.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/atio13.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/atioq.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/atioq.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/atoc13.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/atoc13.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/atoi13.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/atoi13.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/atoiq.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/atoiq.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/bi00.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/bi00.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/bp00.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/bp00.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/bp06.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/bp06.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/bpn2xy.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/bpn2xy.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/c2i00a.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/c2i00a.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/c2i00b.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/c2i00b.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/c2i06a.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/c2i06a.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/c2ibpn.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/c2ibpn.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/c2ixy.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/c2ixy.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/c2ixys.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/c2ixys.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/c2s.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/c2s.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/c2t00a.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/c2t00a.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/c2t00b.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/c2t00b.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/c2t06a.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/c2t06a.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/c2tcio.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/c2tcio.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/c2teqx.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/c2teqx.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/c2tpe.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/c2tpe.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/c2txy.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/c2txy.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/cal2jd.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/cal2jd.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/cp.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/cp.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/cpv.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/cpv.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/cr.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/cr.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/d2dtf.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/d2dtf.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/d2tf.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/d2tf.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/dat.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/dat.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/dtdb.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/dtdb.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/dtf2d.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/dtf2d.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/eceq06.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/eceq06.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/ecm06.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/ecm06.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/ee00.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/ee00.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/ee00a.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/ee00a.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/ee00b.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/ee00b.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/ee06a.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/ee06a.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/eect00.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/eect00.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/eform.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/eform.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/eo06a.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/eo06a.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/eors.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/eors.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/epb.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/epb.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/epb2jd.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/epb2jd.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/epj.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/epj.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/epj2jd.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/epj2jd.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/epv00.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/epv00.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/eqec06.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/eqec06.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/eqeq94.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/eqeq94.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/era00.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/era00.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/erfadatextra.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/erfadatextra.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DHAVE_CONFIG_H=1 -Iliberfa/erfa/src -Iliberfa/erfa -I/private/var/folders/47/t9k4zdz96vzd4v1rxyv07nvh0000gn/T/pip-build-env-rei251_v/overlay/lib/python3.12/site-packages/numpy/core/include -I/Users/clm/.pyenv/versions/astropy.devdeps/include -I/Users/clm/.pyenv/versions/3.12.1/include/python3.12 -c liberfa/erfa/src/erfaversion.c -o build/temp.macosx-14.1-arm64-cpython-312/liberfa/erfa/src/erfaversion.o
      liberfa/erfa/src/erfaversion.c:26:10: error: incompatible pointer to integer conversion returning 'char[2]' from a function with result type 'int' [-Wint-conversion]
        return PACKAGE_VERSION_MAJOR;
               ^~~~~~~~~~~~~~~~~~~~~
      liberfa/erfa/config.h:2:31: note: expanded from macro 'PACKAGE_VERSION_MAJOR'
      #define PACKAGE_VERSION_MAJOR "2"
                                    ^~~
      liberfa/erfa/src/erfaversion.c:31:10: error: incompatible pointer to integer conversion returning 'char[2]' from a function with result type 'int' [-Wint-conversion]
        return PACKAGE_VERSION_MINOR;
               ^~~~~~~~~~~~~~~~~~~~~
      liberfa/erfa/config.h:3:31: note: expanded from macro 'PACKAGE_VERSION_MINOR'
      #define PACKAGE_VERSION_MINOR "0"
                                    ^~~
      liberfa/erfa/src/erfaversion.c:36:10: error: incompatible pointer to integer conversion returning 'char[2]' from a function with result type 'int' [-Wint-conversion]
        return PACKAGE_VERSION_MICRO;
               ^~~~~~~~~~~~~~~~~~~~~
      liberfa/erfa/config.h:4:31: note: expanded from macro 'PACKAGE_VERSION_MICRO'
      #define PACKAGE_VERSION_MICRO "1"
                                    ^~~
      3 errors generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyerfa
Failed to build pyerfa
ERROR: Could not build wheels for pyerfa, which is required to install pyproject.toml-based projects

I don't quite get what's happening yet, and it's possible that it's really just showing something is broken in my setup, but I cannot pin point it for now. It's kinda blocking my personal workflow to test astropy with numpy dev locally, so I do have an incentive to inspect and fix this myself :)

@neutrinoceros
Copy link
Contributor Author

fixed in liberfa/erfa#101

@neutrinoceros
Copy link
Contributor Author

I can't even reproduce locally today, so let's just close this.

@mhsmith
Copy link

mhsmith commented Oct 23, 2024

I hit the same error when compiling for Android:

liberfa/erfa/src/erfaversion.c:26:10: error: incompatible pointer to integer conversion returning 'char[2]' from a function with result type 'int' [-Wint-conversion]
   26 |   return PACKAGE_VERSION_MAJOR;
      |          ^~~~~~~~~~~~~~~~~~~~~
liberfa/erfa/config.h:2:31: note: expanded from macro 'PACKAGE_VERSION_MAJOR'
    2 | #define PACKAGE_VERSION_MAJOR "2"
      |                               ^~~
liberfa/erfa/src/erfaversion.c:31:10: error: incompatible pointer to integer conversion returning 'char[2]' from a function with result type 'int' [-Wint-conversion]
   31 |   return PACKAGE_VERSION_MINOR;
      |          ^~~~~~~~~~~~~~~~~~~~~
liberfa/erfa/config.h:3:31: note: expanded from macro 'PACKAGE_VERSION_MINOR'
    3 | #define PACKAGE_VERSION_MINOR "0"
      |                               ^~~
liberfa/erfa/src/erfaversion.c:36:10: error: incompatible pointer to integer conversion returning 'char[2]' from a function with result type 'int' [-Wint-conversion]
   36 |   return PACKAGE_VERSION_MICRO;
      |          ^~~~~~~~~~~~~~~~~~~~~
liberfa/erfa/config.h:4:31: note: expanded from macro 'PACKAGE_VERSION_MICRO'
    4 | #define PACKAGE_VERSION_MICRO "1"
      |                               ^~~

It's probably caused by this code:

pyerfa/setup.py

Lines 122 to 132 in 12b938e

subprocess.run(['./configure'], check=True, cwd=LIBERFADIR)
except (subprocess.SubprocessError, OSError) as exc:
warn(f'unable to configure liberfa: {exc}')
if not os.path.exists(config_h):
liberfa_versions = get_liberfa_versions()
if liberfa_versions:
print('Configure liberfa ("configure.ac" scan)')
lines = []
for name, value in get_liberfa_versions():
lines.append(f'#define {name} "{value}"')

If the configure script fails for any reason at all, then setup.py will generate the config.h file in a different way, which includes quotes around the version numbers.

@neutrinoceros
Copy link
Contributor Author

interesting, then I guess we should re-open.
I think we need some systematic way to reproduce it, but it sounds like you're onto something: do you think that it'd be possible to patch the configuration script such that we'd hit this problem ?

@neutrinoceros neutrinoceros reopened this Oct 23, 2024
@mhsmith
Copy link

mhsmith commented Oct 23, 2024

Any failure in the configure script should hit this problem, so exit 1 at the top should do it.

@neutrinoceros
Copy link
Contributor Author

I'm having a hard time figuring out where to hook this up in the build process since so much of it is code generation and the configure script itself (liberfa/erfa/configure) is generated.

@mhsmith
Copy link

mhsmith commented Oct 24, 2024

configure is generated from configure.ac, and although that file currently only contains autoconf macros, it can also contain arbitrary shell commands.

@neutrinoceros
Copy link
Contributor Author

Here's what I've been trying

diff --git a/configure.ac b/configure.ac
index a3dc59b..e763b5d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 # Process this file with autoconf to produce a configure script.
-
+exit 1
 AC_PREREQ([2.68])
 ## Follow the instructions in RELEASE.rst to change package version
 AC_INIT([erfa],[2.0.1])

but this doesn't fail as expected. In fact, it doesn't prevent building at all on my system (even from a clean slate)

@neutrinoceros
Copy link
Contributor Author

in fact here's my whole test script

set -euxo pipefail
rm -fr pyerfa || true

git clone https://github.com/liberfa/pyerfa
pushd pyerfa
git submodule update --init

uv venv -p 3.13

pushd liberfa/erfa
git apply ../../../patch
popd

uv build
popd

where patch contains the patch I just posted

@mhsmith
Copy link

mhsmith commented Oct 26, 2024

Ah, it looks like this was actually fixed in #155, but there hasn't been a release since then.

@neutrinoceros
Copy link
Contributor Author

🤦🏻‍♂️ I forgot about that. Well, up to maintainers to decide if this should be closed again or if we should keep it open as long as there is no release with the fix

@mhvk
Copy link
Contributor

mhvk commented Nov 15, 2024

Since I made a new release, this should be fixed. Let's hope it remains so!

@mhvk mhvk closed this as completed Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants