Hi,
On Sat, 16 Nov 2024 16:33:02 +0800 zhangdandan wrote:
> Source: nix
> Version: 2.24.9+dfsg-2
> Severity: normal
> Tags: sid
> User: [email protected]
> Usertags: loong64
>
> Dear maintainers,
>
>
> nix 2.18.1+dfsg-1 was built successfully on loong64 Buildds.
> But after version 2.18.1+dfsg-1, there are 10 times failure.
> The full log can be found at
>
https://buildd.debian.org/status/fetch.php?pkg=nix&arch=loong64&ver=2.24.9%2Bdfsg-2&stamp=1731490304&raw=0.
>
> After investigation, I found that fchmodat2 syscall is supported in
> libseccomp 2.5.5-2 version.
> Due to my local ENV's libseccomp version is 2.5.5-2, So I provide some
> logs:
> ```
> loongson@localhost:~/nix-2.24.9+dfsg$ grep "fchmodat2" -ri /usr/include/
> /usr/include/seccomp-syscalls.h:#define __SNR_fchmodat2 __NR_fchmodat2
> /usr/include/asm-generic/unistd.h:#define __NR_fchmodat2 452
> /usr/include/asm-generic/unistd.h:__SYSCALL(__NR_fchmodat2,
sys_fchmodat2)
> /usr/include/loongarch64-linux-gnu/bits/syscall.h:#ifdef __NR_fchmodat2
> /usr/include/loongarch64-linux-gnu/bits/syscall.h:# define SYS_fchmodat2
> __NR_fchmodat2
> loongson@localhost:~/nix-2.24.9+dfsg$ dpkg -S
> /usr/include/seccomp-syscalls.h
> libseccomp-dev:loong64: /usr/include/seccomp-syscalls.h
> loongson@localhost:~/nix-2.24.9+dfsg$ dpkg -l |grep libseccomp-dev
> ii libseccomp-dev:loong64 2.5.5-2
> ......
> ```
> Now loong64's libseccomp version is 2.5.4-1 unreleased
>
version(http://ftp.ports.debian.org/debian-ports/pool-loong64/main/libs/libseccomp/).
>
> Please pay attention to the above phenomenon.
>
libseccomp 2.5.5-2 is available on loong64 since November 25, 2024.
Thanks libseccomp's maintainer.
The building details of libseccomp 2.5.5-2 can be found at
https://buildd.debian.org/status/logs.php?pkg=libseccomp&arch=loong64.
The next, need to give-back nix for loong64, due to nix depends on the
syscall (__SNR_fchmodat2) provided by libseccomp 2.5.5-2.
Best regards,
Dandan