Replies: 4 comments
-
Note, my 5.9.10 Linux kernel is custom built with the anthraxx/linux-hardened patches applied over the top. |
Beta Was this translation helpful? Give feedback.
-
I get the same issue with Ubuntu20 in WSL2. |
Beta Was this translation helpful? Give feedback.
-
@inossidabile can you show me the exact output you get? Thanks. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue on Ubuntu 20.04 using also linuxbrew. It was caused by linuxbrew installing a previous version of kernel headers (4.4.80) whereas my kernel was 5.4.0. I spot the issue by listing the default include path in loading order with:
So removing the old kernel headers was enough to compile the native gem. So in the end nothing is wrong in your code @ioquatix :) |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am indirectly using
nio4r
via the puma gem (I believe) for a Rails project.Versions are:
Versions 2.5.5 of
nio4r
and earlier installed just fine, but 2.5.6 (and later do not).The main failure appears to be this:
Seems like
__kernel_rwf_t
is problematic in my case.This is the full build log:
Any ideas how I can get around this?
For now I have downgraded to 2.5.5.
Best regards.
Beta Was this translation helpful? Give feedback.
All reactions