DEBUG: Executing shell function do_compile
NOTE: make -j 70 -l 140 LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/netcat-openbsd-1.195=/usr/src/debug/netcat-openbsd/1.195  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/netcat-openbsd-1.195=/usr/src/debug/netcat-openbsd/1.195  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/netcat-openbsd-1.195=/usr/src/debug/netcat-openbsd/1.195  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/netcat-openbsd-1.195=/usr/src/debug/netcat-openbsd/1.195  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot-native=  -Wl,-z,relro,-z,now CFLAGS= -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/netcat-openbsd-1.195=/usr/src/debug/netcat-openbsd/1.195  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/netcat-openbsd-1.195=/usr/src/debug/netcat-openbsd/1.195  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/netcat-openbsd-1.195=/usr/src/debug/netcat-openbsd/1.195  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/netcat-openbsd-1.195=/usr/src/debug/netcat-openbsd/1.195  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot-native=  -pipe -DDEBIAN_VERSION="\"4\""
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/netcat-openbsd/1.195/recipe-sysroot -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/netcat-openbsd-1.195=/usr/src/debug/netcat-openbsd/1.195  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/netcat-openbsd-1.195=/usr/src/debug/netcat-openbsd/1.195  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/netcat-openbsd-1.195=/usr/src/debug/netcat-openbsd/1.195  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/netcat-openbsd-1.195=/usr/src/debug/netcat-openbsd/1.195  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot-native=  -pipe -DDEBIAN_VERSION="\"4\"" -c netcat.c -o netcat.o
netcat.c: In function 'main':
netcat.c:746:78: warning: format '%d' expects argument of type 'int', but argument 5 has type 'char *' [-Wformat=]
  746 |                         fprintf(stderr, "Listening on [%s] (family %d, port %d)\n",
      |                                                                             ~^
      |                                                                              |
      |                                                                              int
      |                                                                             %s
......
  749 |                                 *uport);
      |                                 ~~~~~~                                        
      |                                 |
      |                                 char *
netcat.c: In function 'readwrite':
netcat.c:1443:41: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
 1443 |                         signal(SIGALRM, quit);
      |                                         ^~~~
      |                                         |
      |                                         void (*)(void)
In file included from netcat.c:100:
TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/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)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
netcat.c:241:13: note: 'quit' declared here
  241 | static void quit();
      |             ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
make: *** [Makefile:17: netcat.o] Error 1
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/temp/run.do_compile.2976680:169 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/temp/run.do_compile.2976680, line 169
	#2: die, TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/temp/run.do_compile.2976680, line 153
	#3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/temp/run.do_compile.2976680, line 148
	#4: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/temp/run.do_compile.2976680, line 143
	#5: main, TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/temp/run.do_compile.2976680, line 182

Error details

Submitted on:
04/04/25 02:46
Error type:
Recipe
Task:
do_compile
Recipe:
netcat-openbsd
Recipe version:
1.195-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:
d3bdb4779afb21567ff31b4c9621daca36f64aab
Build:
#204268
Submitter:
Martin.Jansa@gmail.com
Similar errors:
0
Open a bug