DEBUG: Executing shell function do_compile
NOTE: make -j 16 -l 75 ./.pc/0001-fix-build-with-gcc-15-Wincompatible-pointer-types-er.patch/utils/uevent_reader
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/recipe-sysroot -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/sources/pm-qa-0.5.2=/usr/src/debug/pm-qa/0.5.2 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/sources/pm-qa-0.5.2=/usr/src/debug/pm-qa/0.5.2 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/recipe-sysroot-native= -pipe -pthread -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/sources/pm-qa-0.5.2=/usr/src/debug/pm-qa/0.5.2 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/sources/pm-qa-0.5.2=/usr/src/debug/pm-qa/0.5.2 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/recipe-sysroot-native= -Wl,-z,relro,-z,now .pc/0001-fix-build-with-gcc-15-Wincompatible-pointer-types-er.patch/utils/uevent_reader.c -o .pc/0001-fix-build-with-gcc-15-Wincompatible-pointer-types-er.patch/utils/uevent_reader
.pc/0001-fix-build-with-gcc-15-Wincompatible-pointer-types-er.patch/utils/uevent_reader.c: In function 'main':
.pc/0001-fix-build-with-gcc-15-Wincompatible-pointer-types-er.patch/utils/uevent_reader.c:33:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
33 | signal(SIGINT, exit_handler);
| ^~~~~~~~~~~~
| |
| void (*)(void)
In file included from .pc/0001-fix-build-with-gcc-15-Wincompatible-pointer-types-er.patch/utils/uevent_reader.c:4:
TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
.pc/0001-fix-build-with-gcc-15-Wincompatible-pointer-types-er.patch/utils/uevent_reader.c:15:6: note: 'exit_handler' declared here
15 | void exit_handler()
| ^~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
make: *** [<builtin>: .pc/0001-fix-build-with-gcc-15-Wincompatible-pointer-types-er.patch/utils/uevent_reader] Error 1
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/temp/run.do_compile.2338688:171 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/temp/run.do_compile.2338688, line 171
#2: die, TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/temp/run.do_compile.2338688, line 155
#3: oe_runmake, TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/temp/run.do_compile.2338688, line 150
#4: do_compile, TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/temp/run.do_compile.2338688, line 144
#5: main, TOPDIR/tmp/work/x86-64-v3-poky-linux/pm-qa/0.5.2/temp/run.do_compile.2338688, line 184