New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/43225#issuecomment-1499432522 Comment: > aarch64: > * maxima: has emacs both in host and run deps, so it's not in the repo; must build with ~sbcl, otherwise it fails @paper42 - emacs is cross: we can add an `emacs` option and disable it for cross. - sbcl is also cross, so it should also be disabled at least for cross. Do you mean maxima also fails when both sbcl and maxima are built natively? > * sagemath: fails to start tests with `aarch64-linux-gnu.so: undefined_symbol: fmpz_set_ZZ` That is coming from flintlib. Are you using the cross built package or the native built one? The difference is that flintlib uses ntl if built natively and not if built cross. What's the output of ``` $ objdump -T /usr/lib/libflint.so.17 | grep fmpz_set_ZZ 000000000009f8f0 g DF .text 00000000000001ab Base fmpz_set_ZZ 000000000009faa0 g DF .text 0000000000000005 Base fmpz_set_ZZ_p ``` What about: ``` $ for p in /usr/lib/python3.11/site-packages/sage/libs/flint/*.so ; do echo $p ; readelf -d $p | grep libflint ; done /usr/lib/python3.11/site-packages/sage/libs/flint/arith.so 0x0000000000000001 (NEEDED) Shared library: [libflint.so.17] /usr/lib/python3.11/site-packages/sage/libs/flint/flint.so 0x0000000000000001 (NEEDED) Shared library: [libflint.so.17] /usr/lib/python3.11/site-packages/sage/libs/flint/fmpz_poly.so 0x0000000000000001 (NEEDED) Shared library: [libflint.so.17] /usr/lib/python3.11/site-packages/sage/libs/flint/ulong_extras.so 0x0000000000000001 (NEEDED) Shared library: [libflint.so.17] ```