Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python-blis 0.7.7-1 error when building #183

Open
ac0mplex opened this issue Mar 31, 2022 · 3 comments
Open

python-blis 0.7.7-1 error when building #183

ac0mplex opened this issue Mar 31, 2022 · 3 comments

Comments

@ac0mplex
Copy link

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?

@vn971
Copy link
Owner

vn971 commented Mar 31, 2022

Hi @sadsumi ! This probably happened due to, indeed, making a "disallowed" system call. rua forbids 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#L81

Currently, 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 it

@vn971
Copy link
Owner

vn971 commented 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
Copy link
Owner

vn971 commented 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants