zfs-dkms is missing dependency on build-essential

Bug #1513917 reported by Paul Boven on 2015-11-06
This bug affects 4 people
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
Colin Ian King

Bug Description

Release: 15.10 Wily Werewolf

Package versions:

On a newly installed machine, I did 'apt-get install zfs-dkms zfsutils-linux'.

Expected: To have the ZFS kernel module and utilities installed.

Result: failed, due to compiler etc. not being installed.

It's probably sufficient to add a dependency on build-essential to the zfs-dkms package.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in zfs-linux (Ubuntu):
status: New → Confirmed
RoyK (roysk) wrote :

probably adding the dependency to the spl-dkms would be best, since that's the first to be built

Changed in zfs-linux (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Colin Ian King (colin-king)
Colin Ian King (colin-king) wrote :

One can install zfs just using "sudo apt-get install zfsutils-linux" without having to specifically install zfs-dkms. However, this is indeed a bug so it needs fixing.

In fact, this is similar to bug 1536299. The issue is that the dkms build runs a configure script that test compiles a simple C test program and this fails because the linker can't link the program because libc-dev is not yet installed at that point. The fix is to add that as a dependency and all should be fine.

I've uploaded a fix into ppa:colin-king/zfs-wily-lp1513917, can you test this out with the following on a clean machine:

sudo add-apt-repository ppa:colin-king/zfs-wily-lp1513917
sudo apt-get update
sudo apt-get install zfs-dkms zfsutils-linux

..and let me know if this resolves the issue for you

Changed in zfs-linux (Ubuntu):
status: Confirmed → In Progress
Colin Ian King (colin-king) wrote :

This is indeed a duplicate of 1536299, I've double checked this and the problem is now fixed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers