This is affecting other J-6.5 variants as well (jammy-linux-ibm-gt-opt,
jammy-linux-aws)


** Summary changed:

- sysdig-dkms failed to build with J-oem-6.5
+ sysdig-dkms failed to build with J-6.5

** Tags added: aws

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2031287

Title:
  sysdig-dkms failed to build with J-6.5

Status in ubuntu-kernel-tests:
  New
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux-oem-6.5 source package in Jammy:
  Confirmed

Bug description:
  ubuntu_sysdig_smoke_test failed because of sysdig DKMS build failed
  with J-oem-6.5

   Error! Bad return status for module build on kernel: 6.5.0-1002-oem (x86_64)
   Consult /var/lib/dkms/sysdig/0.27.1/build/make.log for more information.
   dpkg: error processing package sysdig-dkms (--configure):
    installed sysdig-dkms package post-installation script subprocess returned 
error exit status 10
   Processing triggers for man-db (2.10.2-1) ...
   Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
   Errors were encountered while processing:
    sysdig-dkms
   needrestart is being skipped since dpkg has failed
   W: --force-yes is deprecated, use one of the options starting with --allow 
instead.
   E: Sub-process /usr/bin/dpkg returned an error code (1)
   Running 'dkms status -m sysdig | grep installed'
   Running 'cat /var/lib/dkms/sysdig/*/build/make.log'
   DKMS make.log for sysdig-0.27.1 for kernel 6.5.0-1002-oem (x86_64)
   Thu Aug 10 12:17:20 UTC 2023
   make: Entering directory '/usr/src/linux-headers-6.5.0-1002-oem'
   warning: the compiler differs from the one used to build the kernel
     The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 
12.3.0-1ubuntu1~22.04) 12.3.0
     You are using:           gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
     CC [M]  /var/lib/dkms/sysdig/0.27.1/build/main.o
     CC [M]  /var/lib/dkms/sysdig/0.27.1/build/dynamic_params_table.o
     CC [M]  /var/lib/dkms/sysdig/0.27.1/build/fillers_table.o
     CC [M]  /var/lib/dkms/sysdig/0.27.1/build/flags_table.o
     CC [M]  /var/lib/dkms/sysdig/0.27.1/build/ppm_events.o
   In file included from ./include/linux/linkage.h:7,
                    from ./arch/x86/include/asm/cache.h:5,
                    from ./include/linux/cache.h:6,
                    from ./arch/x86/include/asm/current.h:9,
                    from ./include/linux/sched.h:12,
                    from ./arch/x86/include/asm/syscall.h:14,
                    from /var/lib/dkms/sysdig/0.27.1/build/main.c:19:
   /var/lib/dkms/sysdig/0.27.1/build/main.c: In function ‘sysdig_init’:
   ./include/linux/export.h:29:22: error: passing argument 1 of ‘class_create’ 
from incompatible pointer type [-Werror=incompatible-pointer-types]
      29 | #define THIS_MODULE (&__this_module)
         |                     ~^~~~~~~~~~~~~~~
         |                      |
         |                      struct module *
   /var/lib/dkms/sysdig/0.27.1/build/main.c:2484:36: note: in expansion of 
macro ‘THIS_MODULE’
    2484 |         g_ppm_class = class_create(THIS_MODULE, PROBE_DEVICE_NAME);
         |                                    ^~~~~~~~~~~
   In file included from ./include/linux/device.h:31,
                    from ./include/linux/cdev.h:8,
                    from /var/lib/dkms/sysdig/0.27.1/build/main.c:26:
   ./include/linux/device/class.h:230:54: note: expected ‘const char *’ but 
argument is of type ‘struct module *’
     230 | struct class * __must_check class_create(const char *name);
         |                                          ~~~~~~~~~~~~^~~~
   /var/lib/dkms/sysdig/0.27.1/build/main.c:2484:23: error: too many arguments 
to function ‘class_create’
    2484 |         g_ppm_class = class_create(THIS_MODULE, PROBE_DEVICE_NAME);
         |                       ^~~~~~~~~~~~
   ./include/linux/device/class.h:230:29: note: declared here
     230 | struct class * __must_check class_create(const char *name);
         |                             ^~~~~~~~~~~~
   cc1: some warnings being treated as errors
   make[2]: *** [scripts/Makefile.build:251: 
/var/lib/dkms/sysdig/0.27.1/build/main.o] Error 1
   make[2]: *** Waiting for unfinished jobs....
   make[1]: *** [/usr/src/linux-headers-6.5.0-1002-oem/Makefile:2037: 
/var/lib/dkms/sysdig/0.27.1/build] Error 2
   make: *** [Makefile:234: __sub-make] Error 2
   make: Leaving directory '/usr/src/linux-headers-6.5.0-1002-oem'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2031287/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to