** Description changed:

- The openafs DKMS module fails to build on 5.0 kernels due to changes in
- the kernel API between 4.15 and 5.0. This affects the Bionic edge
- kernels which are based on 5.0.
+ [Impact]
+ 
+ * The openafs DKMS module fails to build on 5.0 kernels due to changes
+ in the kernel API between 4.15 and 5.0. This affects the Bionic
+ HWE{-edge} kernels which are based on 5.0.
+ 
+ [Test Case]
+ 
+ * Install the `openafs` dkms modules package (sudo apt install openafs-
+ modules-dkms)
+ 
+ Expected result: the package installs without any build-time errors, and
+ the module is listed when `sudo dkms status` is ran.
+ 
+ Actual result: the package installation fails because the openafs dkms
+ module fails to build with compilation errors
+ 
+ [Testing]
+ 
+ These instructions were carried out in an amd64 Bionic virtual machine
+ with the 4.15 Bionic kernel and the 5.0 Bionic HWE kernel.
+ 
+ * Install the 5.0 kernel (sudo apt update; sudo apt install 
linux-image-generic-hwe-18.04)
+ * Install the ubuntu-dev-tools package (sudo apt install ubuntu-dev-tools)
+ * Download the openafs package (pull-lp-source openafs bionic)
+ * In the openafs directory, run "quilt pop -a"
+ * Apply the .debdiff in comment #3 (patch -p1 < ../path-to-file.debdiff)
+ * Apply all patches (quilt push -a)
+ * Build the package (debuild -b -uc -us)
+ * Install the `openafs-modules-dkms_1.8.0~pre5-1ubuntu1.1_all.deb` produced 
from the previous step.
+ * Confirm the package installs correctly on 4.15 and 5.0 kernels (it should 
install for both). Run "sudo dkms status" and ensure it's listed there.
+ 
+ If it doesn't install for both kernels, you can prompt it to install for
+ a specific kernel like this: "sudo dkms install openafs/1.8.0pre5 -k
+ 4.15.0-55-generic/x86_64
+ 
+ [Regression Potential]
+ 
+ Low. These changes use preprocessor define macros that are deduced at
+ configuration time to tell the package to act "normal" if a given
+ feature exists or doesn't exist.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839890

Title:
  openafs 1.8.0~pre5-1ubuntu1 fails to build on 5.0 kernels

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to