[LU-12745] Lustre fails to compile against zfs dkms 0.8+ Created: 10/Sep/19  Updated: 21/Nov/19  Resolved: 20/Sep/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.13.0, Lustre 2.12.2
Fix Version/s: Lustre 2.13.0, Lustre 2.12.4

Type: Bug Priority: Major
Reporter: Nathaniel Clark Assignee: Nathaniel Clark
Resolution: Fixed Votes: 0
Labels: zfs

Issue Links:
Related
is related to LU-12336 Update ZFS Version to 0.8.2 Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

kmod-zfs-devel provides a vestigial spl directory for kmod base installs, so this issue is limited to zfs dkms based installs.

Because there's no spl directory, lustre configure fails enable zfs osd build.

checking whether to enable zfs... yes
checking spl source directory... Not found
checking spl build directory... ls: cannot access Not: No such file or directory
ls: cannot access found/[0-9]*/: No such file or directory
Not found
checking zfs source directory... /var/lib/dkms/zfs/0.8.1/source
checking zfs build directory... ls: cannot access /var/lib/dkms/zfs/0.8.1/source/[0-9]*/: No such file or directory
/var/lib/dkms/zfs/0.8.1/3.10.0-957.el7.x86_64/x86_64
checking user provided zfs devel headers... 
checking zfs devel headers... -I /var/lib/dkms/zfs/0.8.1/source/lib/libspl/include -I /var/lib/dkms/zfs/0.8.1/source/include
configure: WARNING:Disabling optional zfs osd due to missing development headers.Support for zfs can be enabled by downloading the required packages for your
distribution.  See http://zfsonlinux.org/ to determine is zfs is supported by
your distribution.
				


 Comments   
Comment by Gerrit Updater [ 11/Sep/19 ]

Nathaniel Clark (nclark@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36161
Subject: LU-12745 build: Account for optional SPL for ZFS 0.8+
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6d2cef84fd41186218cc40fd96f029d508ec5d18

Comment by Gerrit Updater [ 20/Sep/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36161/
Subject: LU-12745 build: Account for optional SPL for ZFS 0.8+
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a245dde23a9fdbdff7d09a783bcbe3349f68a908

Comment by Peter Jones [ 20/Sep/19 ]

Landed for 2.13

Comment by Gerrit Updater [ 08/Oct/19 ]

Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36408
Subject: LU-12745 build: Account for optional SPL for ZFS 0.8+
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 89f40ff2949b624d2f6b3cee7dc0c795aed40244

Comment by Gerrit Updater [ 21/Nov/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36408/
Subject: LU-12745 build: Account for optional SPL for ZFS 0.8+
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: c310af5b2a35f9010ac2b9348c1d9f3cd4af01e7

Generated at Sat Feb 10 02:55:16 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.