* ERROR: sys-kernel/spl-9999::gentoo failed (prepare phase): * Cannot patch check.sh * * Call stack: * ebuild.sh, line 124: Called src_prepare * environment, line 4405: Called die * The specific snippet of code: * sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || die "Cannot patch check.sh
Hi, spl is going away as a separate package as it has been merged into zfs repository. current gentoo zfs-kmod-9999 already reflects that I think. https://github.com/gentoo/gentoo/commit/3793c997a2091476b33ad8a65ac1011676752dac you probably should just remove sys-kernel/spl if it's installed and just use fresh zfs-kmod-9999
Upstream merged sys-kernel/spl into sys-fs/zfs-kmod. The 9999 ebuild will remain around for debugging purposes until 0.8.0 is released because it can be used to go back in the past via zfs_kmod_live_COMMIT. The solution is to uninstall sys-kernel/spl-9999 and use sys-fs/zfs-kmod by itself. The newer sys-fs/zfs-kmod-9999 blocks sys-kernel/spl-9999 and portage should automatically uninstall it unless it is selected in the @world set.