Could the aarch64 architecture be added to the PKGBUILD? The ZFS on Linux projects states that the arch is supported (https://github.com/zfsonlinux/zfs/wiki/FAQ) and I've been using a modified PKGBUILD compiled on aarch64 successfully for some time as well.
@risto3
At least until the packages are updated here do the following:
The 7.6 version of spl and zfs fixes the issue. when installing spl-dkms or zfs-dkms edit the PKGBUILD.
in both zfs-dkms and spl-dkms, Change the variable pkgver=0.7.5 to pkgver=0.7.6
continue building.. it should install properly.
Gulp, I just got the following upgrading today:
==> dkms install spl/0.7.5 -k 4.15.1-2-ARCH
Error! Bad return status for module build on kernel: 4.15.1-2-ARCH (x86_64)
Consult /var/lib/dkms/spl/0.7.5/build/make.log for more information.
==> dkms install acpi_call/1.1.0 -k 4.15.1-2-ARCH
==> WARNING: Cannot resolve dependencies for module zfs/0.7.5, kernel version 4.15.1-2-ARCH
(3/5) Updating linux initcpios...
the error is:
/var/lib/dkms/spl/0.7.5/build/module/spl/spl-taskq.c: Dans la fonction « taskq_dispatch »:
/var/lib/dkms/spl/0.7.5/build/module/spl/spl-taskq.c:593:16: error: « struct timer_list » n'a pas de membre nommé « data »
t->tqent_timer.data = 0;
^
/var/lib/dkms/spl/0.7.5/build/module/spl/spl-taskq.c: Dans la fonction « taskq_dispatch_delay »:
/var/lib/dkms/spl/0.7.5/build/module/spl/spl-taskq.c:643:16: error: « struct timer_list » n'a pas de membre nommé « data »
t->tqent_timer.data = (unsigned long)t;
^
/var/lib/dkms/spl/0.7.5/build/module/spl/spl-taskq.c:644:26: error: affectation depuis un type pointeur incompatible [-Werror=incompatible-pointer-types]
t->tqent_timer.function = task_expire;
^
CC [M] /var/lib/dkms/spl/0.7.5/build/module/splat/splat-condvar.o
/var/lib/dkms/spl/0.7.5/build/module/spl/spl-taskq.c: Dans la fonction « taskq_init_ent »:
/var/lib/dkms/spl/0.7.5/build/module/spl/spl-taskq.c:735:2: error: déclaration implicite de la fonction « init_timer »; vouliez-vous utiliser « init_timers » ? [-Werror=implicit-function-declaration]
init_timer(&t->tqent_timer);
^~~~~~~~~~
(excuse my French :-)
needs spl-0.7.6 for 4.15 patches
Simply replacing "0.7.3" with "0.7.4" in the PKGBUILD seems to work for me.
(When used with zfs-dkms, I did the same there and uninstalled both packages prior to reinstalling the newer versions.)
Hello! We just added support to the archzfs project and repository for these PKGBUILDS. Could we discuss adding the archzfs maintainers on as co-maintainers to this AUR package? See https://github.com/archzfs/archzfs/issues/157
The AUR package should be updated for 0.6.5.10 but in the meantime I have been able to successfully build and install spl-dkms & zfs-dkms 0.6.5.10 for linux 4.11.6. You need downgrade gcc to version <= 6.3.1 first. Download the snapshot for spl-dkms & zfs-dkms and edit the pkgver from 0.6.5.9 to 0.6.5.10 in the PKGBUILD files for each.
This fails for me when building with 4.11.2-1-ARCH (x86_64)
....
checking whether CONFIG_ZLIB_INFLATE is defined... yes
checking whether CONFIG_ZLIB_DEFLATE is defined... yes
checking whether zlib_deflate_workspacesize() wants 2 args... yes
checking whether struct shrink_control exists... yes
checking whether struct rw_semaphore member wait_lock is raw... yes
checking whether struct rw_semaphore has member activity... no
checking whether struct rw_semaphore has atomic_long_t member count... yes
checking whether header linux/sched/rt.h exists... yes
checking whether vfs_getattr() wants... configure: error: unknown
Building module:
cleaning build area...(bad exit status: 2)
make -j2 KERNELRELEASE=4.11.2-1-ARCH...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.11.2-1-ARCH (x86_64)
Consult /var/lib/dkms/spl/0.6.5.9/build/make.log for more information.
$ cat /var/lib/dkms/spl/0.6.5.9/build/make.log
DKMS make.log for spl-0.6.5.9 for kernel 4.11.2-1-ARCH (x86_64)
Fri 26 May 20:21:31 CEST 2017
make: *** No targets specified and no makefile found. Stop.
Also see github: https://github.com/zfsonlinux/spl/issues/618
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)
Could the aarch64 architecture be added to the PKGBUILD? The ZFS on Linux projects states that the arch is supported (https://github.com/zfsonlinux/zfs/wiki/FAQ) and I've been using a modified PKGBUILD compiled on aarch64 successfully for some time as well.