← Back to team overview

kernel-packages team mailing list archive

[Bug 1538379] Re: zfs dkms module attempts to build before spl

 

** Changed in: dkms (Ubuntu)
   Importance: Undecided => Medium

** Tags added: kernel-da-key

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dkms in Ubuntu.
https://bugs.launchpad.net/bugs/1538379

Title:
  zfs dkms module attempts to build before spl

Status in dkms package in Ubuntu:
  Confirmed

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_0.14-2_amd64.deb ...
  Unpacking libisl13:amd64 (0.14-2) ...
  Selecting previously unselected package libmpc3:amd64.
  Preparing to unpack .../libmpc3_1.0.3-1_amd64.deb ...
  Unpacking libmpc3:amd64 (1.0.3-1) ...
  Selecting previously unselected package cpp-5.
  Preparing to unpack .../cpp-5_5.2.1-22ubuntu2_amd64.deb ...
  Unpacking cpp-5 (5.2.1-22ubuntu2) ...
  Selecting previously unselected package cpp.
  Preparing to unpack .../cpp_4%3a5.2.1-3ubuntu1_amd64.deb ...
  Unpacking cpp (4:5.2.1-3ubuntu1) ...
  Selecting previously unselected package libcc1-0:amd64.
  Preparing to unpack .../libcc1-0_5.2.1-22ubuntu2_amd64.deb ...
  Unpacking libcc1-0:amd64 (5.2.1-22ubuntu2) ...
  Selecting previously unselected package binutils.
  Preparing to unpack .../binutils_2.25.1-6ubuntu2_amd64.deb ...
  Unpacking binutils (2.25.1-6ubuntu2) ...
  Selecting previously unselected package libgomp1:amd64.
  Preparing to unpack .../libgomp1_5.2.1-22ubuntu2_amd64.deb ...
  Unpacking libgomp1:amd64 (5.2.1-22ubuntu2) ...
  Selecting previously unselected package libitm1:amd64.
  Preparing to unpack .../libitm1_5.2.1-22ubuntu2_amd64.deb ...
  Unpacking libitm1:amd64 (5.2.1-22ubuntu2) ...
  Selecting previously unselected package libatomic1:amd64.
  Preparing to unpack .../libatomic1_5.2.1-22ubuntu2_amd64.deb ...
  Unpacking libatomic1:amd64 (5.2.1-22ubuntu2) ...
  Selecting previously unselected package libasan2:amd64.
  Preparing to unpack .../libasan2_5.2.1-22ubuntu2_amd64.deb ...
  Unpacking libasan2:amd64 (5.2.1-22ubuntu2) ...
  Selecting previously unselected package liblsan0:amd64.
  Preparing to unpack .../liblsan0_5.2.1-22ubuntu2_amd64.deb ...
  Unpacking liblsan0:amd64 (5.2.1-22ubuntu2) ...
  Selecting previously unselected package libtsan0:amd64.
  Preparing to unpack .../libtsan0_5.2.1-22ubuntu2_amd64.deb ...
  Unpacking libtsan0:amd64 (5.2.1-22ubuntu2) ...
  Selecting previously unselected package libubsan0:amd64.
  Preparing to unpack .../libubsan0_5.2.1-22ubuntu2_amd64.deb ...
  Unpacking libubsan0:amd64 (5.2.1-22ubuntu2) ...
  Selecting previously unselected package libcilkrts5:amd64.
  Preparing to unpack .../libcilkrts5_5.2.1-22ubuntu2_amd64.deb ...
  Unpacking libcilkrts5:amd64 (5.2.1-22ubuntu2) ...
  Selecting previously unselected package libmpx0:amd64.
  Preparing to unpack .../libmpx0_5.2.1-22ubuntu2_amd64.deb ...
  Unpacking libmpx0:amd64 (5.2.1-22ubuntu2) ...
  Selecting previously unselected package libquadmath0:amd64.
  Preparing to unpack .../libquadmath0_5.2.1-22ubuntu2_amd64.deb ...
  Unpacking libquadmath0:amd64 (5.2.1-22ubuntu2) ...
  Selecting previously unselected package libgcc-5-dev:amd64.
  Preparing to unpack .../libgcc-5-dev_5.2.1-22ubuntu2_amd64.deb ...
  Unpacking libgcc-5-dev:amd64 (5.2.1-22ubuntu2) ...
  Selecting previously unselected package gcc-5.
  Preparing to unpack .../gcc-5_5.2.1-22ubuntu2_amd64.deb ...
  Unpacking gcc-5 (5.2.1-22ubuntu2) ...
  Selecting previously unselected package gcc.
  Preparing to unpack .../gcc_4%3a5.2.1-3ubuntu1_amd64.deb ...
  Unpacking gcc (4:5.2.1-3ubuntu1) ...
  Selecting previously unselected package make.
  Preparing to unpack .../make_4.0-8.2_amd64.deb ...
  Unpacking make (4.0-8.2) ...
  Selecting previously unselected package dkms.
  Preparing to unpack .../dkms_2.2.0.3-2ubuntu6.1_all.deb ...
  Unpacking dkms (2.2.0.3-2ubuntu6.1) ...
  Selecting previously unselected package spl-dkms.
  Preparing to unpack .../spl-dkms_0.6.4.2-0ubuntu1_amd64.deb ...
  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.3-2ubuntu6.1) ...
  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/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 (x86_64)
  Consult /var/lib/dkms/spl/0.6.4.2/build/make.log for more information.
  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-dkms_0.6.4.2-0ubuntu1.2_amd64.deb ...
  Unpacking zfs-dkms (0.6.4.2-0ubuntu1.2) ...
  Selecting previously unselected package libfakeroot:amd64.
  Preparing to unpack .../libfakeroot_1.20.2-1ubuntu1_amd64.deb ...
  Unpacking libfakeroot:amd64 (1.20.2-1ubuntu1) ...
  Selecting previously unselected package fakeroot.
  Preparing to unpack .../fakeroot_1.20.2-1ubuntu1_amd64.deb ...
  Unpacking fakeroot (1.20.2-1ubuntu1) ...
  Selecting previously unselected package libc-dev-bin.
  Preparing to unpack .../libc-dev-bin_2.21-0ubuntu4_amd64.deb ...
  Unpacking libc-dev-bin (2.21-0ubuntu4) ...
  Selecting previously unselected package linux-libc-dev:amd64.
  Preparing to unpack .../linux-libc-dev_4.2.0-25.30_amd64.deb ...
  Unpacking linux-libc-dev:amd64 (4.2.0-25.30) ...
  Selecting previously unselected package libc6-dev:amd64.
  Preparing to unpack .../libc6-dev_2.21-0ubuntu4_amd64.deb ...
  Unpacking libc6-dev:amd64 (2.21-0ubuntu4) ...
  Selecting previously unselected package manpages-dev.
  Preparing to unpack .../manpages-dev_3.74-1ubuntu1_all.deb ...
  Unpacking manpages-dev (3.74-1ubuntu1) ...
  Selecting previously unselected package spl.
  Preparing to unpack .../spl_0.6.4.2-0ubuntu1_amd64.deb ...
  Unpacking spl (0.6.4.2-0ubuntu1) ...
  Processing triggers for man-db (2.7.4-1) ...
  Setting up zfs-dkms (0.6.4.2-0ubuntu1.2) ...
  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-spl-obj=PATH' option.
  Error! Bad return status for module build on kernel: 4.2.0-25-generic (x86_64)
  Consult /var/lib/dkms/zfs/0.6.4.2/build/make.log for more information.
  Setting up libfakeroot:amd64 (1.20.2-1ubuntu1) ...
  Setting up fakeroot (1.20.2-1ubuntu1) ...
  update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
  Setting up libc-dev-bin (2.21-0ubuntu4) ...
  Setting up linux-libc-dev:amd64 (4.2.0-25.30) ...
  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-10-0-129-83:/home/ubuntu# sudo apt-get -y install zfs-dkms spl-dkms
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1538379/+subscriptions


References