Summary: | sys-fs/zfs-kmod-0.6.5.4-r1 - configure: error: Please make sure the kmod spl devel package for your distribution is installed then try again. If that fails you can specify the location of the spl source with the '--with-spl=PATH' option. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Capricelli <orzel> |
Component: | Current packages | Assignee: | Richard Yao (RETIRED) <ryao> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gyakovlev |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Thomas Capricelli
2016-02-12 19:36:52 UTC
Created attachment 425344 [details]
build.log
It clearly is unrelated according to the error message, but in case you ask : the stl module was already loaded, and visible in lsmod. No error message in dmesg, just : [153818.230948] SPL: Loaded module v0.6.5.4-r1-gentoo The problem is with the ebuild. If i run just "./configure", it works perfectly : checking kernel build directory... /usr/unsecure/src/linux-kernel-stable checking kernel source version... 4.1.16-vs2.3.8.3 checking kernel file name for module symbols... Module.symvers checking spl source directory... /usr/src/spl-0.6.5.4 checking spl build directory... /usr/src/spl-0.6.5.4/4.1.16-vs2.3.8.3 checking spl source version... 0.6.5.4-r1-gentoo checking spl file name for module symbols... Module.symvers The ebuild does : --with-spl="${EROOT}usr/src/${SPL_PATH}" I think it should just does nothing and let configure figuring it out by itself. Clearly, configure is better as the ebuild to find those "spl" sources. Confirmed, i removed the two following lines from the ebuild: --with-spl="${EROOT}usr/src/${SPL_PATH}" --with-spl-obj="${EROOT}usr/src/${SPL_PATH}/${KV_FULL}" and it works/emerges fine. The bug is still there and still hurts :-( My "fix" still works, hopefully. upstream is about to include spl in kfs-kmod anyway.. Until then, as for the last 3 years, the turnaround still works. sorry for delay =D I'm new zfs maintainer, looking thru old bugs. 0.8.x versions have no separate spl indeed. the root of the problem is that you use non-standard kernel path. spl source has a relative symlink and probably it breaks with your setup. there are number of symlinks involved. one in modules dir in /lib/modules/yourkernel, other is /usr/src/linux and another is /usr/src/spl-ver/yourkernel. probably something resolves symlinks in a wrong and configure script breaks. we can't let configure guess the kernel/spl as it may pick up the wrong one. also it's possible to build modules for any choosen kernel by setting magic variables, it'll also break if we let configure choose. spl is removed, this problem should not show up anymore please re-open if you still see problems. |