[Debian-pan-maintainers] Bug#1032902: Numba issues for genx for other architectures than amd64 and ppc64el (Was: genx won't start: TypeError: Pen(): arguments did not match any overloaded call)
Andreas Tille
andreas at an3as.eu
Tue Apr 18 14:54:23 BST 2023
Hi,
I've found genx in the "Cleaner view"[1] due to missing builds[2].
It turns out that for instance for arm64[3] the build fails with
tests/test_numba_equivalency.py Fatal Python error: Segmentation fault
For armel[4] (and armhf) we get
dh_auto_test -a -O--buildsystem=pybuild
I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest tests
Fatal Python error: Aborted
Current thread 0xf7a30020 (most recent call first):
File "/usr/lib/python3/dist-packages/llvmlite/binding/ffi.py", line 151 in __call__
File "/usr/lib/python3/dist-packages/llvmlite/binding/executionengine.py", line 92 in finalize_object
File "/usr/lib/python3/dist-packages/numba/core/codegen.py", line 1060 in wrapper
File "/usr/lib/python3/dist-packages/numba/core/codegen.py", line 999 in _finalize_specific
File "/usr/lib/python3/dist-packages/numba/core/codegen.py", line 797 in _finalize_final_module
...
For i386[5]
I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0+repack
rootdir: /<<PKGBUILDDIR>>
collected 14 items / 1 error
==================================== ERRORS ====================================
_ ERROR collecting .pybuild/cpython3_3.11/build/tests/test_numba_equivalency.py _
tests/test_numba_equivalency.py:11: in <module>
from genx.models.lib import instrument, instrument_numba, paratt, paratt_numba, neutron_refl, neutron_numba, \
genx/models/lib/instrument_numba.py:9: in <module>
@numba.jit(
/usr/lib/python3/dist-packages/numba/core/decorators.py:219: in wrapper
disp.compile(sig)
/usr/lib/python3/dist-packages/numba/core/dispatcher.py:965: in compile
cres = self._compiler.compile(args, return_type)
...
and we have other errors for other architectures which all contain
the string "numba". IMHO this is a mess we can hardly fix in hard
freeze. I see only two chances:
1. Restrict the architectures to amd64 and ppc64el (which are
the only ones where the build succeeds or
2. Remove the package from testing for the moment. The only
rdepends is currently pan-grazing-incidence which will be
lowered to suggests once we re-render debian-pan metapackages.
What do you think?
Kind regards
Andreas.
[1] https://udd.debian.org/bugs/?release=bookworm_and_sid&merged=ign&done=only&rc=1&flastmod=ign&flastmodval=5&sortby=last_modified&sorto=asc&ctags=1&cdeferred=1&caffected=1&cautormtime=1&cmissingbuilds=1&#results
[2] https://buildd.debian.org/status/package.php?p=genx&suite=sid
[3] https://buildd.debian.org/status/fetch.php?pkg=genx&arch=arm64&ver=3.6.21-1&stamp=1681143066&raw=0
[4] https://buildd.debian.org/status/fetch.php?pkg=genx&arch=armel&ver=3.6.21-1&stamp=1681142381&raw=0
[5] https://buildd.debian.org/status/fetch.php?pkg=genx&arch=i386&ver=3.6.21-1&stamp=1681142358&raw=0
--
http://fam-tille.de
More information about the Debian-pan-maintainers
mailing list