DEBUG: Executing shell function do_compile
NOTE: make -j 70 -l 140 DIET= CC=gcc  -isystemTOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native/usr/include -isystemTOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native/usr/include -O2 -pipe -LTOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native/usr/lib                         -LTOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native/lib                         -Wl,-rpath,TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native/usr/lib                         -Wl,-rpath,TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native/lib                         -Wl,-O1 CCC=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/libowfat/0.32/recipe-sysroot CFLAGS= -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native=  -pipe -I. CFLAGS_OPT= -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native=  -pipe -I.
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/libowfat/0.32/recipe-sysroot -c unix/iopause.c -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native=  -pipe -I.
In file included from unix/iopause.c:7:
./select.h:13:12: error: conflicting types for 'select'; have 'int(void)'
   13 | extern int select();
      |            ^~~~~~
In file included from TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot/usr/include/sys/types.h:179,
                 from ./select.h:6:
TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot/usr/include/sys/select.h:102:12: note: previous declaration of 'select' with type 'int(int,  fd_set * restrict,  fd_set * restrict,  fd_set * restrict,  struct timeval * restrict)'
  102 | extern int select (int __nfds, fd_set *__restrict __readfds,
      |            ^~~~~~
unix/iopause.c: In function 'iopause':
unix/iopause.c:63:7: error: too many arguments to function 'select'; expected 0, have 5
   63 |   if (select(nfds,&rfds,&wfds,(fd_set *) 0,&tv) <= 0)
      |       ^~~~~~ ~~~~
./select.h:13:12: note: declared here
   13 | extern int select();
      |            ^~~~~~
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/libowfat/0.32/recipe-sysroot -c buffer/buffer_0.c -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native=  -pipe -I.
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/libowfat/0.32/recipe-sysroot -c buffer/buffer_0small.c -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native=  -pipe -I.
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/libowfat/0.32/recipe-sysroot -c buffer/buffer_1.c -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/libowfat-0.32=/usr/src/debug/libowfat/0.32  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot-native=  -pipe -I.
make: *** [GNUmakefile:183: iopause.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from buffer/buffer_0.c:2:
./buffer.h:27:58: error: initialization of 'ssize_t (*)(void)' {aka 'long int (*)(void)'} from incompatible pointer type 'ssize_t (*)(int,  char *, size_t)' {aka 'long int (*)(int,  char *, long unsigned int)'} [-Wincompatible-pointer-types]
   27 | #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, 0, (len), (op), NULL, NULL, (fd) }
      |                                                          ^
./buffer.h:29:41: note: in expansion of macro 'BUFFER_INIT'
   29 | #define BUFFER_INIT_READ(op,fd,buf,len) BUFFER_INIT(op,fd,buf,len) /*obsolete*/
      |                                         ^~~~~~~~~~~
buffer/buffer_0.c:10:20: note: in expansion of macro 'BUFFER_INIT_READ'
   10 | static buffer it = BUFFER_INIT_READ(b0read,0,buffer_0_space,sizeof buffer_0_space);
      |                    ^~~~~~~~~~~~~~~~
./buffer.h:27:58: note: (near initialization for 'it.op')
   27 | #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, 0, (len), (op), NULL, NULL, (fd) }
      |                                                          ^
./buffer.h:29:41: note: in expansion of macro 'BUFFER_INIT'
   29 | #define BUFFER_INIT_READ(op,fd,buf,len) BUFFER_INIT(op,fd,buf,len) /*obsolete*/
      |                                         ^~~~~~~~~~~
buffer/buffer_0.c:10:20: note: in expansion of macro 'BUFFER_INIT_READ'
   10 | static buffer it = BUFFER_INIT_READ(b0read,0,buffer_0_space,sizeof buffer_0_space);
      |                    ^~~~~~~~~~~~~~~~
buffer/buffer_0.c:4:16: note: 'b0read' declared here
    4 | static ssize_t b0read(int fd,char* buf, size_t len) {
      |                ^~~~~~
In file included from buffer/buffer_1.c:2:
./buffer.h:27:58: error: initialization of 'ssize_t (*)(void)' {aka 'long int (*)(void)'} from incompatible pointer type 'ssize_t (*)(int,  const void *, size_t)' {aka 'long int (*)(int,  const void *, long unsigned int)'} [-Wincompatible-pointer-types]
   27 | #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, 0, (len), (op), NULL, NULL, (fd) }
      |                                                          ^
buffer/buffer_1.c:8:20: note: in expansion of macro 'BUFFER_INIT'
    8 | static buffer it = BUFFER_INIT(write,1,buffer_1_space,sizeof buffer_1_space);
      |                    ^~~~~~~~~~~
./buffer.h:27:58: note: (near initialization for 'it.op')
   27 | #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, 0, (len), (op), NULL, NULL, (fd) }
      |                                                          ^
buffer/buffer_1.c:8:20: note: in expansion of macro 'BUFFER_INIT'
    8 | static buffer it = BUFFER_INIT(write,1,buffer_1_space,sizeof buffer_1_space);
      |                    ^~~~~~~~~~~
In file included from buffer/buffer_0small.c:2:
./buffer.h:27:58: error: initialization of 'ssize_t (*)(void)' {aka 'long int (*)(void)'} from incompatible pointer type 'ssize_t (*)(int,  char *, size_t)' {aka 'long int (*)(int,  char *, long unsigned int)'} [-Wincompatible-pointer-types]
   27 | #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, 0, (len), (op), NULL, NULL, (fd) }
      |                                                          ^
./buffer.h:29:41: note: in expansion of macro 'BUFFER_INIT'
   29 | #define BUFFER_INIT_READ(op,fd,buf,len) BUFFER_INIT(op,fd,buf,len) /*obsolete*/
      |                                         ^~~~~~~~~~~
buffer/buffer_0small.c:10:20: note: in expansion of macro 'BUFFER_INIT_READ'
   10 | static buffer it = BUFFER_INIT_READ(b0read,0,buffer_0_space,sizeof buffer_0_space);
      |                    ^~~~~~~~~~~~~~~~
./buffer.h:27:58: note: (near initialization for 'it.op')
   27 | #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, 0, (len), (op), NULL, NULL, (fd) }
      |                                                          ^
./buffer.h:29:41: note: in expansion of macro 'BUFFER_INIT'
   29 | #define BUFFER_INIT_READ(op,fd,buf,len) BUFFER_INIT(op,fd,buf,len) /*obsolete*/
      |                                         ^~~~~~~~~~~
buffer/buffer_0small.c:10:20: note: in expansion of macro 'BUFFER_INIT_READ'
   10 | static buffer it = BUFFER_INIT_READ(b0read,0,buffer_0_space,sizeof buffer_0_space);
      |                    ^~~~~~~~~~~~~~~~
buffer/buffer_0small.c:4:16: note: 'b0read' declared here
    4 | static ssize_t b0read(int fd,char* buf, size_t len) {
      |                ^~~~~~
In file included from buffer/buffer_1.c:1:
TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot/usr/include/unistd.h:378:16: note: 'write' declared here
  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^~~~~
make: *** [GNUmakefile:183: buffer_0.o] Error 1
make: *** [GNUmakefile:183: buffer_1.o] Error 1
make: *** [GNUmakefile:183: buffer_0small.o] Error 1
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/temp/run.do_compile.1038151:179 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/temp/run.do_compile.1038151, line 179
	#2: die, TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/temp/run.do_compile.1038151, line 164
	#3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/temp/run.do_compile.1038151, line 169
	#4: base_do_compile, TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/temp/run.do_compile.1038151, line 147
	#5: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/temp/run.do_compile.1038151, line 141
	#6: main, TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/temp/run.do_compile.1038151, line 189

Error details

Submitted on:
10/04/25 01:48
Error type:
Recipe
Task:
do_compile
Recipe:
libowfat
Recipe version:
0.32-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:
c4b31fd686ad222fa47b152020e0a6a2b4156ce0
Build:
#204717
Submitter:
Martin.Jansa@gmail.com
Similar errors:
0
Open a bug