-
Notifications
You must be signed in to change notification settings - Fork 56
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
BUG: unable to compile on Archlinux #89
Comments
I believe this is fixed by #85, which is currently being reviewed. |
No, still having the same issue with the switch statement.
|
Hmm, I wonder if this is due to something related to snap? On my current (as of May 8, 2022) Arch system with my libseccomp-golang repo sitting at f57e1d5, I'm able to build and run the tests without problem.
@quinnjr are you able to fetch the current repo and successfully do a |
Tests all are passing just using
|
If I'm understanding snap's go.mod correctly, it looks like they need to point to a more recent point in the repo as the revision they are referencing doesn't have the fix from #85. @quinnjr I'm going to close this issue as I don't think there is anything else we can do from a libseccomp-golang perspective, but if you find that not to be the case please feel free to comment/reopen this issue. |
I can reproduce this with the version of libseccomp-golandg we're using in snapd and CC=clang. Interestingly gcc does not complain. Anyways, I'll see if I can update the revision have we have in snapd. |
See seccomp/libseccomp-golang#85 for details. Also fixes seccomp/libseccomp-golang#89. Fixes: https://bugs.launchpad.net/bugs/1972119 Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Thanks @bboozzoo. FWIW, I just tried Thanks. |
snap 2.61.3-1 seccomp.h no such file or directory |
The original issue was closed almost two years ago with a verdict it was a problem with snap and not libseccomp; please follow up with the snapcore/snapd team to further troubleshoot this issue. |
Attempts to compile this library on Archlinux for using
snap
result in the following error:The library does compile correctly in a clean chroot. The only thing I can really find different in my system versus a clean chroot is that I have CC/CXX set to Clang versus gcc.
The text was updated successfully, but these errors were encountered: