-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Hey,
I've been trying to build a package python-blis (0.7.7-1) but had no luck with rua - whenever I try to do so, build() returns an error:
/home/cosmic/.cache/rua/build/python-blis/PKGBUILD: line 22: 1097 Bad system call (core dumped) python setup.py build
I believe this might have to do something with rua because I can build this package just fine with makepkg -si.
Can anyone confirm this is not an issue on my end?
Activity
vn971 commentedon Mar 31, 2022
Hi @sadsumi ! This probably happened due to, indeed, making a "disallowed" system call.
ruaforbids certain system calls for security reasons, see this list if you want to know which ones: https://github.com/vn971/rua/blob/master/build.rs#L81Currently, making an exclusion to allow certain system calls or packages is not supported, so you might be better off building that package without a security jail (e.g. another tool or
makepkg -si) if you fully trust itvn971 commentedon Mar 31, 2022
Sounds like pretty nice package though, it's a bummer that the system calls don't match the expectations. Even curious what was denied after all
vn971 commentedon Mar 31, 2022
If you know how to configure kernel audit and grep for system call deny's, I'd be curious to learn. However, I can't provide full guidance here, and there's a big chance it won't help (although who knows)