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

RHEL 8.3 and Centos build failtures. #11631

Closed
Zaryob opened this issue Feb 21, 2021 · 4 comments
Closed

RHEL 8.3 and Centos build failtures. #11631

Zaryob opened this issue Feb 21, 2021 · 4 comments
Labels
Type: Building Indicates an issue related to building binaries Type: Documentation Indicates a requested change to the documentation

Comments

@Zaryob
Copy link

Zaryob commented Feb 21, 2021

I'm using zfs repository and tried to install zfs-dkms package and I get compile error in both operating systems. dkms log is same.

It seems that issue is related with #11195 and #11320 but this issued due to totally different problem

System information

Type Version/Name
Distribution Name RHEL
Distribution Version 8.3
Linux Kernel 5.10.11.el8.elrepo.x86_64
Architecture x86_64
ZFS Version 0.8.5-1.el8
SPL Version

Describe the problem you're observing

I'm trying to install zfs-dkms package. but probably some reasons of changes in linux kernelI cannot compile it as well.

Describe how to reproduce the problem

I tried to install zfs-dkms package but not compiled zfs kernel module. Thats why I go to /usr/src dir than I started following command

dkms build zfs/0.8.5

it not compiled as well and give me error log .

Include any warning/errors/backtraces from the system logs

This is whole log.
make.log

Cause of build exception is that.

/var/lib/dkms/zfs/0.8.5/build/include/linux/blkdev_compat.h:378:37: hata: implicit declaration of function 'check_disk_change'; did you mean 'bdev_disk_changed'? [-Werror=implicit-function-declaration]
 #define vdev_bdev_reread_part(bdev) check_disk_change(bdev)
                                     ^~~~~~~~~~~~~~~~~
/var/lib/dkms/zfs/0.8.5/build/module/zfs/vdev_disk.c:218:17: bilgi: in expansion of macro 'vdev_bdev_reread_part'
     int error = vdev_bdev_reread_part(bdev);
                 ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/zfs/0.8.5/build/module/zfs/vdev_disk.c: 'vdev_blkg_tryget' işlevinde:
/var/lib/dkms/zfs/0.8.5/build/module/zfs/vdev_disk.c:506:37: hata: 'struct percpu_ref' türü 'count' isimli üye içermiyor
   rc = atomic_long_inc_not_zero(&ref->count);
                                     ^~
cc1: some warnings being treated as errors
@Zaryob Zaryob added Status: Triage Needed New issue which needs to be triaged Type: Defect Incorrect behavior (e.g. crash, hang) labels Feb 21, 2021
@rincebrain
Copy link
Contributor

rincebrain commented Feb 22, 2021

0.8.x cannot and is unlikely to ever build against 5.10 and above. cf. #11449 (comment)

If you want to use ZoL against a 5.10.x kernel, enable the zfs-testing repo and install 2.0.x.

@Zaryob
Copy link
Author

Zaryob commented Feb 22, 2021

0.8.x cannot and is unlikely to ever build against 5.10 and above. cf. #11449 (comment)

If you want to use ZoL against a 5.10.x kernel, enable the zfs-testing repo and install 2.0.x.

I made it yesterday but I just mentioned if someone have same error in future, dont try to open new issue

@stale
Copy link

stale bot commented Feb 22, 2022

This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Stale No recent activity for issue label Feb 22, 2022
@behlendorf
Copy link
Contributor

Closing. As mentioned above, the 0.8.x release supports up to Linux 5.9 kernels. A 2.x release must be used for 5.10 and newer kernels.

@behlendorf behlendorf added Type: Building Indicates an issue related to building binaries Type: Documentation Indicates a requested change to the documentation and removed Type: Defect Incorrect behavior (e.g. crash, hang) Status: Stale No recent activity for issue Status: Triage Needed New issue which needs to be triaged labels Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Building Indicates an issue related to building binaries Type: Documentation Indicates a requested change to the documentation
Projects
None yet
Development

No branches or pull requests

3 participants