The changes on the attached debdiff fix the compilation issues with
linux-hwe-5.8 while still working with linux 5.4.

The source package has been build-tested on all supported architectures
and the built modules were loaded and smoke-tested with linux 5.4 and
linux-hwe-5.8 on Focal.

** Description changed:

+ [Impact]
+ The sysdig DKMS package FTBFS with the new linux-hwe-5.8 kernel on Focal.
+ 
+ [Test Case]
+ Compile the dkms package, load the sysdig module and run sysdig (or csysdig) 
user space utility.
+ 
+ [Regression potential]
+ The largest patch applied to fix the compilation with kernels newer than 5.6 
had to be backported to be applied to sysdig 0.26.4-1. While the changes had 
been smoke-tested on both 5.4 and 5.8 kernels, there's a chance that either the 
original changes or the backport have issues when dealing with time keeping 
using the internal structures instead of the deprecated 'struct timespec' which 
could impact some of the functionalities.
+ 
+ ---
  dkms package failed to build on:
      amd64: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/amd64/s/sysdig/20201016_102509_3a72f@/log.gz
      armhf: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/armhf/s/sysdig/20201016_110849_6a300@/log.gz
      ppc64el: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/ppc64el/s/sysdig/20201016_104955_33928@/log.gz
      s390x: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/s390x/s/sysdig/20201016_081603_465a9@/log.gz
  
  Build errors:
  
  In file included from /var/lib/dkms/sysdig/0.26.4/build/fillers_table.c:12:
  /var/lib/dkms/sysdig/0.26.4/build/ppm.h:53:18: error: field ‘last_print_time’ 
has incomplete type
-    53 |  struct timespec last_print_time;
-       |                  ^~~~~~~~~~~~~~~
+    53 |  struct timespec last_print_time;
+       |                  ^~~~~~~~~~~~~~~
  make[1]: *** [scripts/Makefile.build:290: 
/var/lib/dkms/sysdig/0.26.4/build/fillers_table.o] Error 1
  make[1]: *** Waiting for unfinished jobs....
  In file included from /var/lib/dkms/sysdig/0.26.4/build/main.c:55:
  /var/lib/dkms/sysdig/0.26.4/build/ppm.h:53:18: error: field ‘last_print_time’ 
has incomplete type
-    53 |  struct timespec last_print_time;
-       |                  ^~~~~~~~~~~~~~~
+    53 |  struct timespec last_print_time;
+       |                  ^~~~~~~~~~~~~~~
  /var/lib/dkms/sysdig/0.26.4/build/main.c: In function ‘ppm_ioctl’:
  /var/lib/dkms/sysdig/0.26.4/build/main.c:826:19: error: storage size of ‘ts’ 
isn’t known
-   826 |   struct timespec ts;
-       |                   ^~
+   826 |   struct timespec ts;
+       |                   ^~
  /var/lib/dkms/sysdig/0.26.4/build/main.c:838:3: error: implicit declaration 
of function ‘getnstimeofd
  ay’ [-Werror=implicit-function-declaration]
-   838 |   getnstimeofday(&ts);
-       |   ^~~~~~~~~~~~~~
+   838 |   getnstimeofday(&ts);
+       |   ^~~~~~~~~~~~~~
  [...]

** Patch added: "sysdig_0.26.4-1ubuntu1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/sysdig/+bug/1901734/+attachment/5428541/+files/sysdig_0.26.4-1ubuntu1.debdiff

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

Title:
  sysdig 0.26.4-1 fails to build on Focal with linux-hwe-5.8

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to