Source: exult Version: 1.10-1 Severity: serious Tags: FTBFS, patch User: debian-ri...@lists.debian.org Usertags: riscv64 X-Debbugs-Cc: debian-ri...@lists.debian.org
Dear exult Maintainer, The package exult build failure on riscv64. The crucial buildd log below: ``` version.cc:206:24: error: expected ‘;’ before ‘out’ 206 | out << "RISC-V" | ^ | ; ...... 212 | out << std::endl; | ~~~ make[3]: *** [Makefile:1700: exult-version.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/<<PKGBUILDDIR>>' make[2]: *** [Makefile:1725: all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:914: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j4 returned exit code 2 make: *** [debian/rules:8: build-arch] Error 255 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 ``` The full buildd log is here: https://buildd.debian.org/status/fetch.php?pkg=exult&arch=riscv64&ver=1.10-1&stamp=1725939791&raw=0 My solution to this issue: We can fix this syntax error by changing line 206 of version.cc from``` out << "RISC-V" ``` to``` out << "RISC-V"; ```. l have tested this solution on local,and it works well.Please let me know wheather the solution can be accepted. The patch is in the attachment. Gui-Yue Best Regards
fix_build_failure_on_riscv.patch
Description: Binary data