-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
0.8.5 fails to build on RHEL 8.3 #11195
Comments
Unfortunately, only CentOS and Fedora are officially supported by OpenZFS. Once CentOS is updated to the newer RHEL kernel, the kmod packages will probably for you though. You can also try using the CentOS dkms packages. |
Ah sorry, I missed that you were building the packages manually. Yes, we should get this fixed as we're probably going to hit this when CentOS updates to the latest RHEL kernel. |
|
@behlendorf just put out the 7.9 kmod packages: #11197. Do those work for you? |
A similar issue #10713 has been resolved in 0.8.4. Could this be a regression? |
FWIW, the 2.0.0 package in the testing repo is able to compile and run. |
As CentOS 8.3.2011 released today (at least the update packages) I'm getting the same error for installed ZFS version 0.8.4.
|
Yes they are (2.0.0 is at least). As I said in my last reply, they're in the testing repositories. |
Nevermind, after manually installing the repo for CentOS 8.2.2004 again I was able to install ZFS 0.8.5. I don't know why but after doing My server was initially installed with CentOS 8.1.1911 in January with ZFS 0.8.3 and was able to automatically update to ZFS 0.8.4, but not ZFS 0.8.5. Like I mentioned after executing the following commands I got the ZFS 0.8.5 update:
Edit:
With 2.0.0 testing I was able to fully build the DKMS module for CentOS 8.3.2011 kernel 4.18.0-240.1.1.el8_3.x86_64. |
same issue here: (
maybe related to the configure script not finding blkg_tryget?
but according to /usr/src/kernels/4.18.0-240.1.1.el8_3.x86_64/include/linux/blk-cgroup.h
|
building openzfs-2.0.0 (pristine) works fine and the configure script has:
|
oops, it should be on the centos issue! |
See PR #11322 for the updated patch stack to resolve this build failure on CentOS 8.3. |
I'm using centos8stream, a recent update breaks zfs again....
|
confirmed 0.8.5 + https://github.com/openzfs/zfs/pull/11322.patch and (autogen.sh && ./configure && make rpm) |
for the c8 stream kernel 4.18.0-257.el8.x86_64, trying the 0.8.5+ proposed #11322 patch yields:
|
same error for openzfs-2.0.0 (as expected)
|
#11332 I fixed that issue changing
|
imho, 0.8.6 is fixing this for CentOS 8.3.2011 (kernel 4.18.0-240.el8.x86_64 series). |
That's right. 0.8.6 was released which builds against CentOS 8.3. |
System information
Describe the problem you're observing
Release
0.8.5
fails to build the kernel module on the latest RHEL kernel. I'm able to build kABI kmod packages perfectly fine on 8.2 kernel -4.18.0-193.el8.x86_64
. Just out of curiosity I've tested2.0.0-rc5
and it builds and seems to work fine on4.18.0-240.el8.x86_64
.Describe how to reproduce the problem
Try to build rpm packages set from the release tar archive on RHEL 8.3.
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: