Package: teem Version: 1.12.0~20160122-4 Severity: normal Tags: ftbfs, patch User: debian-ri...@lists.debian.org Usertags: riscv64
Dear Maintainer, The teem package has a ftbfs issue on riscv64 arch: ``` ... 24: elapsed[1][10] = 3.87311 ms 32/37 Test #24: probeMulti ....................... Passed 37.77 sec test 36 Start 36: probeSS_ctmr04 36: Test command: /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/bin/test_probeSS "-k" "ctmr" "-supp" "4.0" "-pnum" "1300" 36: Test timeout computed to be: 1500 36: kpack = ctmrsup, ctmrsupD, ctmrsupDD 33/37 Test #35: probeSS_ctmr02 ................... Passed 4.21 sec test 37 Start 37: probeSS_ctmr10 37: Test command: /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/bin/test_probeSS "-k" "ctmr" "-supp" "9.0" "-pnum" "1300" 37: Test timeout computed to be: 1500 37: kpack = ctmrsup, ctmrsupD, ctmrsupDD 36: /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/bin/test_probeSS: trouble (orig, orig): 36: [probeSS] probeTask1: on point 0 of kindIdx 0 36: [probeSS] multiAnswerCompare: man1->san[si] 1.2261255947091414e-06 != man2->san[si] 1.2261255947091416e-06 34/37 Test #36: probeSS_ctmr04 ...................***Failed 2.83 sec kpack = ctmrsup, ctmrsupD, ctmrsupDD /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/bin/test_probeSS: trouble (orig, orig): [probeSS] probeTask1: on point 0 of kindIdx 0 [probeSS] multiAnswerCompare: man1->san[si] 1.2261255947091414e-06 != man2->san[si] 1.2261255947091416e-06 37: /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/bin/test_probeSS: trouble (orig, orig): 37: [probeSS] probeTask1: on point 0 of kindIdx 0 37: [probeSS] multiAnswerCompare: man1->san[si] 8.8328547952638039e-07 != man2->san[si] 8.832854795263805e-07 35/37 Test #37: probeSS_ctmr10 ...................***Failed 2.76 sec kpack = ctmrsup, ctmrsupD, ctmrsupDD /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/bin/test_probeSS: trouble (orig, orig): [probeSS] probeTask1: on point 0 of kindIdx 0 [probeSS] multiAnswerCompare: man1->san[si] 8.8328547952638039e-07 != man2->san[si] 8.832854795263805e-07 36/37 Test #28: kernall .......................... Passed 50.42 sec 37/37 Test #34: probeSS_cos10 .................... Passed 32.16 sec 95% tests passed, 2 tests failed out of 37 Total Test time (real) = 54.11 sec The following tests FAILED: 36 - probeSS_ctmr04 (Failed) 37 - probeSS_ctmr10 (Failed) Errors while running CTest make[2]: *** [Makefile:74: test] Error 8 make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu' rm -fr -- /tmp/dh-xdg-rundir-W_va2KPZ dh_auto_test: error: cd obj-riscv64-linux-gnu && make -j4 test ARGS\+=--verbose ARGS\+=-j4 LD_LIBRARY_PATH=/<<BUILDDIR>>/teem-1.12.0\~20160122/obj-riscv64-linux-gnu/bin:D_LIBRARY_PATH returned exit code 2 make[1]: *** [debian/rules:39: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:32: binary-arch] Error 2 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2 ``` The full buildd log is here: https://buildd.debian.org/status/fetch.php?pkg=teem&arch=riscv64&ver=1.12.0%7E20160122-4&stamp=1651107454&raw=0 The attached patch is to fix the ftbfs issue and it is ok to build on real riscv64 arch locally: ``` ... Build Architecture: riscv64 Build Type: binary Build-Space: 132880 Build-Time: 385 Distribution: unstable Host Architecture: riscv64 Install-Time: 48 Job: /home/vimer/05/23_teem/teem_1.12.0~20160122-4.dsc Lintian: warn Machine Architecture: riscv64 Package: teem Package-Time: 540 Source-Version: 1.12.0~20160122-4 Space: 132880 Status: successful Version: 1.12.0~20160122-4 -------------------------------------------------------------------------------- Finished at 2022-05-19T04:18:02Z Build needed 00:09:00, 132880k disk space ``` Please consider to apply it in next upload, thank you:) BR, Bo
fix ftbfs on riscv64 arch Bo YU <tsu.y...@gmail.com> --- a/debian/rules +++ b/debian/rules @@ -23,7 +23,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH_CPU), i386)) export DEB_CFLAGS_MAINT_APPEND = -ffloat-store endif -ifneq (,$(filter $(DEB_HOST_ARCH_CPU), arm64 powerpc ppc64 ppc64el s390x)) +ifneq (,$(filter $(DEB_HOST_ARCH_CPU), arm64 powerpc ppc64 ppc64el riscv64 s390x)) export DEB_CFLAGS_MAINT_APPEND = -ffp-contract=off endif
-- debian-science-maintainers mailing list debian-science-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers