DEBUG: Executing shell function do_compile
Linking ./src/* into ./compile...
Compiling everything in ./compile...
sh find-systype.sh > systype
rm -f compile
sh print-cc.sh > compile
chmod 555 compile
./compile byte_chr.c
./compile byte_copy.c
./compile byte_cr.c
./compile byte_diff.c
./compile byte_rchr.c
./compile fmt_uint.c
./compile fmt_uint0.c
./compile fmt_ulong.c
rm -f makelib
sh print-ar.sh > makelib
chmod 555 makelib
./compile scan_ulong.c
./compile str_chr.c
./compile str_diff.c
./compile str_len.c
./compile str_start.c
./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o \
byte_rchr.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o str_chr.o \
str_diff.o str_len.o str_start.o
rm -f choose
cat warn-auto.sh choose.sh \
| sed s}HOME}"`head -1 home`"}g \
> choose
chmod 555 choose
./choose c trydrent direntry.h1 direntry.h2 > direntry.h
./compile envdir.c
rm -f load
sh print-ld.sh > load
chmod 555 load
./compile alloc.c
./compile alloc_re.c
./compile buffer.c
./compile buffer_0.c
buffer_0.c: In function 'buffer_0_read':
buffer_0.c:5:5: warning: old-style function definition [-Wold-style-definition]
    5 | int buffer_0_read(fd,buf,len) int fd; char *buf; int len;
      |     ^~~~~~~~~~~~~
./compile buffer_1.c
In file included from buffer_1.c:3:
buffer.h:14:61: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  const char *, unsigned int)' [-Wincompatible-pointer-types]
   14 | #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }
      |                                                             ^
buffer_1.c:6:20: note: in expansion of macro 'BUFFER_INIT'
    6 | static buffer it = BUFFER_INIT(buffer_unixwrite,1,buffer_1_space,sizeof buffer_1_space);
      |                    ^~~~~~~~~~~
buffer.h:14:61: note: (near initialization for 'it.op')
   14 | #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }
      |                                                             ^
buffer_1.c:6:20: note: in expansion of macro 'BUFFER_INIT'
    6 | static buffer it = BUFFER_INIT(buffer_unixwrite,1,buffer_1_space,sizeof buffer_1_space);
      |                    ^~~~~~~~~~~
buffer.h:53:12: note: 'buffer_unixwrite' declared here
   53 | extern int buffer_unixwrite(int,const char *,unsigned int);
      |            ^~~~~~~~~~~~~~~~
make: *** [Makefile:40: buffer_1.o] Error 1
WARNING: TOPDIR/tmp/work/core2-64-poky-linux/daemontools/0.76/temp/run.do_compile.641586:140 exit 2 from './package/compile'
WARNING: Backtrace (BB generated script): 
	#1: do_compile, TOPDIR/tmp/work/core2-64-poky-linux/daemontools/0.76/temp/run.do_compile.641586, line 140
	#2: main, TOPDIR/tmp/work/core2-64-poky-linux/daemontools/0.76/temp/run.do_compile.641586, line 144

Error details

Submitted on:
13/06/25 19:38
Error type:
Recipe
Task:
do_compile
Recipe:
daemontools
Recipe version:
0.76-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
fedora-41/fedora-41
Branch:
yoe/mut
Commit:
1dbf680b7b7153cdefd357247139337f3c487fac
Build:
#208207
Submitter:
yp-ab-fedora41-vk-1.yocto.io
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/81/builds/740
Similar errors:
1
Open a bug