-
Notifications
You must be signed in to change notification settings - Fork 166
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
ansible: add libcap-dev package to Linux distros #2607
Conversation
This is no longer in the CI so it should be alright to remove it. Refs: nodejs#2607
95a7d52
to
14ef549
Compare
I've updated this on top of the recently landed PR's that touch the ansible scripts have applied it to most of the non-containered Linux systems with the exception of hosts that we currently have issues with: #2531 |
This has been applied to the CI, but a test build of nodejs/node#37727, https://ci.nodejs.org/job/node-test-pull-request/37434/, is failing on the centos, fedora and alpine hosts. |
Perhaps at least on Fedora we need
|
I'll take a closer look at this now. Thanks! |
Yeah, it actually looks like this is required and I had it installed locally but don't remember installing it. I'll look into what can be done for centos and alpine. |
This is no longer in the CI so it should be alright to remove it. Refs: #2607 Co-authored-by: Richard Lau <rlau@redhat.com>
@richardlau I've updated nodejs/node#37727 with a suggestion that only needs the header |
@danbev Could you rebase this and fix any merge conflicts? |
This commit adds the libcap-dev package to linux distributions to support the usage of Linux capabilities in Node.js. Fixes: nodejs#2599 Refs: nodejs/node#37727
519e6f2
to
8250696
Compare
@richardlau I've updated this PR now 👍 |
I've applied this onto the container images and the ubuntu1804 hosts (i.e. the ones failing from https://ci.nodejs.org/job/node-test-pull-request/39198/ due to missing |
Re-run of failing node-test-commit-linux ✔️ |
Add libcap-dev to ubuntu1804.
This commit copies /usr/include/sys/capabilities.h to the sysroot used when cross compiling. I have no idea if this will actually work but I tried the manually with a container and at least it compiled for me.
Closing this as think that using a syscall to avoid issues with libcap-dev dependency. |
This commit adds the libcap-dev package to linux distributions to
support the usage of Linux capabilities in Node.js.
Fixes: #2599
Refs: nodejs/node#37727