Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian package : missing "file" package dependency #1755

Closed
yonux opened this Issue Sep 27, 2013 · 14 comments

Comments

Projects
None yet
5 participants
@yonux
Copy link

yonux commented Sep 27, 2013

Hi,

Trying to install ZFS on a fresh new kvm Debian 7 lead to :
Loading new zfs-0.6.2 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-4-amd64
Building initial module for 3.2.0-4-amd64
/var/lib/dkms/zfs/0.6.2/build/configure: line 6459: /usr/bin/file: No such file or directory

Installer is stuck. A kill is mandatory.

After installing package "file", configuration of zfs-dkms is running fine.

@behlendorf

This comment has been minimized.

Copy link
Member

behlendorf commented Oct 11, 2013

@FransUrbo Thoughts?

@ghost ghost assigned FransUrbo Oct 11, 2013

@FransUrbo

This comment has been minimized.

Copy link
Member

FransUrbo commented Oct 15, 2013

Looks resonable. Fixed in 0.6.2-2 for both spl and zfs which is now uploaded to the repo (i386 and amd64 packages).

It still doesn't show up, but maybe there's a delay?

@FransUrbo

This comment has been minimized.

Copy link
Member

FransUrbo commented Oct 15, 2013

Ok, there it is. It WAS a delay between sync and availability in apt. This can now be closed... Apparently I can't close bugs that are assigned to me...

@yonux yonux closed this Oct 15, 2013

@yonux

This comment has been minimized.

Copy link
Author

yonux commented Oct 15, 2013

Apparently, I can close it :)
Thx

@behlendorf

This comment has been minimized.

Copy link
Member

behlendorf commented Oct 22, 2013

@FransUrbo I agree, it would be nice if Github allowed whomever the issue was assigned to to close it.

@jason69

This comment has been minimized.

Copy link

jason69 commented Oct 24, 2013

Hi,

I have a similar bug, although not exactly the same.
dpkg hangs here:

Setting up zfs-dkms (0.6.2-2) ...
Loading new zfs-0.6.2 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-4-amd64
Building initial module for 3.2.0-4-amd64

