Skip to content

Instantly share code, notes, and snippets.

@nedbass
Created December 7, 2012 19:46
Show Gist options
  • Save nedbass/4235942 to your computer and use it in GitHub Desktop.
Save nedbass/4235942 to your computer and use it in GitHub Desktop.
Failed spl-dkms build
root@ubuntu:/# apt-get install ubuntu-zfs
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
binutils cpp cpp-4.6 dkms fakeroot gcc gcc-4.6 libc-dev-bin libc6-dev
libgmp10 libgomp1 libmpc2 libmpfr4 libnvpair1 libquadmath0 libuutil1 libzfs1
libzpool1 linux-libc-dev make manpages manpages-dev patch spl spl-dkms
zfs-dkms zfsutils
Suggested packages:
binutils-doc cpp-doc gcc-4.6-locales 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 glibc-doc make-doc man-browser ed diffutils-doc
zfs-auto-snapshot samba-common-bin nfs-kernel-server zfs-initramfs
The following NEW packages will be installed:
binutils cpp cpp-4.6 dkms fakeroot gcc gcc-4.6 libc-dev-bin libc6-dev
libgmp10 libgomp1 libmpc2 libmpfr4 libnvpair1 libquadmath0 libuutil1 libzfs1
libzpool1 linux-libc-dev make manpages manpages-dev patch spl spl-dkms
ubuntu-zfs zfs-dkms zfsutils
0 upgraded, 28 newly installed, 0 to remove and 1 not upgraded.
Need to get 25.8 MB of archives.
After this operation, 73.1 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ppa.launchpad.net/zfs-native/daily/ubuntu/ precise/main dkms all 2.2.0.3-1ubuntu3+zfs3 [78.7 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise/main libgmp10 amd64 2:5.0.2+dfsg-2ubuntu1 [238 kB]
Get:3 http://ppa.launchpad.net/zfs-native/daily/ubuntu/ precise/main spl-dkms all 0.6.0.89-0ubuntu1~precise1 [552 kB]
Get:4 http://ppa.launchpad.net/zfs-native/daily/ubuntu/ precise/main zfs-dkms amd64 0.6.0.89-0ubuntu1~precise1 [2,037 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ precise/main libgomp1 amd64 4.6.3-1ubuntu5 [25.5 kB]
Get:6 http://ppa.launchpad.net/zfs-native/daily/ubuntu/ precise/main spl amd64 0.6.0.89-0ubuntu1~precise1 [23.7 kB]
Get:7 http://ppa.launchpad.net/zfs-native/daily/ubuntu/ precise/main libuutil1 amd64 0.6.0.89-0ubuntu1~precise1 [68.1 kB]
Get:8 http://ppa.launchpad.net/zfs-native/daily/ubuntu/ precise/main libnvpair1 amd64 0.6.0.89-0ubuntu1~precise1 [59.1 kB]
Get:9 http://ppa.launchpad.net/zfs-native/daily/ubuntu/ precise/main libzpool1 amd64 0.6.0.89-0ubuntu1~precise1 [430 kB]
Get:10 http://ppa.launchpad.net/zfs-native/daily/ubuntu/ precise/main libzfs1 amd64 0.6.0.89-0ubuntu1~precise1 [148 kB]
Get:11 http://ppa.launchpad.net/zfs-native/daily/ubuntu/ precise/main zfsutils amd64 0.6.0.89-0ubuntu1~precise1 [320 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ precise/main libmpfr4 amd64 3.1.0-3ubuntu2 [201 kB]
Get:13 http://ppa.launchpad.net/zfs-native/daily/ubuntu/ precise/main ubuntu-zfs amd64 6~precise [2,014 B]
Get:14 http://archive.ubuntu.com/ubuntu/ precise/main libquadmath0 amd64 4.6.3-1ubuntu5 [126 kB]
Get:15 http://archive.ubuntu.com/ubuntu/ precise/main libmpc2 amd64 0.9-4 [39.5 kB]
Get:16 http://archive.ubuntu.com/ubuntu/ precise/main cpp-4.6 amd64 4.6.3-1ubuntu5 [4,836 kB]
Get:17 http://archive.ubuntu.com/ubuntu/ precise/main cpp amd64 4:4.6.3-1ubuntu5 [27.6 kB]
Get:18 http://archive.ubuntu.com/ubuntu/ precise/main binutils amd64 2.22-6ubuntu1 [2,643 kB]
Get:19 http://archive.ubuntu.com/ubuntu/ precise/main gcc-4.6 amd64 4.6.3-1ubuntu5 [7,572 kB]
Get:20 http://archive.ubuntu.com/ubuntu/ precise/main gcc amd64 4:4.6.3-1ubuntu5 [5,114 B]
Get:21 http://archive.ubuntu.com/ubuntu/ precise/main make amd64 3.81-8.1ubuntu1 [118 kB]
Get:22 http://archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 [80.2 kB]
Get:23 http://archive.ubuntu.com/ubuntu/ precise/main manpages all 3.35-0.1ubuntu1 [584 kB]
Get:24 http://archive.ubuntu.com/ubuntu/ precise/main fakeroot amd64 1.18.2-1 [87.2 kB]
Get:25 http://archive.ubuntu.com/ubuntu/ precise/main libc-dev-bin amd64 2.15-0ubuntu10 [83.3 kB]
Get:26 http://archive.ubuntu.com/ubuntu/ precise/main linux-libc-dev amd64 3.2.0-23.36 [828 kB]
Get:27 http://archive.ubuntu.com/ubuntu/ precise/main libc6-dev amd64 2.15-0ubuntu10 [2,931 kB]
Get:28 http://archive.ubuntu.com/ubuntu/ precise/main manpages-dev all 3.35-0.1ubuntu1 [1,671 kB]
Fetched 25.8 MB in 47s (545 kB/s)
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libgmp10.
(Reading database ... 37852 files and directories currently installed.)
Unpacking libgmp10 (from .../libgmp10_2%3a5.0.2+dfsg-2ubuntu1_amd64.deb) ...
Selecting previously unselected package libgomp1.
Unpacking libgomp1 (from .../libgomp1_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package libmpfr4.
Unpacking libmpfr4 (from .../libmpfr4_3.1.0-3ubuntu2_amd64.deb) ...
Selecting previously unselected package libquadmath0.
Unpacking libquadmath0 (from .../libquadmath0_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package libmpc2.
Unpacking libmpc2 (from .../libmpc2_0.9-4_amd64.deb) ...
Selecting previously unselected package cpp-4.6.
Unpacking cpp-4.6 (from .../cpp-4.6_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package binutils.
Unpacking binutils (from .../binutils_2.22-6ubuntu1_amd64.deb) ...
Selecting previously unselected package gcc-4.6.
Unpacking gcc-4.6 (from .../gcc-4.6_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package make.
Unpacking make (from .../make_3.81-8.1ubuntu1_amd64.deb) ...
Selecting previously unselected package patch.
Unpacking patch (from .../patch_2.6.1-3_amd64.deb) ...
Selecting previously unselected package dkms.
Unpacking dkms (from .../dkms_2.2.0.3-1ubuntu3+zfs3_all.deb) ...
Selecting previously unselected package spl-dkms.
Unpacking spl-dkms (from .../spl-dkms_0.6.0.89-0ubuntu1~precise1_all.deb) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libgmp10 (2:5.0.2+dfsg-2ubuntu1) ...
Setting up libmpfr4 (3.1.0-3ubuntu2) ...
Setting up libmpc2 (0.9-4) ...
Setting up cpp-4.6 (4.6.3-1ubuntu5) ...
Setting up cpp (4:4.6.3-1ubuntu5) ...
Setting up binutils (2.22-6ubuntu1) ...
Setting up libgomp1 (4.6.3-1ubuntu5) ...
Setting up libquadmath0 (4.6.3-1ubuntu5) ...
Setting up gcc-4.6 (4.6.3-1ubuntu5) ...
Setting up gcc (4:4.6.3-1ubuntu5) ...
Setting up make (3.81-8.1ubuntu1) ...
Setting up patch (2.6.1-3) ...
Setting up dkms (2.2.0.3-1ubuntu3+zfs3) ...
Setting up spl-dkms (0.6.0.89-0ubuntu1~precise1) ...
Loading new spl-0.6.0.89 DKMS files...
First Installation: checking all kernels...
It is likely that 3.2.0-29-generic belongs to a chroot's host
Building initial module for 3.2.0-23-generic
configure: error: in `/var/lib/dkms/spl/0.6.0.89/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
Error! Bad return status for module build on kernel: 3.2.0-23-generic (x86_64)
Consult /var/lib/dkms/spl/0.6.0.89/build/make.log for more information.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package zfs-dkms.
(Reading database ... 38452 files and directories currently installed.)
Unpacking zfs-dkms (from .../zfs-dkms_0.6.0.89-0ubuntu1~precise1_amd64.deb) ...
Selecting previously unselected package manpages.
Unpacking manpages (from .../manpages_3.35-0.1ubuntu1_all.deb) ...
Selecting previously unselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.18.2-1_amd64.deb) ...
Selecting previously unselected package libc-dev-bin.
Unpacking libc-dev-bin (from .../libc-dev-bin_2.15-0ubuntu10_amd64.deb) ...
Selecting previously unselected package linux-libc-dev.
Unpacking linux-libc-dev (from .../linux-libc-dev_3.2.0-23.36_amd64.deb) ...
Selecting previously unselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.15-0ubuntu10_amd64.deb) ...
Selecting previously unselected package manpages-dev.
Unpacking manpages-dev (from .../manpages-dev_3.35-0.1ubuntu1_all.deb) ...
Selecting previously unselected package spl.
Unpacking spl (from .../spl_0.6.0.89-0ubuntu1~precise1_amd64.deb) ...
Selecting previously unselected package libuutil1.
Unpacking libuutil1 (from .../libuutil1_0.6.0.89-0ubuntu1~precise1_amd64.deb) ...
Selecting previously unselected package libnvpair1.
Unpacking libnvpair1 (from .../libnvpair1_0.6.0.89-0ubuntu1~precise1_amd64.deb) ...
Selecting previously unselected package libzpool1.
Unpacking libzpool1 (from .../libzpool1_0.6.0.89-0ubuntu1~precise1_amd64.deb) ...
Selecting previously unselected package libzfs1.
Unpacking libzfs1 (from .../libzfs1_0.6.0.89-0ubuntu1~precise1_amd64.deb) ...
Selecting previously unselected package zfsutils.
Unpacking zfsutils (from .../zfsutils_0.6.0.89-0ubuntu1~precise1_amd64.deb) ...
Selecting previously unselected package ubuntu-zfs.
Unpacking ubuntu-zfs (from .../ubuntu-zfs_6~precise_amd64.deb) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-23-generic
df: Warning: cannot read table of mounted file systems: No such file or directory
Processing triggers for ureadahead ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up zfs-dkms (0.6.0.89-0ubuntu1~precise1) ...
Loading new zfs-0.6.0.89 DKMS files...
First Installation: checking all kernels...
It is likely that 3.2.0-29-generic belongs to a chroot's host
Building initial module for 3.2.0-23-generic
configure: error:
*** Cannot determine the version of the spl source.
*** ZFS depends on the SPL kernel module, which is not yet ready.
*** DKMS should retry zfs-dkms momentarily after building spl-dkms.
*** If this error message persists, or if you are running DKMS manually,
*** then run 'apt-get install --reinstall spl-dkms' and try again.
Error! Bad return status for module build on kernel: 3.2.0-23-generic (x86_64)
Consult /var/lib/dkms/zfs/0.6.0.89/build/make.log for more information.
Setting up manpages (3.35-0.1ubuntu1) ...
Setting up fakeroot (1.18.2-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
Setting up libc-dev-bin (2.15-0ubuntu10) ...
Setting up linux-libc-dev (3.2.0-23.36) ...
Setting up libc6-dev (2.15-0ubuntu10) ...
Setting up manpages-dev (3.35-0.1ubuntu1) ...
Setting up spl (0.6.0.89-0ubuntu1~precise1) ...
Setting up libuutil1 (0.6.0.89-0ubuntu1~precise1) ...
Setting up libnvpair1 (0.6.0.89-0ubuntu1~precise1) ...
Setting up libzpool1 (0.6.0.89-0ubuntu1~precise1) ...
Setting up libzfs1 (0.6.0.89-0ubuntu1~precise1) ...
Setting up zfsutils (0.6.0.89-0ubuntu1~precise1) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-23-generic
df: Warning: cannot read table of mounted file systems: No such file or directory
Setting up ubuntu-zfs (6~precise) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
root@ubuntu:/#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment