DEBUG: Executing shell function do_compile
NOTE: make -j 70 -l 140 ./utils/cpucycle
make: 'utils/cpucycle' is up to date.
NOTE: make -j 70 -l 140 ./utils/nanosleep
make: 'utils/nanosleep' is up to date.
NOTE: make -j 70 -l 140 ./utils/uevent_reader
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot  -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot-native=  -pipe -pthread  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/git=/usr/src/debug/pm-qa/0.5.2  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot-native=  -Wl,-z,relro,-z,now  utils/uevent_reader.c   -o utils/uevent_reader
utils/uevent_reader.c: In function 'main':
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 utils/uevent_reader.c:4:
TOPDIR/tmp/work/core2-64-oe-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)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
utils/uevent_reader.c:15:6: note: 'exit_handler' declared here
   15 | void exit_handler()
      |      ^~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-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>: utils/uevent_reader] Error 1
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/temp/run.do_compile.1188852:171 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/temp/run.do_compile.1188852, line 171
	#2: die, TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/temp/run.do_compile.1188852, line 155
	#3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/temp/run.do_compile.1188852, line 150
	#4: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/temp/run.do_compile.1188852, line 144
	#5: main, TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/temp/run.do_compile.1188852, line 184

Error details

Submitted on:
01/04/25 07:20
Error type:
Recipe
Task:
do_compile
Recipe:
pm-qa
Recipe version:
0.5.2-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-oe-linux
Host distro:
gentoo-2.17/gentoo-2.17
Branch:
jansa/master
Commit:
82232e3cb46f310f823d3aea6111cb4bb5365c3c
Build:
#203668
Submitter:
Martin.Jansa@gmail.com
Similar errors:
15
Open a bug