Bug#1120659: llvmlite: prevent tests break on loong64
zhangdandan
zhangdandan at loongson.cn
Fri Nov 14 03:33:38 GMT 2025
Source: llvmlite
Version: 0.44.0-1
Severity: normal
Tags: FTBFS patch
User: debian-loongarch at lists.debian.org
Usertags: loong64
Dear maintainers,
Compiling the llvmlite failed for loong64 in the Debian Package
Auto-Building environment.
The error log is as follows,
```
......
dh_auto_test
pybuild --test -i python{version} -p 3.13
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_llvmlite/build; python3.13 -m
unittest discover -v
test_function_cfg_on_llvm_value
(llvmlite.tests.test_binding.TestAnalysis.test_function_cfg_on_llvm_value)
... ok
test_get_function_cfg_on_ir
(llvmlite.tests.test_binding.TestAnalysis.test_get_function_cfg_on_ir)
... ok
test_linux (llvmlite.tests.test_binding.TestDependencies.test_linux) ...
skipped 'Distribution-specific test'
test_bad_library
(llvmlite.tests.test_binding.TestDylib.test_bad_library) ... ok
test_libm (llvmlite.tests.test_binding.TestDylib.test_libm) ... ok
test_add_module
(llvmlite.tests.test_binding.TestGlobalConstructors.test_add_module) ... ok
test_add_module_lifetime
(llvmlite.tests.test_binding.TestGlobalConstructors.test_add_module_lifetime)
... ok
test_add_module_lifetime2
(llvmlite.tests.test_binding.TestGlobalConstructors.test_add_module_lifetime2)
... ok
test_close
(llvmlite.tests.test_binding.TestGlobalConstructors.test_close) ... ok
test_emit_assembly
(llvmlite.tests.test_binding.TestGlobalConstructors.test_emit_assembly)
Test TargetMachineRef.emit_assembly() ... warning: the triple-implied
ABI is invalid, ignoring and using feature-implied ABI
ok
test_emit_object
(llvmlite.tests.test_binding.TestGlobalConstructors.test_emit_object)
Test TargetMachineRef.emit_object() ... warning: the triple-implied ABI
is invalid, ignoring and using feature-implied ABI
warning: the triple-implied ABI is invalid, ignoring and using
feature-implied ABI
ok
test_global_ctors_dtors
(llvmlite.tests.test_binding.TestGlobalConstructors.test_global_ctors_dtors)
... warning: the triple-implied ABI is invalid, ignoring and using
feature-implied ABI
warning: the triple-implied ABI is invalid, ignoring and using
feature-implied ABI
Trace/breakpoint trap
E: pybuild pybuild:389: test: plugin distutils failed with: exit
code=133: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_llvmlite/build;
python3.13 -m unittest discover -v
rm -fr -- /tmp/dh-xdg-rundir-_S2sJkOB
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned
exit code 13
make[1]: *** [debian/rules:19: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
......
```
The full build log can be found at
https://buildd.debian.org/status/fetch.php?pkg=llvmlite&arch=loong64&ver=0.44.0-1&stamp=1762536974&raw=0.
Please consider the patch attached.
Your opinions are welcome.
Best regards,
Dandan Zhang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvmlite-prevent-tests-break-on-loong64.patch
Type: text/x-patch
Size: 550 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20251114/9ed7f9dc/attachment.bin>
More information about the Pkg-llvm-team
mailing list