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
Attempting to build sbank with clang 16.0 on macOS results in errors from undeclared functions:
$ python3 setup.py build_ext
Compiling sbank/overlap_cpu.pyx because it changed.
[1/1] Cythonizing sbank/overlap_cpu.pyx
/Users/duncanmacleod/opt/mambaforge/envs/sbank/lib/python3.12/site-packages/setuptools/__init__.py:81: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running build_ext
building 'sbank.overlap_cpu' extension
creating build
creating build/temp.macosx-10.9-x86_64-cpython-312
creating build/temp.macosx-10.9-x86_64-cpython-312/sbank
x86_64-apple-darwin13.4.0-clang -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /Users/duncanmacleod/opt/mambaforge/envs/sbank/include -fPIC -O2 -isystem /Users/duncanmacleod/opt/mambaforge/envs/sbank/include -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/duncanmacleod/opt/mambaforge/envs/sbank/include -D_FORTIFY_SOURCE=2 -isystem /Users/duncanmacleod/opt/mambaforge/envs/sbank/include -Isbank -I/Users/duncanmacleod/opt/mambaforge/envs/sbank/lib/python3.12/site-packages/numpy/core/include -I/Users/duncanmacleod/opt/mambaforge/envs/sbank/include/python3.12 -c sbank/overlap_cpu.c -o build/temp.macosx-10.9-x86_64-cpython-312/sbank/overlap_cpu.o -O3 -w -ffast-math -ffinite-math-only -std=c99
In file included from sbank/overlap_cpu.c:1267:
sbank/overlap_cpu_lib.c:70:5: error: call to undeclared function 'XLALPrintError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
CHECK_OOM(workspace_cache, "unable to allocate workspace\n");
^
sbank/overlap_cpu_lib.c:62:43: note: expanded from macro 'CHECK_OOM'
#define CHECK_OOM(ptr, msg) if (!(ptr)) { XLALPrintError((msg)); exit(-1); }
^
sbank/overlap_cpu_lib.c:101:5: error: call to undeclared function 'XLALPrintError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
CHECK_OOM(ptr->zf->data, "unable to allocate workspace array zf\n");
^
sbank/overlap_cpu_lib.c:62:43: note: expanded from macro 'CHECK_OOM'
#define CHECK_OOM(ptr, msg) if (!(ptr)) { XLALPrintError((msg)); exit(-1); }
^
sbank/overlap_cpu_lib.c:105:5: error: call to undeclared function 'XLALPrintError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
CHECK_OOM(ptr->zf->data, "unable to allocate workspace array zt\n");
^
sbank/overlap_cpu_lib.c:62:43: note: expanded from macro 'CHECK_OOM'
#define CHECK_OOM(ptr, msg) if (!(ptr)) { XLALPrintError((msg)); exit(-1); }
^
sbank/overlap_cpu_lib.c:110:5: error: call to undeclared function 'XLALPrintError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
CHECK_OOM(ptr->plan, "unable to allocate plan");
^
sbank/overlap_cpu_lib.c:62:43: note: expanded from macro 'CHECK_OOM'
#define CHECK_OOM(ptr, msg) if (!(ptr)) { XLALPrintError((msg)); exit(-1); }
^
sbank/overlap_cpu_lib.c:156:9: error: call to undeclared function 'XLALPrintError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
XLALPrintError("out of space in the workspace_cache\n");
^
sbank/overlap_cpu_lib.c:164:5: error: call to undeclared function 'XLALCOMPLEX8VectorFFT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
XLALCOMPLEX8VectorFFT(ws->zt, ws->zf, ws->plan); /* plan is reverse */
^
sbank/overlap_cpu_lib.c:203:9: error: call to undeclared function 'XLALPrintError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
XLALPrintError("out of space in the workspace_cache\n");
^
sbank/overlap_cpu_lib.c:211:5: error: call to undeclared function 'XLALCOMPLEX8VectorFFT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
XLALCOMPLEX8VectorFFT(ws->zt, ws->zf, ws->plan); /* plan is reverse */
^
sbank/overlap_cpu_lib.c:241:9: error: call to undeclared function 'XLALPrintError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
XLALPrintError("out of space in the workspace_cache\n");
^
sbank/overlap_cpu_lib.c:246:9: error: call to undeclared function 'XLALPrintError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
XLALPrintError("out of space in the workspace_cache\n");
^
sbank/overlap_cpu_lib.c:255:5: error: call to undeclared function 'XLALCOMPLEX8VectorFFT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
XLALCOMPLEX8VectorFFT(ws1->zt, ws1->zf, ws1->plan); /* plan is reverse */
^
sbank/overlap_cpu_lib.c:314:9: error: call to undeclared function 'XLALPrintError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
XLALPrintError("out of space in the workspace_cache\n");
^
sbank/overlap_cpu_lib.c:319:9: error: call to undeclared function 'XLALPrintError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
XLALPrintError("out of space in the workspace_cache\n");
^
sbank/overlap_cpu_lib.c:328:5: error: call to undeclared function 'XLALCOMPLEX8VectorFFT'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
XLALCOMPLEX8VectorFFT(ws1->zt, ws1->zf, ws1->plan); /* plan is reverse */
^
14 errors generated.
error: command '/Users/duncanmacleod/opt/mambaforge/envs/sbank/bin/x86_64-apple-darwin13.4.0-clang' failed with exit code 1
Attempting to build sbank with clang 16.0 on macOS results in errors from undeclared functions:
This is preventing new builds for conda-forge, see conda-forge/sbank-feedstock#12.
The text was updated successfully, but these errors were encountered: