Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513082 - sys-fs/zfs-kmod-9999 - checking spl source directory... Not found
Summary: sys-fs/zfs-kmod-9999 - checking spl source directory... Not found
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Richard Yao (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-13 07:41 UTC by Simon Bühler
Modified: 2014-06-24 16:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Bühler 2014-06-13 07:41:04 UTC
hi,

on my x64 box the zfs-kmod-9999 failed to configure with

checking spl source directory... Not found
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.

i fixed this by changing the ebuild 
local myeconfargs=(
                --bindir="${EPREFIX}/bin"
                --sbindir="${EPREFIX}/sbin"
                --with-config=kernel
                --with-linux="${KV_DIR}"
                --with-linux-obj="${KV_OUT_DIR}"
                $(use_enable debug)
        )
to 
local myeconfargs=(
                --with-spl=/usr/src/spl-0.6.2
                --bindir="${EPREFIX}/bin"
                --sbindir="${EPREFIX}/sbin"
                --with-config=kernel
                --with-linux="${KV_DIR}"
                --with-linux-obj="${KV_OUT_DIR}"
                $(use_enable debug)
        )

thats hacky and for that specific version but you ebuild guys probably know how to do it right :)

greets!
Comment 1 Richard Yao (RETIRED) gentoo-dev 2014-06-24 16:43:39 UTC
Thanks for the report. In this situation, you need to build the matching version of the spl 9999 ebuild for the zfs-kmod 9999 ebuild to build. That is the correct way of doing this.

That being said, the 9999 ebuilds exist primarily to aid development and they are not officially supported, which is why they have no keywords. You are free to use them and I am happy to help users who insist on using them, but I cannot really do anything beyond saying to build the spl-9999 ebuild first.