Bug#1049872: FTBFS on multiple release architectures
Emanuele Rocca
ema at debian.org
Wed Aug 16 13:29:10 BST 2023
Source: asmjit
Version: 0.0~git20230427.3577608-1
Severity: serious
Tags: sid trixie ftbfs
Hi,
asmjit does not build correctly on the following architectures:
armel, armhf, mips64el, mipsel, s390x.
On armel, armhf, and s390x the error is tests-related:
[...]
1: Success:
1: All tests passed!
6/6 Test #1: asmjit_test_unit ................. Passed 57.81 sec
83% tests passed, 1 tests failed out of 6
Total Test time (real) = 57.82 sec
The following tests FAILED:
6 - asmjit_test_compiler (SEGFAULT)
Errors while running CTest
make[1]: *** [Makefile:74: test] Error 8
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi'
dh_auto_test: error: cd obj-arm-linux-gnueabi && make -j4 test ARGS\+=--verbose ARGS\+=-j4 returned exit code 2
make: *** [debian/rules:7: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
On mips64el and mipsel the failure looks different:
[...]
[ 91%] Building CXX object CMakeFiles/asmjit_test_perf.dir/test/asmjit_test_perf_a64.cpp.o
/usr/bin/c++ -I"/<<PKGBUILDDIR>>/src" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -Wall -Wextra -Wconversion -fno-math-errno -fno-threadsafe-statics -fno-semantic-interposition -DASMJIT_STATIC -O2 -fmerge-all-constants -fno-enforce-eh-specs -MD -MT CMakeFiles/asmjit_test_perf.dir/test/asmjit_test_perf_a64.cpp.o -MF CMakeFiles/asmjit_test_perf.dir/test/asmjit_test_perf_a64.cpp.o.d -o CMakeFiles/asmjit_test_perf.dir/test/asmjit_test_perf_a64.cpp.o -c "/<<PKGBUILDDIR>>/test/asmjit_test_perf_a64.cpp"
/<<PKGBUILDDIR>>/test/asmjit_test_perf.h:56:22: error: expected unqualified-id before numeric constant
56 | static inline double mips(double duration, uint64_t instCount) noexcept {
| ^~~~
In file included from /<<PKGBUILDDIR>>/test/asmjit_test_perf_a64.cpp:15:
/<<PKGBUILDDIR>>/test/asmjit_test_perf.h: In function ‘void asmjit_perf_utils::bench(asmjit::_abi_1_10::CodeHolder&, asmjit::_abi_1_10::Arch, uint32_t, const char*, uint32_t, const FuncT&)’:
/<<PKGBUILDDIR>>/test/asmjit_test_perf.h:105:34: error: expression cannot be used as a function
105 | printf(", %8.3f [MI/s]", mips(duration, instCount));
| ^
make[3]: *** [CMakeFiles/asmjit_test_perf.dir/build.make:93: CMakeFiles/asmjit_test_perf.dir/test/asmjit_test_perf_a64.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-mips64el-linux-gnuabi64'
make[2]: *** [CMakeFiles/Makefile2:178: CMakeFiles/asmjit_test_perf.dir/all] Error 2
More information about the debian-science-maintainers
mailing list