matthewcroughan @fosdem | [33/61] Compiling C++ object libnixutil.so.p/unix_file-descriptor.cc.o
FAILED: [code=1] libnixutil.so.p/unix_file-descriptor.cc.o
aarch64-unknown-linux-musl-clang++ -Ilibnixutil.so.p -I. -I.. -Iinclude -I../include -I../widecharwidth -Ilinux/include -I../linux/include -Iunix -I../unix -Iunix/include -I../unix/include -I/nix/store/2kq21fj8mcqbb2dk078kdkz0a4slp9y9-libarchive-aarch64-unknown-linux-musl-3.8.1-dev/include -I/nix/store/15nrd5ki3mn2wky0879jq6p8v3nl3ins-nlohmann_json-aarch64-unknown-linux-musl-3.12.>
../unix/file-descriptor.cc:174:20: error: use of undeclared identifier 'SYS_close_range'; did you mean 'unix_close_range'?
174 | return syscall(SYS_close_range, first, last, (unsigned int) flags);
| ^~~~~~~~~~~~~~~
| unix_close_range
../unix/file-descriptor.cc:171:12: note: 'unix_close_range' declared here
171 | static int unix_close_range(unsigned int first, unsigned int last, int flags)
| ^
../unix/file-descriptor.cc:174:12: error: no matching function for call to 'syscall'
174 | return syscall(SYS_close_range, first, last, (unsigned int) flags);
| ^~~~~~~
/nix/store/4w3bhgsi1al9v1jwgk9vc6ch20l7ynba-musl-aarch64-unknown-linux-musl-1.2.5-dev/include/unistd.h:180:6: note: candidate function not viable: no known conversion from 'int (unsigned int, unsigned int, int)' to 'long' for 1st argument
180 | long syscall(long, ...);
| ^ ~~~~
| 14:01:32 |