zfs dkms module attempts to build before spl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
This looks like Bug #1491729:
Steps to Repo:
1. Start clean Wily instance
2. Run "sudo apt-get install zfs-dkms"
$ sudo apt-get install zfs-dkms
Selecting previously unselected package libisl13:amd64.
(Reading database ... 62785 files and directories currently installed.)
Preparing to unpack .../libisl13_
Unpacking libisl13:amd64 (0.14-2) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_
Unpacking libmpc3:amd64 (1.0.3-1) ...
Selecting previously unselected package cpp-5.
Preparing to unpack .../cpp-
Unpacking cpp-5 (5.2.1-22ubuntu2) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_
Unpacking cpp (4:5.2.1-3ubuntu1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../libcc1-
Unpacking libcc1-0:amd64 (5.2.1-22ubuntu2) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_
Unpacking binutils (2.25.1-6ubuntu2) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../libgomp1_
Unpacking libgomp1:amd64 (5.2.1-22ubuntu2) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_
Unpacking libitm1:amd64 (5.2.1-22ubuntu2) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_
Unpacking libatomic1:amd64 (5.2.1-22ubuntu2) ...
Selecting previously unselected package libasan2:amd64.
Preparing to unpack .../libasan2_
Unpacking libasan2:amd64 (5.2.1-22ubuntu2) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../liblsan0_
Unpacking liblsan0:amd64 (5.2.1-22ubuntu2) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_
Unpacking libtsan0:amd64 (5.2.1-22ubuntu2) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../libubsan0_
Unpacking libubsan0:amd64 (5.2.1-22ubuntu2) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../libcilkrts5
Unpacking libcilkrts5:amd64 (5.2.1-22ubuntu2) ...
Selecting previously unselected package libmpx0:amd64.
Preparing to unpack .../libmpx0_
Unpacking libmpx0:amd64 (5.2.1-22ubuntu2) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath
Unpacking libquadmath0:amd64 (5.2.1-22ubuntu2) ...
Selecting previously unselected package libgcc-5-dev:amd64.
Preparing to unpack .../libgcc-
Unpacking libgcc-5-dev:amd64 (5.2.1-22ubuntu2) ...
Selecting previously unselected package gcc-5.
Preparing to unpack .../gcc-
Unpacking gcc-5 (5.2.1-22ubuntu2) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_
Unpacking gcc (4:5.2.1-3ubuntu1) ...
Selecting previously unselected package make.
Preparing to unpack .../make_
Unpacking make (4.0-8.2) ...
Selecting previously unselected package dkms.
Preparing to unpack .../dkms_
Unpacking dkms (2.2.0.
Selecting previously unselected package spl-dkms.
Preparing to unpack .../spl-
Unpacking spl-dkms (0.6.4.2-0ubuntu1) ...
Processing triggers for man-db (2.7.4-1) ...
Setting up libisl13:amd64 (0.14-2) ...
Setting up libmpc3:amd64 (1.0.3-1) ...
Setting up cpp-5 (5.2.1-22ubuntu2) ...
Setting up cpp (4:5.2.1-3ubuntu1) ...
Setting up libcc1-0:amd64 (5.2.1-22ubuntu2) ...
Setting up binutils (2.25.1-6ubuntu2) ...
Setting up libgomp1:amd64 (5.2.1-22ubuntu2) ...
Setting up libitm1:amd64 (5.2.1-22ubuntu2) ...
Setting up libatomic1:amd64 (5.2.1-22ubuntu2) ...
Setting up libasan2:amd64 (5.2.1-22ubuntu2) ...
Setting up liblsan0:amd64 (5.2.1-22ubuntu2) ...
Setting up libtsan0:amd64 (5.2.1-22ubuntu2) ...
Setting up libubsan0:amd64 (5.2.1-22ubuntu2) ...
Setting up libcilkrts5:amd64 (5.2.1-22ubuntu2) ...
Setting up libmpx0:amd64 (5.2.1-22ubuntu2) ...
Setting up libquadmath0:amd64 (5.2.1-22ubuntu2) ...
Setting up libgcc-5-dev:amd64 (5.2.1-22ubuntu2) ...
Setting up gcc-5 (5.2.1-22ubuntu2) ...
Setting up gcc (4:5.2.1-3ubuntu1) ...
Setting up make (4.0-8.2) ...
Setting up dkms (2.2.0.
Setting up spl-dkms (0.6.4.2-0ubuntu1) ...
Loading new spl-0.6.4.2 DKMS files...
First Installation: checking all kernels...
Building only for 4.2.0-25-generic
Building initial module for 4.2.0-25-generic
configure: error: in `/var/lib/
configure: error: C compiler cannot create executables
See `config.log' for more details
Error! Bad return status for module build on kernel: 4.2.0-25-generic (x86_64)
Consult /var/lib/
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Selecting previously unselected package zfs-dkms.
(Reading database ... 63620 files and directories currently installed.)
Preparing to unpack .../zfs-
Unpacking zfs-dkms (0.6.4.
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot
Unpacking libfakeroot:amd64 (1.20.2-1ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_
Unpacking fakeroot (1.20.2-1ubuntu1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-
Unpacking libc-dev-bin (2.21-0ubuntu4) ...
Selecting previously unselected package linux-libc-
Preparing to unpack .../linux-
Unpacking linux-libc-
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-
Unpacking libc6-dev:amd64 (2.21-0ubuntu4) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../manpages-
Unpacking manpages-dev (3.74-1ubuntu1) ...
Selecting previously unselected package spl.
Preparing to unpack .../spl_
Unpacking spl (0.6.4.2-0ubuntu1) ...
Processing triggers for man-db (2.7.4-1) ...
Setting up zfs-dkms (0.6.4.
Loading new zfs-0.6.4.2 DKMS files...
First Installation: checking all kernels...
Building only for 4.2.0-25-generic
Building initial module for 4.2.0-25-generic
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-
Error! Bad return status for module build on kernel: 4.2.0-25-generic (x86_64)
Consult /var/lib/
Setting up libfakeroot:amd64 (1.20.2-1ubuntu1) ...
Setting up fakeroot (1.20.2-1ubuntu1) ...
update-
Setting up libc-dev-bin (2.21-0ubuntu4) ...
Setting up linux-libc-
Setting up libc6-dev:amd64 (2.21-0ubuntu4) ...
Setting up manpages-dev (3.74-1ubuntu1) ...
Setting up spl (0.6.4.2-0ubuntu1) ...
root@ip-
sudo: unable to resolve host ip-10-0-129-83
Reading package lists... Done
Building dependency tree
Reading state information... Done
spl-dkms is already the newest version.
spl-dkms set to manually installed.
zfs-dkms is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Changed in dkms (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: kernel-da-key |
Changed in dkms (Ubuntu): | |
status: | Confirmed → Fix Released |
It looks to me like spl just simply failed to build:
configure: error: in `/var/lib/ dkms/spl/ 0.6.4.2/ build':
configure: error: C compiler cannot create executables
See `config.log' for more details
Error! Bad return status for module build on kernel: 4.2.0-25-generic