build: Add CXXFLAGS and LDFLAGS handling for aarch64 macOS #317
Cirrus CI / Test build arm_container:python:3.12
failed
Sep 17, 2024 in 9m 9s
Task Summary
Instruction pytest failed in 00:18
Details
✅ 01:05 clone
✅ 00:06 install_build_dependencies
✅ 00:03 create_venv
✅ 07:32 install
❌ 00:18 pytest
import fastjet._ext # noqa: F401, E402
E ImportError: /tmp/venv/lib/python3.12/site-packages/fastjet/_fastjet_core/lib/libfastjet.so.0: undefined symbol: __gmpn_com
__________________ ERROR collecting tests/test_007-general.py __________________
ImportError while importing test module '/tmp/cirrus-ci-build/tests/test_007-general.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../venv/lib/python3.12/site-packages/_pytest/python.py:493: in importtestmodule
mod = import_path(
../venv/lib/python3.12/site-packages/_pytest/pathlib.py:582: in import_path
importlib.import_module(module_name)
/usr/local/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
???
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
../venv/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
tests/test_007-general.py:5: in <module>
import fastjet._pyjet # noqa: F401
../venv/lib/python3.12/site-packages/fastjet/__init__.py:7: in <module>
import fastjet._ext # noqa: F401, E402
E ImportError: /tmp/venv/lib/python3.12/site-packages/fastjet/_fastjet_core/lib/libfastjet.so.0: undefined symbol: __gmpn_com
___________________ ERROR collecting tests/test_008-dask.py ____________________
ImportError while importing test module '/tmp/cirrus-ci-build/tests/test_008-dask.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../venv/lib/python3.12/site-packages/_pytest/python.py:493: in importtestmodule
mod = import_path(
../venv/lib/python3.12/site-packages/_pytest/pathlib.py:582: in import_path
importlib.import_module(module_name)
/usr/local/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
???
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
../venv/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
tests/test_008-dask.py:5: in <module>
import fastjet._pyjet # noqa: F401
../venv/lib/python3.12/site-packages/fastjet/__init__.py:7: in <module>
import fastjet._ext # noqa: F401, E402
E ImportError: /tmp/venv/lib/python3.12/site-packages/fastjet/_fastjet_core/lib/libfastjet.so.0: undefined symbol: __gmpn_com
!!!!!!!!!!!!!!!!!!! Interrupted: 9 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 9 errors in 1.68s ===============================
Exit status: 2
Loading