Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
Lustre 2.10.0
-
None
-
2
-
9223372036854775807
Description
Going through the instructions on http://wiki.lustre.org/Compiling_Lustre zfs build section:
Prepare the build
Run the configure script:
cd $HOME/zfs
- For RHEL and CentOS only, set the --spec=redhat flag.
./configure [--with-spec=redhat] \
[--with-spl=<path to spl-devel> \
[--with-linux=<path to kernel-devel>] \
[--with-linux-obj=<path to kernel obj>]
I issued the following configure command script for suse linux os after build the spl package:
./configure --with-spec=suse --with-spl=/usr/src/spl-0.7.0 --with-linux=/usr/src/linux-4.4.21-69/kernel
It does not create zfs spec under suse folder as it only create these under redhat and generic folders:
config.status: creating rpm/Makefile
config.status: creating rpm/redhat/Makefile
config.status: creating rpm/redhat/zfs.spec
config.status: creating rpm/redhat/zfs-kmod.spec
config.status: creating rpm/redhat/zfs-dkms.spec
config.status: creating rpm/generic/Makefile
config.status: creating rpm/generic/zfs.spec
config.status: creating rpm/generic/zfs-kmod.spec
config.status: creating rpm/generic/zfs-dkms.spec
config.status: creating zfs-script-config.sh
config.status: creating zfs.release
config.status: creating zfs_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
This causes the make rpm-dkms to fail as there are no spec files configured under rpm/suse folder:
make rpm-dkms errors snapshot:cp: cannot stat 'rpm/suse/zfs-dkms.spec': No such file or directory
Makefile:1149: recipe for target 'rpm-local' failed
make[2]: *** [rpm-local] Error 1
make[2]: Leaving directory '/root/zfs'
Makefile:1167: recipe for target 'srpm-common' failed
make[1]: *** [srpm-common] Error 1
make[1]: Leaving directory '/root/zfs'
Makefile:1123: recipe for target 'srpm-dkms' failed
make: *** [srpm-dkms] Error 2
This works for spl packages and not zfs
Attachments
Issue Links
- is related to
-
LU-9675 SLES 12 SP2 server build fails when ZFS and LDISKFS OSDs are both enabled
- Open