Bug 31963 - dkms-sysdig fails to build
Summary: dkms-sysdig fails to build
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Florian Hubold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-26 02:56 CEST by Dave Hodgins
Modified: 2023-05-26 21:24 CEST (History)
0 users

See Also:
Source RPM: sysdig-0.27.1-13.mga9.src.rpm
CVE:
Status comment:


Attachments

Description Dave Hodgins 2023-05-26 02:56:50 CEST
$ cat make.log
DKMS make.log for sysdig-0.27.1-13.mga9 for kernel 6.3.3-desktop-1.mga9 (x86_64)
Thu 25 May 2023 08:28:22 PM EDT
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (Mageia 12.3.0-2.mga9) 12.3.0
  You are using:           gcc (Mageia 12.3.0-3.mga9) 12.3.0
  CC [M]  /var/lib/dkms/sysdig/0.27.1-13.mga9/build/main.o
  CC [M]  /var/lib/dkms/sysdig/0.27.1-13.mga9/build/dynamic_params_table.o
  CC [M]  /var/lib/dkms/sysdig/0.27.1-13.mga9/build/fillers_table.o
  CC [M]  /var/lib/dkms/sysdig/0.27.1-13.mga9/build/flags_table.o
  CC [M]  /var/lib/dkms/sysdig/0.27.1-13.mga9/build/ppm_events.o
/var/lib/dkms/sysdig/0.27.1-13.mga9/build/main.c: In function ‘sysdig_init’:
/var/lib/dkms/sysdig/0.27.1-13.mga9/build/main.c:2484:30: error: assignment to ‘char * (*)(const struct device *, umode_t *)’ {aka ‘char * (*)(const struct device *, short unsigned int *)’} from incompatible pointer type ‘char * (*)(struct device *, umode_t *)’ {aka ‘char * (*)(struct device *, short unsigned int *)’} [-Werror=incompatible-pointer-types]
 2484 |         g_ppm_class->devnode = ppm_devnode;
      |                              ^
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:252: /var/lib/dkms/sysdig/0.27.1-13.mga9/build/main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:2004: /var/lib/dkms/sysdig/0.27.1-13.mga9/build] Error 2
Thomas Backlund 2023-05-26 21:24:53 CEST

Assignee: kernel => doktor5000


Note You need to log in before you can comment on or make changes to this bug.