Hi, On 2024-11-15 22:07, Andrey Rakhmatullin wrote: > Source: python-ptrace > Version: 0.9.9-0.1 > Severity: serious > Tags: ftbfs > > https://buildd.debian.org/status/fetch.php?pkg=python- > ptrace&arch=riscv64&ver=0.9.9-0.1%2Bb2&stamp=1731547088&raw=0 > > It looks like there are two test failures caused by "OverflowError: Python int > too large to convert to C long"
The issue is due to a riscv kernel change that appeared in 6.11 and being discussed there: https://lore.kernel.org/lkml/[email protected]/ The thread suggests to use PTRACE_GET_SYSCALL_INFO to get the syscall number and its arguments instead of getting the registers and mapping them into an arch dependent way to syscall number and arguments. That actually simplifies things, but requires kernel >= 5.13, which is not a problem for riscv64. I'll look at implementing that and providing a patch. Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B [email protected] http://aurel32.net