There is no "no such file" error.
I have file package installed.
I have to kill dpkg and I cannot install ZFS... :-(
Fresh debian 7 install

Any idea?

@yonux

This comment has been minimized.

Copy link
Author

yonux commented Oct 25, 2013

Hi Jason,

Did you wait for a long time or just killed a couple of seconds after installation seems hang ?
Actually this part takes really long time, you have to wait (on my mono-proc VM this can takes up to 3 minutes, and system seems to do nothing).

----- Mail original -----
De: "jason69" notifications@github.com
À: "zfsonlinux/zfs" zfs@noreply.github.com
Cc: "yonux" lionel.giraudeau@free.fr
Envoyé: Vendredi 25 Octobre 2013 00:25:23
Objet: Re: [zfs] Debian package : missing "file" package dependency (#1755)

Hi,

I have a similar bug, although not exactly the same.
dpkg hangs here:

Setting up zfs-dkms (0.6.2-2) ...
Loading new zfs-0.6.2 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-4-amd64
Building initial module for 3.2.0-4-amd64

There is no "no such file" error.
I have file package installed.
I have to kill dpkg and I cannot install ZFS... :-(
Fresh debian 7 install

Any idea?


Reply to this email directly or view it on GitHub .

@jason69

This comment has been minimized.

Copy link

jason69 commented Oct 26, 2013

Hi,

in the end spl was missing, so I guess debian package should add "spl" as a dependency.
Am I wrong?
Should I open a new ticket?

Regards,
Sam

@FransUrbo

This comment has been minimized.

Copy link
Member

FransUrbo commented Oct 26, 2013

It already pre depends on 'spl-dkms' (which means that spl-dkms must be
installed and configured before zfs-dkms).

Package: zfs-dkms
Source: zfs-linux
Version: 0.6.2-2~squeeze
Architecture: all
Maintainer: Debian ZFS on Linux maintainers pkg-zfsonlinux-devel@lists.alioth.debian.org
Installed-Size: 7736
Pre-Depends: spl-dkms (>= 0.6.2)
Depends: dkms (>> 2.1.1.2-5), lsb-release, debconf (>= 0.5) | debconf-2.0
Recommends: zfsutils
Conflicts: lzfs, lzfs-dkms
Replaces: lzfs, lzfs-dkms
Provides: lustre-backend-fs, lzfs, lzfs-dkms, zfs-modules

How exactly did you go about installing? Did you just request to install 'zfs-dkms', or did you request 'debian-zfs' as http://zfsonlinux.org/debian.html indicates?

@jason69

This comment has been minimized.

Copy link

jason69 commented Oct 26, 2013

I requested debian-zfs as http://zfsonlinux.org/debian.html indicates.
I can reproduce is everytime on a clean debian 7 install and following strictly http://zfsonlinux.org/debian.html

@FransUrbo

This comment has been minimized.

Copy link
Member

FransUrbo commented Oct 26, 2013

Can you do it again, on a fresh install, and this time give us the WHOLE output. Everything (including) the apt-get commandline up until it ends (by it self)?

@jason69

This comment has been minimized.

Copy link

jason69 commented Oct 26, 2013

ok, I get it: spl and spl dkms are being installed, but spl DKMS compilation fails:
"Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed."

then kernel headers are being installed, and zfs dkms is being compiled but spl is missing as it previously failed.

--> So I guess spl should force kernel headers to be installed BEFORE it tries to compile...

Here is the full output:

root@debian:# apt-get install debian-zfs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
binutils build-essential bzip2 cpp cpp-4.6 cpp-4.7 dkms dpkg-dev fakeroot g++
g++-4.7 gcc gcc-4.6 gcc-4.6-base gcc-4.7 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-dev-bin libc6-dev
libdpkg-perl libfile-fcntllock-perl libgmp10 libgomp1 libitm1 libmpc2 libmpfr4
libnvpair1 libquadmath0 libstdc++6-4.7-dev libtimedate-perl libuutil1 libzfs1
libzpool1 linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common
linux-headers-amd64 linux-kbuild-3.2 linux-libc-dev lsb-release make
manpages-dev patch spl spl-dkms zfs-dkms zfsutils
Suggested packages:
binutils-doc bzip2-doc cpp-doc gcc-4.6-locales gcc-4.7-locales zfs-auto-snapshot
debian-keyring g++-multilib g++-4.7-multilib gcc-4.7-doc libstdc++6-4.7-dbg
gcc-multilib autoconf automake1.9 libtool flex bison gdb gcc-doc
gcc-4.6-multilib libmudflap0-4.6-dev gcc-4.6-doc libgcc1-dbg libgomp1-dbg
libquadmath0-dbg libmudflap0-dbg binutils-gold gcc-4.7-multilib
libmudflap0-4.7-dev libitm1-dbg libcloog-ppl0 libppl-c2 libppl7 glibc-doc
libstdc++6-4.7-doc lsb make-doc ed diffutils-doc samba-common-bin zfs-initramfs
Recommended packages:
linux-headers
The following NEW packages will be installed:
binutils build-essential bzip2 cpp cpp-4.6 cpp-4.7 debian-zfs dkms dpkg-dev
fakeroot g++ g++-4.7 gcc gcc-4.6 gcc-4.6-base gcc-4.7 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-dev-bin libc6-dev
libdpkg-perl libfile-fcntllock-perl libgmp10 libgomp1 libitm1 libmpc2 libmpfr4
libnvpair1 libquadmath0 libstdc++6-4.7-dev libtimedate-perl libuutil1 libzfs1
libzpool1 linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common
linux-headers-amd64 linux-kbuild-3.2 linux-libc-dev lsb-release make
manpages-dev patch spl spl-dkms zfs-dkms zfsutils
0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded.
Need to get 57.7 MB of archives.
After this operation, 160 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://http.debian.net/debian/ wheezy/main libgmp10 amd64 2:5.0.5+dfsg-2 [250 kB]
Get:2 http://http.debian.net/debian/ wheezy/main libgomp1 amd64 4.7.2-5 [27.5 kB]
Get:3 http://http.debian.net/debian/ wheezy/main libitm1 amd64 4.7.2-5 [36.6 kB]
Get:4 http://http.debian.net/debian/ wheezy/main libmpfr4 amd64 3.1.0-5 [538 kB]
Get:5 http://archive.zfsonlinux.org/debian/ wheezy/main dkms all 2.2.0.3-1.2+zfs6 [78.8 kB]
Get:6 http://http.debian.net/debian/ wheezy/main libquadmath0 amd64 4.7.2-5 [125 kB]
Get:7 http://http.debian.net/debian/ wheezy/main libmpc2 amd64 0.9-4 [40.1 kB]
Get:8 http://http.debian.net/debian/ wheezy/main cpp-4.7 amd64 4.7.2-5 [5,416 kB]
Get:9 http://archive.zfsonlinux.org/debian/ wheezy/main spl-dkms all 0.6.2-2 [551 kB]
Get:10 http://archive.zfsonlinux.org/debian/ wheezy/main zfs-dkms all 0.6.2-2 [1,417 kB]
Get:11 http://http.debian.net/debian/ wheezy/main cpp amd64 4:4.7.2-1 [16.6 kB]
Get:12 http://http.debian.net/debian/ wheezy/main binutils amd64 2.22-8 [4,800 kB]
Get:13 http://archive.zfsonlinux.org/debian/ wheezy/main spl amd64 0.6.2-2 [15.5 kB]
Get:14 http://archive.zfsonlinux.org/debian/ wheezy/main libuutil1 amd64 0.6.2-2 [51.7 kB]
Get:15 http://archive.zfsonlinux.org/debian/ wheezy/main libnvpair1 amd64 0.6.2-2 [49.2 kB]
Get:16 http://archive.zfsonlinux.org/debian/ wheezy/main libzpool1 amd64 0.6.2-2 [445 kB]
Get:17 http://archive.zfsonlinux.org/debian/ wheezy/main libzfs1 amd64 0.6.2-2 [147 kB]
Get:18 http://http.debian.net/debian/ wheezy/main gcc-4.7 amd64 4.7.2-5 [8,296 kB]
Get:19 http://archive.zfsonlinux.org/debian/ wheezy/main zfsutils amd64 0.6.2-2 [342 kB]
Get:20 http://archive.zfsonlinux.org/debian/ wheezy/main debian-zfs amd64 7
wheezy [7,052 B]
Get:21 http://http.debian.net/debian/ wheezy/main gcc amd64 4:4.7.2-1 [5,064 B]
Get:22 http://http.debian.net/debian/ wheezy/main make amd64 3.81-8.2 [396 kB]
Get:23 http://http.debian.net/debian/ wheezy/main libc-dev-bin amd64 2.13-38 [224 kB]
Get:24 http://http.debian.net/debian/ wheezy/main linux-libc-dev amd64 3.2.51-1 [812 kB]
Get:25 http://http.debian.net/debian/ wheezy/main libc6-dev amd64 2.13-38 [2,660 kB]
Get:26 http://http.debian.net/debian/ wheezy/main libstdc++6-4.7-dev amd64 4.7.2-5 [1,726 kB]
Get:27 http://http.debian.net/debian/ wheezy/main g++-4.7 amd64 4.7.2-5 [8,011 kB]
Get:28 http://http.debian.net/debian/ wheezy/main g++ amd64 4:4.7.2-1 [1,374 B]
Get:29 http://http.debian.net/debian/ wheezy/main libtimedate-perl all 1.2000-1 [41.2 kB]
Get:30 http://http.debian.net/debian/ wheezy/main libdpkg-perl all 1.16.12 [951 kB]
Get:31 http://http.debian.net/debian/ wheezy/main bzip2 amd64 1.0.6-4 [50.1 kB]
Get:32 http://http.debian.net/debian/ wheezy/main patch amd64 2.6.1-3 [121 kB]
Get:33 http://http.debian.net/debian/ wheezy/main dpkg-dev all 1.16.12 [1,349 kB]
Get:34 http://http.debian.net/debian/ wheezy/main build-essential amd64 11.5 [7,178 B]
Get:35 http://http.debian.net/debian/ wheezy/main lsb-release all 4.1+Debian8+deb7u1 [27.2 kB]
Get:36 http://http.debian.net/debian/ wheezy/main gcc-4.6-base amd64 4.6.3-14 [142 kB]
Get:37 http://http.debian.net/debian/ wheezy/main cpp-4.6 amd64 4.6.3-14 [4,828 kB]
Get:38 http://http.debian.net/debian/ wheezy/main fakeroot amd64 1.18.4-2 [109 kB]
Get:39 http://http.debian.net/debian/ wheezy/main gcc-4.6 amd64 4.6.3-14 [7,325 kB]
Get:40 http://http.debian.net/debian/ wheezy/main libalgorithm-diff-perl all 1.19.02-2 [51.5 kB]
Get:41 http://http.debian.net/debian/ wheezy/main libalgorithm-diff-xs-perl amd64 0.04-2+b1 [12.9 kB]
Get:42 http://http.debian.net/debian/ wheezy/main libalgorithm-merge-perl all 0.08-2 [13.5 kB]
Get:43 http://http.debian.net/debian/ wheezy/main libfile-fcntllock-perl amd64 0.14-2 [17.2 kB]
Get:44 http://http.debian.net/debian/ wheezy/main linux-headers-3.2.0-4-common amd64 3.2.51-1 [3,565 kB]
Get:45 http://http.debian.net/debian/ wheezy/main linux-kbuild-3.2 amd64 3.2.17-1 [238 kB]
Get:46 http://http.debian.net/debian/ wheezy/main linux-headers-3.2.0-4-amd64 amd64 3.2.51-1 [605 kB]
Get:47 http://http.debian.net/debian/ wheezy/main linux-headers-amd64 amd64 3.2+46 [4,450 B]
Get:48 http://http.debian.net/debian/ wheezy/main manpages-dev all 3.44-1 [1,737 kB]
Fetched 57.7 MB in 49s (1,157 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package libgmp10:amd64.
(Reading database ... 20806 files and directories currently installed.)
Unpacking libgmp10:amd64 (from .../libgmp10_2%3a5.0.5+dfsg-2_amd64.deb) ...
Selecting previously unselected package libgomp1:amd64.
Unpacking libgomp1:amd64 (from .../libgomp1_4.7.2-5_amd64.deb) ...
Selecting previously unselected package libitm1:amd64.
Unpacking libitm1:amd64 (from .../libitm1_4.7.2-5_amd64.deb) ...
Selecting previously unselected package libmpfr4:amd64.
Unpacking libmpfr4:amd64 (from .../libmpfr4_3.1.0-5_amd64.deb) ...
Selecting previously unselected package libquadmath0:amd64.
Unpacking libquadmath0:amd64 (from .../libquadmath0_4.7.2-5_amd64.deb) ...
Selecting previously unselected package libmpc2:amd64.
Unpacking libmpc2:amd64 (from .../libmpc2_0.9-4_amd64.deb) ...
Selecting previously unselected package cpp-4.7.
Unpacking cpp-4.7 (from .../cpp-4.7_4.7.2-5_amd64.deb) ...
Selecting previously unselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.7.2-1_amd64.deb) ...
Selecting previously unselected package binutils.
Unpacking binutils (from .../binutils_2.22-8_amd64.deb) ...
Selecting previously unselected package gcc-4.7.
Unpacking gcc-4.7 (from .../gcc-4.7_4.7.2-5_amd64.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.7.2-1_amd64.deb) ...
Selecting previously unselected package make.
Unpacking make (from .../make_3.81-8.2_amd64.deb) ...
Selecting previously unselected package libc-dev-bin.
Unpacking libc-dev-bin (from .../libc-dev-bin_2.13-38_amd64.deb) ...
Selecting previously unselected package linux-libc-dev:amd64.
Unpacking linux-libc-dev:amd64 (from .../linux-libc-dev_3.2.51-1_amd64.deb) ...
Selecting previously unselected package libc6-dev:amd64.
Unpacking libc6-dev:amd64 (from .../libc6-dev_2.13-38_amd64.deb) ...
Selecting previously unselected package libstdc++6-4.7-dev.
Unpacking libstdc++6-4.7-dev (from .../libstdc++6-4.7-dev_4.7.2-5_amd64.deb) ...
Selecting previously unselected package g++-4.7.
Unpacking g++-4.7 (from .../g++-4.7_4.7.2-5_amd64.deb) ...
Selecting previously unselected package g++.
Unpacking g++ (from .../g++_4%3a4.7.2-1_amd64.deb) ...
Selecting previously unselected package libtimedate-perl.
Unpacking libtimedate-perl (from .../libtimedate-perl_1.2000-1_all.deb) ...
Selecting previously unselected package libdpkg-perl.
Unpacking libdpkg-perl (from .../libdpkg-perl_1.16.12_all.deb) ...
Selecting previously unselected package bzip2.
Unpacking bzip2 (from .../bzip2_1.0.6-4_amd64.deb) ...
Selecting previously unselected package patch.
Unpacking patch (from .../patch_2.6.1-3_amd64.deb) ...
Selecting previously unselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.16.12_all.deb) ...
Selecting previously unselected package build-essential.
Unpacking build-essential (from .../build-essential_11.5_amd64.deb) ...
Selecting previously unselected package dkms.
Unpacking dkms (from .../dkms_2.2.0.3-1.2+zfs6_all.deb) ...
Selecting previously unselected package lsb-release.
Unpacking lsb-release (from .../lsb-release_4.1+Debian8+deb7u1_all.deb) ...
Selecting previously unselected package spl-dkms.
Unpacking spl-dkms (from .../spl-dkms_0.6.2-2_all.deb) ...
Processing triggers for man-db ...
Setting up libgmp10:amd64 (2:5.0.5+dfsg-2) ...
Setting up libmpfr4:amd64 (3.1.0-5) ...
Setting up libmpc2:amd64 (0.9-4) ...
Setting up cpp-4.7 (4.7.2-5) ...
Setting up cpp (4:4.7.2-1) ...
Setting up binutils (2.22-8) ...
Setting up libgomp1:amd64 (4.7.2-5) ...
Setting up libitm1:amd64 (4.7.2-5) ...
Setting up libquadmath0:amd64 (4.7.2-5) ...
Setting up gcc-4.7 (4.7.2-5) ...
Setting up gcc (4:4.7.2-1) ...
Setting up make (3.81-8.2) ...
Setting up libc-dev-bin (2.13-38) ...
Setting up linux-libc-dev:amd64 (3.2.51-1) ...
Setting up libc6-dev:amd64 (2.13-38) ...
Setting up libtimedate-perl (1.2000-1) ...
Setting up libdpkg-perl (1.16.12) ...
Setting up bzip2 (1.0.6-4) ...
Setting up patch (2.6.1-3) ...
Setting up dpkg-dev (1.16.12) ...
Setting up dkms (2.2.0.3-1.2+zfs6) ...
Setting up lsb-release (4.1+Debian8+deb7u1) ...
Setting up spl-dkms (0.6.2-2) ...
Loading new spl-0.6.2 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-4-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Setting up g++-4.7 (4.7.2-5) ...
Setting up g++ (4:4.7.2-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (11.5) ...
Setting up libstdc++6-4.7-dev (4.7.2-5) ...
Selecting previously unselected package zfs-dkms.
(Reading database ... 23932 files and directories currently installed.)
Unpacking zfs-dkms (from .../zfs-dkms_0.6.2-2_all.deb) ...
Selecting previously unselected package gcc-4.6-base:amd64.
Unpacking gcc-4.6-base:amd64 (from .../gcc-4.6-base_4.6.3-14_amd64.deb) ...
Selecting previously unselected package cpp-4.6.
Unpacking cpp-4.6 (from .../cpp-4.6_4.6.3-14_amd64.deb) ...
Selecting previously unselected package spl.
Unpacking spl (from .../archives/spl_0.6.2-2_amd64.deb) ...
Selecting previously unselected package libuutil1.
Unpacking libuutil1 (from .../libuutil1_0.6.2-2_amd64.deb) ...
Selecting previously unselected package libnvpair1.
Unpacking libnvpair1 (from .../libnvpair1_0.6.2-2_amd64.deb) ...
Selecting previously unselected package libzpool1.
Unpacking libzpool1 (from .../libzpool1_0.6.2-2_amd64.deb) ...
Selecting previously unselected package libzfs1.
Unpacking libzfs1 (from .../libzfs1_0.6.2-2_amd64.deb) ...
Selecting previously unselected package zfsutils.
Unpacking zfsutils (from .../zfsutils_0.6.2-2_amd64.deb) ...
Selecting previously unselected package debian-zfs.
Unpacking debian-zfs (from .../debian-zfs_7~wheezy_amd64.deb) ...
Selecting previously unselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.18.4-2_amd64.deb) ...
Selecting previously unselected package gcc-4.6.
Unpacking gcc-4.6 (from .../gcc-4.6_4.6.3-14_amd64.deb) ...
Selecting previously unselected package libalgorithm-diff-perl.
Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Unpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-2+b1_amd64.deb) ...
Selecting previously unselected package libalgorithm-merge-perl.
Unpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ...
Selecting previously unselected package libfile-fcntllock-perl.
Unpacking libfile-fcntllock-perl (from .../libfile-fcntllock-perl_0.14-2_amd64.deb) ...
Selecting previously unselected package linux-headers-3.2.0-4-common.
Unpacking linux-headers-3.2.0-4-common (from .../linux-headers-3.2.0-4-common_3.2.51-1_amd64.deb) ...
Selecting previously unselected package linux-kbuild-3.2.
Unpacking linux-kbuild-3.2 (from .../linux-kbuild-3.2_3.2.17-1_amd64.deb) ...
Selecting previously unselected package linux-headers-3.2.0-4-amd64.
Unpacking linux-headers-3.2.0-4-amd64 (from .../linux-headers-3.2.0-4-amd64_3.2.51-1_amd64.deb) ...
Selecting previously unselected package linux-headers-amd64.
Unpacking linux-headers-amd64 (from .../linux-headers-amd64_3.2+46_amd64.deb) ...
Selecting previously unselected package manpages-dev.
Unpacking manpages-dev (from .../manpages-dev_3.44-1_all.deb) ...
Processing triggers for initramfs-tools ...
I: update-initramfs is disabled (live system is running on read-only media).
Processing triggers for man-db ...
Setting up zfs-dkms (0.6.2-2) ...
Loading new zfs-0.6.2 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-4-amd64
Building initial module for 3.2.0-4-amd64

-->hangs here until killed

@FransUrbo

This comment has been minimized.

Copy link
Member

FransUrbo commented Oct 26, 2013

Well, debian-zfs recommends the necessary parts. Maybe it should pre-depend on them instead?

That is Darik Horn's package, so I'm not exactly sure what he was thinking here.

Package: debian-zfs
Depends: spl, spl-dkms | spl-modules, zfs-dkms | zfs-modules, zfsutils
Recommends: build-essential, linux-headers, zfsonlinux

@awsfanatic

This comment has been minimized.

Copy link

awsfanatic commented Nov 27, 2013

I have exactly the same issue on Debian 7.2. It looks like it hangs after this:

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
Processing triggers for man-db ...
Setting up zfs-dkms (0.6.2-2) ...
Loading new zfs-0.6.2 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-4-amd64
Building initial module for 3.2.0-4-amd64

But it doesn't! After ten minutes or so the process continues:

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.
Error! Bad return status for module build on kernel: 3.2.0-4-amd64 (x86_64)
Consult /var/lib/dkms/zfs/0.6.2/build/make.log for more information.

And ten minutes later it finishes:

Setting up gcc-4.6-base:amd64 (4.6.3-14) ...
Setting up cpp-4.6 (4.6.3-14) ...
Setting up spl (0.6.2-2) ...
Setting up libuutil1 (0.6.2-2) ...
Setting up libnvpair1 (0.6.2-2) ...
Setting up libzpool1 (0.6.2-2) ...
Setting up libzfs1 (0.6.2-2) ...
Setting up zfsutils (0.6.2-2) ...
Setting up fakeroot (1.18.4-2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up gcc-4.6 (4.6.3-14) ...
Setting up libalgorithm-diff-perl (1.19.02-2) ...
Setting up libalgorithm-diff-xs-perl (0.04-2+b1) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libfile-fcntllock-perl (0.14-2) ...
Setting up linux-headers-3.2.0-4-common (3.2.51-1) ...
Setting up linux-kbuild-3.2 (3.2.17-1) ...
Setting up linux-headers-3.2.0-4-amd64 (3.2.51-1) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-4-amd64
Setting up linux-headers-amd64 (3.2+46) ...
Setting up manpages-dev (3.44-1) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
Setting up debian-zfs (7~wheezy) ...

danielkza pushed a commit to danielkza/pkg-zfs that referenced this issue Feb 24, 2014

FransUrbo added a commit to zfsonlinux/pkg-spl that referenced this issue Jul 18, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.