I've tried building using loong64 QEMU sbuild as described here: https://wiki.debian.org/LoongArch/sbuildQEMU
The build appears to require loong64-ported version of linux-libc-dev. Otherwise, <asm/sigcontext.h> would be missing. When linux-libc-dev is satisfied, the build compiles successfully, but then fails at override_dh_auto_test stage, with 1 failed test: "status". The log in testsuite.log says: ---8<--- 233. variables.at:1397: testing $ status ... ./variables.at:1407: tcsh -f status.csh 2>&1 | sed 's/Abort *(core dumped)/Abort /' --- - 2024-02-01 03:21:49.076577996 +0000 +++ /tmp/build/tcsh-6.24.10/testsuite.dir/at-groups/233/stdout 2024-02-01 03:21 :49.056169869 +0000 @@ -1,4 +1,5 @@ 0 +qemu: uncaught target signal 6 (Aborted) - core dumped Abort OK 0 233. variables.at:1397: 233. $ status (variables.at:1397): FAILED (variables.at: 1407) ---8<--- The extra output line comes from QEMU. Is it possible to configure sbuild/buildd chroot to quiet QEMU? For the 'nice' test reported earlier, it now passes. Regards, -- Theppitak Karoonboonyanan http://linux.thai.net/~thep/