cgit build on riscv64 machine

Samuel Lidén Borell samuel at kodafritt.se
Tue Jul 19 07:38:56 UTC 2022


Hi Bo,

On Tue, 19 Jul 2022 10:44:57 +0800, Bo YU <tsu.yubo at gmail.com> wrote:

> Hi,
> (very sorry if resend the mail, it seems that my email client has issue)
> I am trying to build cgit on riscv64 arch. But it fails due to
> test case failed:
[...]
> not ok 10 - do not access $HOME: foo/snapshot/master.tar.gz
> #
> #                       test_no_home_access 'foo/snapshot/master.tar.gz'
> #
> # failed 10 among 10 test(s)
> 1..10
> make[1]: *** [Makefile:12: t0109-gitconfig.sh] Error 1
> make: *** [Makefile:83: test] Error 2


Are you using qemu-user?

That test uses strace, which in turn uses the ptrace() system call.
qemu-user does not support ptrace(). At least it didn't when I tried a couple of years ago.

Best Regards,
Samuel


More information about the CGit mailing list