After conferring with the aport maintainer, temporarily use -Wno-all to rebuild to unblock the loongarch64 builder (error log).
-Wno-all