Source: libreoffice Version: 4:24.2.6-1 Severity: serious Tags: FTBFS, patch User: debian-ri...@lists.debian.org Usertags: riscv64 X-Debbugs-Cc: debian-ri...@lists.debian.org
Dear libreoffice Maintainer, The package libreoffice build failed on arch riscv64 . The crucial buildd log below: ``` test-rtl-math.cxx:662:Assertion Test name: (anonymous namespace)::Test::test_payloadNaN equality assertion failed - Expected: 48879 - Actual : 0 - Your platform does not support propagation of NaN payloads. Failures !!! Run: 1335 Failure total: 1 Failures: 1 Errors: 0 make[2]: *** [/<<PKGBUILDDIR>>/solenv/gbuild/CppunitTest.mk:130: /<<PKGBUILDDIR>>/workdir/CppunitTest/sal_rtl.test] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/sal' make[1]: *** [/<<PKGBUILDDIR>>/debian/rules:2576: check] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:2404: debian/stampdir/build-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=libreoffice&arch=riscv64&ver=4%3A24.2.6-1&stamp=1725638217&raw=0 My solution to this issue: The test failed because NaN is not supported on the RISC-V platform.W e can skip this test when build on riscv64.I have tested this solution on local, and it works well.Please let me know wheather this solution can be accepted.The patch is in the attachment. Gui-Yue Best Regards
fix_test_payloadNaN_failed_on_riscv64.patch
Description: Binary data
series
Description: Binary data