Package Details: spl-utils 0.6.5.9-1

Git Clone URL: https://aur.archlinux.org/spl-dkms.git (read-only)
Package Base: spl-dkms
Description: Solaris Porting Layer kernel module support files.
Upstream URL: http://zfsonlinux.org/
Licenses: GPL
Conflicts: spl-utils-git, spl-utils-lts
Submitter: AlD
Maintainer: isiachi
Last Packager: isiachi
Votes: 27
Popularity: 0.891167
First Submitted: 2013-10-11 10:29
Last Updated: 2017-02-12 22:38

Latest Comments

dreieck commented on 2017-04-13 10:45

For the package "spl-dkms", please add

conflicts=('spl-linux') (It does, in fact)
and
provices=("spl-linux=${pkgver}") (it does, in fact, and is needed by other packages depending on spl-linux).


For the package "spl-utils", please add

conflicts=('spl-utils-linux') (It does, in fact)
and
provices=("spl-utils-linux=${pkgver}") (it does, in fact, and is needed by other packages depending on spl-linux).


(I am referencing to conflicts and dependencies with the packages at the repository
[archzfs]
Server = http://archzfs.com/$repo/x86_64)

fermatslast commented on 2017-02-06 02:33

To use with a 4.9 kernel, edit the PKGBUILD for both spl-dkms and zfs-dkms, change pkgver to 0.6.5.9

Anton.Latukha commented on 2017-01-30 14:51

Reporting problem I encountered.

Upon update, modules not created. Looks like they fail on building. SPL fails first, and then goes ZFS.


# dkms autoinstall
=====
Results in next errors:

...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.9.6-1-ARCH.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.9.6-1-ARCH (x86_64)
Consult /var/lib/dkms/spl/0.6.5.8/build/make.log for more information.

...

checking spl build directory... /var/lib/dkms/spl/0.6.5.8/4.9.6-1-ARCH/x86_64
configure: error:
*** Please make sure the kmod spl devel <kernel> package for your
*** distribution is installed then try again. If that fails you
*** can specify the location of the spl objects with the
*** '--with-spl-obj=PATH' option.

Building module:
cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=4.9.6-1-ARCH...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.9.6-1-ARCH (x86_64)
Consult /var/lib/dkms/zfs/0.6.5.8/build/make.log for more information.


Here is logs:
=====
dkms-spl-0.6.5.8-build-make.log: https://ghostbin.com/paste/9wart

Here hell breaks loose after first error:

/var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.c: In function ‘cr_groups_search’:
/var/lib/dkms/spl/0.6.5.8/build/module/spl/spl-cred.c:53:20: error: implicit declaration of function ‘GROUP_AT’ [-Werror=implicit-function-declaration] KGID_TO_SGID(GROUP_AT(group_info, mid));
...

dkms-zfs-0.6.5.8-build-make.log: https://ghostbin.com/paste/2rw3k
Is almost empty, as I think, because SPL was not found.

I can't draw conclusions, ask your judgement.

Additional information:
====
$ uname -a
Linux Host 4.9.6-1-ARCH #1 SMP PREEMPT Thu Jan 26 09:22:26 CET 2017 x86_64 GNU/Linux

Full output of dkms-autoinstall: https://ghostbin.com/paste/js3k3

Hope this is in some help.
Thank you, isiachi, for your support.

spheenik commented on 2017-01-27 18:31

Error on 4.9.6-1-ARCH:

http://pastebin.com/isjCWxVE

teejer commented on 2017-01-27 15:03

This is failing on the new 4.9 kernel

make -j8 KERNELRELEASE=4.9.6-1-ARCH....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.9.6-1-ARCH (x86_64)
Consult /var/lib/dkms/spl/0.6.5.8/build/make.log for more information.


Here is the make.log file

DKMS make.log for spl-0.6.5.8 for kernel 4.9.6-1-ARCH (x86_64)
Fri Jan 27 07:59:58 MST 2017
make all-recursive
make[1]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build'
Making all in include
make[2]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include'
Making all in fs
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/fs'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/fs'
Making all in linux
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/linux'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/linux'
Making all in rpc
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/rpc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/rpc'
Making all in sharefs
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/sharefs'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/sharefs'
Making all in sys
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys'
Making all in fm
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys/fm'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys/fm'
Making all in fs
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys/fs'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys/fs'
Making all in sysevent
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys/sysevent'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys/sysevent'
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys'
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/sys'
Making all in util
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/util'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/util'
Making all in vm
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include/vm'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include/vm'
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include'
make[2]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/include'
Making all in rpm
make[2]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/rpm'
Making all in generic
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/rpm/generic'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/rpm/generic'
Making all in redhat
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.8/build/rpm/redhat'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.8/build/rpm/redhat'

RubenKelevra commented on 2016-09-15 09:45

This package is now also out of date for serveral weeks, no kernel support has been added and the new version which is out for a week is also not added. This would add new kernel support...

RubenKelevra commented on 2016-09-08 13:18

I have some troubles to install this package on my system:

make[1]: Verzeichnis „/tmp/yaourt-tmp-ruben/aur-spl-dkms/src/spl/lib“ wird betreten
make[2]: Verzeichnis „/tmp/yaourt-tmp-ruben/aur-spl-dkms/src/spl/lib“ wird betreten
make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun.
make[2]: Für das Ziel „install-data-am“ ist nichts zu tun.
make[2]: Verzeichnis „/tmp/yaourt-tmp-ruben/aur-spl-dkms/src/spl/lib“ wird verlassen
make[1]: Verzeichnis „/tmp/yaourt-tmp-ruben/aur-spl-dkms/src/spl/lib“ wird verlassen
Making install in cmd
make[1]: Verzeichnis „/tmp/yaourt-tmp-ruben/aur-spl-dkms/src/spl/cmd“ wird betreten
make[2]: Verzeichnis „/tmp/yaourt-tmp-ruben/aur-spl-dkms/src/spl/cmd“ wird betreten
/usr/bin/mkdir -p '/tmp/yaourt-tmp-ruben/aur-spl-dkms/pkg/spl-utils/usr/bin'
/bin/sh ../libtool --silent --mode=install ../0 splat '/tmp/yaourt-tmp-ruben/aur-spl-dkms/pkg/spl-utils/usr/bin'
../libtool: line 1720: ../0: No such file or directory
make[2]: *** [Makefile:404: install-sbinPROGRAMS] Fehler 127
make[2]: Verzeichnis „/tmp/yaourt-tmp-ruben/aur-spl-dkms/src/spl/cmd“ wird verlassen
make[1]: *** [Makefile:586: install-am] Fehler 2
make[1]: Verzeichnis „/tmp/yaourt-tmp-ruben/aur-spl-dkms/src/spl/cmd“ wird verlassen
make: *** [Makefile:588: install-recursive] Fehler 1
==> FEHLER: Ein Fehler geschah in package_spl-utils().
Breche ab...
==> FEHLER:Makepkg konnte spl-dkms nicht erstellen.
==> Erstellen von spl-dkms neu starten?[j/N]


roobre commented on 2016-08-23 23:07

I'm unable to compile it for 4.7.1-1-ARCH, even with the patch @fermatslast supplied. Does anyone have a patch for .1?

/var/lib/dkms/spl/0.6.5.7/build/include/linux/file_compat.h:79:45: error: ‘struct inode’ has no member named ‘i_mutex’; did you mean ‘i_mode’?
#define spl_inode_lock(ip) mutex_lock(&(ip)->i_mutex)

saghm commented on 2016-08-15 05:26

Thanks a bunch! This (and your patch for zfs-dkms) worked beautifully

fermatslast commented on 2016-08-15 04:33

Here's a patch for the pkgbuild that adds a linux 4.7 compatibility patch to the build: https://gist.github.com/burberger/8fec05e2e8ac5e7a2e59eac270f39629

This is a temporary fix until the zfsonlinux upstream release has 4.7 support.

All comments