Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.1.0 (GCC)
Stock kernel
uname -a
Linux beams-wiosna 5.12.14-artix1-1 #1 SMP PREEMPT Thu, 01 Jul 2021 20:51:04 +0000 x86_64 GNU/Linux
cat /proc/version
Linux version 5.12.14-artix1-1 (linux@artixlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Thu, 01 Jul 2021 20:51:04 +0000
However, I have good news (kinda?)
Attemping manual reinstallation of zfs throws up an already installed error:
dkms install zfs-2.1.0 -k 5.12.14-artix1-1
Error! DKMS tree already contains: zfs-2.1.0
You cannot add the same module/version combo more than once.
However, I had removed all dkms modules through pamac, yet much to my surprise:
sudo dkms status
vboxhost, 6.1.22_OSE: added
zfs, 2.0.5: added
zfs, 2.1.0: added
They were still present in the tree, so not only did it not install them properly, but it also leaves
an unclean removal.
After manually removing everything from /var/lib/dkms and running depmod -a just to be safe, I tried again
manually installing from the source present in /usr/src with success.
lsmod | grep "zfs"
zfs 4640768 0
zunicode 335872 1 zfs
zzstd 581632 1 zfs
zlua 184320 1 zfs
zavl 16384 1 zfs
icp 327680 1 zfs
zcommon 102400 2 zfs,icp
znvpair 106496 2 zfs,zcommon
spl 118784 6 zfs,icp,zzstd,znvpair,zcommon,zavl
So... pamac's fault? broken for any DKMS installation in Artix?
Also question, how can I make sure the modules are gonna get rebuilt after every kernel update with pacman?
This thread was immensely helpful:
https://forum.artixlinux.org/index.php/topic,1004.0.html
Should it be marked as "Solved" maybe?
Thanks!