[Pkg-zfsonlinux-devel] What more can be done to get ZFS into Debian?

Aron Xu happyaron.xu at gmail.com
Mon Apr 25 15:53:45 UTC 2016


Hi,

On Sat, Apr 23, 2016 at 5:28 PM, Craig Sanders <cas at taz.net.au> wrote:
> On Sat, Apr 23, 2016 at 03:49:47PM +0800, Aron Xu wrote:
>> 1. Building binary packages are possible, there are two additional
>> targets in d/rules:
>>   * override_dh_binary-modules
>
> very nice to know.
>
> Does that create a binary-only package that satisfies all
> the required deps for the other zfs packages?
>
> [later]
>
> I just tried this with:
>
>     dpkg-buildpackage --target override_dh_binary-modules -b -us -uc
>
> the build failed with:
>
> dpkg-buildpackage: source package zfs-linux
> dpkg-buildpackage: source version 0.6.5.6-1
> dpkg-buildpackage: source distribution unstable
> .
> .
> .
> checking spl source directory... /usr/src/spl-0.6.5.6
> checking spl build directory... Not found
> configure: error:
>         *** Please make sure the kmod spl devel <kernel> package for your
>         *** distribution is installed then try again.  If that fails you
>         *** can specify the location of the spl objects with the
>         *** '--with-spl-obj=PATH' option.
> debian/rules:158: recipe for target 'override_dh_configure_modules_stamp' failed
> make: *** [override_dh_configure_modules_stamp] Error 1
> dpkg-buildpackage: error: debian/rules override_dh_binary-modules gave error exit status 2
>
>
>
> is there some specific (documented??) procedure to follow to make this work?
>

I've pushed a trivial fix to git repo, can you give it a try?

Regards,
Aron



More information about the Pkg-zfsonlinux-devel mailing list