2016-01-20 17:49:50 |
Colin Ian King |
bug |
|
|
added bug |
2016-01-20 17:49:58 |
Colin Ian King |
zfs-linux (Ubuntu): status |
New |
In Progress |
|
2016-01-20 17:50:00 |
Colin Ian King |
zfs-linux (Ubuntu): importance |
Undecided |
High |
|
2016-01-20 17:50:02 |
Colin Ian King |
zfs-linux (Ubuntu): assignee |
|
Colin Ian King (colin-king) |
|
2016-01-20 19:28:54 |
Colin Ian King |
description |
On a totally clean server install of Wily installing zfsutils-linux ends up with a build failure of spl, typically:
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.
The issue is that the configure script in SPL is building a simple test program but the linking fails because libc-dev is not yet installed even though gcc is. The libc-dev package gets installed a little while later.
A fix is to modify spl-linux: debian/control and add in the libc-dev dependency on spl-dkms to ensure this package is already installed before SPL runs the test.
Package: spl-dkms
Depends: ${misc:Depends}, libc-dev, dkms (>= 2.2.0.2), file, lsb-release
Recommends: spl
Normally, dkms driver builds just build against the kernel without such pre-checks, so we don't hit this with normal dkms packages. Note that this issue does not seem to bite a lot of users probably because libc-dev is already installed. |
[IMPACT]
Installing ZFS on a clean machine that does not have libc-dev installed will end in a DKMS build failure on the Solaris Porting Layer module.
[TEST CASE]
Do a clean install of Ubuntu Wily server
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install zfsutils-linux
Without the fix, this breaks. With the fix SPL builds OK and ZFS installs.
[REGRESSION POTENTIAL]
Minimal, this just adds one dependency in for spl-dkms, and this package will ultimately get installed later on during the zfsutils-linux installation. This fix causes it to be installed earlier on during the installation.
----------------
On a totally clean server install of Wily installing zfsutils-linux ends up with a build failure of spl, typically:
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.
The issue is that the configure script in SPL is building a simple test program but the linking fails because libc-dev is not yet installed even though gcc is. The libc-dev package gets installed a little while later.
A fix is to modify spl-linux: debian/control and add in the libc-dev dependency on spl-dkms to ensure this package is already installed before SPL runs the test.
Package: spl-dkms
Depends: ${misc:Depends}, libc-dev, dkms (>= 2.2.0.2), file, lsb-release
Recommends: spl
Normally, dkms driver builds just build against the kernel without such pre-checks, so we don't hit this with normal dkms packages. Note that this issue does not seem to bite a lot of users probably because libc-dev is already installed. |
|
2016-01-20 19:30:35 |
Colin Ian King |
description |
[IMPACT]
Installing ZFS on a clean machine that does not have libc-dev installed will end in a DKMS build failure on the Solaris Porting Layer module.
[TEST CASE]
Do a clean install of Ubuntu Wily server
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install zfsutils-linux
Without the fix, this breaks. With the fix SPL builds OK and ZFS installs.
[REGRESSION POTENTIAL]
Minimal, this just adds one dependency in for spl-dkms, and this package will ultimately get installed later on during the zfsutils-linux installation. This fix causes it to be installed earlier on during the installation.
----------------
On a totally clean server install of Wily installing zfsutils-linux ends up with a build failure of spl, typically:
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.
The issue is that the configure script in SPL is building a simple test program but the linking fails because libc-dev is not yet installed even though gcc is. The libc-dev package gets installed a little while later.
A fix is to modify spl-linux: debian/control and add in the libc-dev dependency on spl-dkms to ensure this package is already installed before SPL runs the test.
Package: spl-dkms
Depends: ${misc:Depends}, libc-dev, dkms (>= 2.2.0.2), file, lsb-release
Recommends: spl
Normally, dkms driver builds just build against the kernel without such pre-checks, so we don't hit this with normal dkms packages. Note that this issue does not seem to bite a lot of users probably because libc-dev is already installed. |
SRU request, Wily.
[IMPACT]
Installing ZFS on a clean machine that does not have libc-dev installed will end in a DKMS build failure on the Solaris Porting Layer module.
[TEST CASE]
Do a clean install of Ubuntu Wily server
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install zfsutils-linux
Without the fix, this breaks. With the fix SPL builds OK and ZFS installs.
[REGRESSION POTENTIAL]
Minimal, this just adds one dependency in for spl-dkms, and this package will ultimately get installed later on during the zfsutils-linux installation. This fix causes it to be installed earlier on during the installation.
----------------
On a totally clean server install of Wily installing zfsutils-linux ends up with a build failure of spl, typically:
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.
The issue is that the configure script in SPL is building a simple test program but the linking fails because libc-dev is not yet installed even though gcc is. The libc-dev package gets installed a little while later.
A fix is to modify spl-linux: debian/control and add in the libc-dev dependency on spl-dkms to ensure this package is already installed before SPL runs the test.
Package: spl-dkms
Depends: ${misc:Depends}, libc-dev, dkms (>= 2.2.0.2), file, lsb-release
Recommends: spl
Normally, dkms driver builds just build against the kernel without such pre-checks, so we don't hit this with normal dkms packages. Note that this issue does not seem to bite a lot of users probably because libc-dev is already installed. |
|
2016-01-20 19:37:35 |
Colin Ian King |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-01-20 20:07:10 |
Chris J Arges |
nominated for series |
|
Ubuntu Wily |
|
2016-01-20 20:07:10 |
Chris J Arges |
bug task added |
|
zfs-linux (Ubuntu Wily) |
|
2016-01-21 14:55:40 |
Chris J Arges |
zfs-linux (Ubuntu): status |
In Progress |
Fix Committed |
|
2016-01-21 22:14:25 |
Brian Murray |
affects |
zfs-linux (Ubuntu) |
spl-linux (Ubuntu) |
|
2016-01-21 22:14:25 |
Brian Murray |
spl-linux (Ubuntu): status |
Fix Committed |
Fix Released |
|
2016-01-21 22:15:54 |
Brian Murray |
spl-linux (Ubuntu Wily): status |
New |
Fix Committed |
|
2016-01-21 22:15:56 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2016-01-22 10:06:44 |
Colin Ian King |
spl-linux (Ubuntu Wily): importance |
Undecided |
High |
|
2016-01-22 10:06:46 |
Colin Ian King |
spl-linux (Ubuntu Wily): assignee |
|
Colin Ian King (colin-king) |
|
2016-01-22 10:42:27 |
Colin Ian King |
tags |
|
verification-done |
|
2016-02-04 23:03:54 |
Launchpad Janitor |
spl-linux (Ubuntu Wily): status |
Fix Committed |
Fix Released |
|
2016-02-04 23:03:59 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|