Bug#1077336: jpeg-xl: FTBFS on riscv64: ninja: build stopped: interrupted by user.
Aurelien Jarno
aurel32 at debian.org
Sun Jul 28 16:34:01 BST 2024
Source: jpeg-xl
Version: 0.10.3-4
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-riscv at lists.debian.org
User: debian-riscv at lists.debian.org
Usertags: riscv64
Dear maintainer,
jpeg-xl fails to build on riscv64 due to a timeout issue in the
testsuite:
| debian/rules override_dh_auto_test-arch
| make[1]: Entering directory '/<<PKGBUILDDIR>>'
| # armel requires 7h to run complete testsuite:
| timeout 7h dh_auto_test --
| cd obj-riscv64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test
| [0/1] Running tests...
| Test project /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu
...
| 5955/7667 Test #5955: DecodeAllEncodingsVariantsTestInstantiation/DecodeAllEncodingsVariantsTest.SetPreferredColorProfileTest/From_RGB_DCI_DCI_Per_PeQ_without_icc_dst_without_cms # GetParam() = (ColorEncoding/RGB_DCI_DCI_Per_PeQ, false, false) ............................................................................................................................................................................................................................................................................. Passed 1.93 sec
| Start 5956: DecodeAllEncodingsVariantsTestInstantiation/DecodeAllEncodingsVariantsTest.SetPreferredColorProfileTest/From_RGB_DCI_DCI_Per_PeQ_without_icc_dst_with_cms # GetParam() = (ColorEncoding/RGB_DCI_DCI_Per_PeQ, false, true)
| SCALAR(0x2af9d0e210)ninja: build stopped: interrupted by user.
| make[1]: *** [debian/rules:104: override_dh_auto_test-arch] Error 124
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:61: binary-arch] Error 2
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
It appears that this new version added more tests, which overall takes
longer to execute. Increasing the timeout from 7h to 10h is enough to
fix the FTBFS:
--- jpeg-xl-0.10.3/debian/rules
+++ jpeg-xl-0.10.3/debian/rules
@@ -100,8 +100,8 @@
override_dh_auto_test-indep:
override_dh_auto_test-arch:
- # armel requires 7h to run complete testsuite:
- timeout 7h dh_auto_test --
+ # riscv64 requires 10h to run complete testsuite:
+ timeout 10h dh_auto_test --
override_dh_installman-arch: tools_manpages devtools_manpages jpegli_tools_manpages
dh_installman
Regards
Aurelien
More information about the Pkg-phototools-devel
mailing list