=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/dq", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for dq-20240101 --- dq.o --- --- alloc.o --- --- base32decode.o --- --- blocking.o --- --- dq.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -fno-strict-overflow -fwrapv -Wno-parentheses -Wundef -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wdeclaration-after-statement -Wshadow -Wno-unused-function -Wno-overlength-strings -Wno-long-long -Wall -pedantic -c dq.c --- alloc.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -fno-strict-overflow -fwrapv -Wno-parentheses -Wundef -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wdeclaration-after-statement -Wshadow -Wno-unused-function -Wno-overlength-strings -Wno-long-long -Wall -pedantic -c alloc.c --- base32decode.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -fno-strict-overflow -fwrapv -Wno-parentheses -Wundef -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wdeclaration-after-statement -Wshadow -Wno-unused-function -Wno-overlength-strings -Wno-long-long -Wall -pedantic -c base32decode.c --- blocking.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -fno-strict-overflow -fwrapv -Wno-parentheses -Wundef -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wdeclaration-after-statement -Wshadow -Wno-unused-function -Wno-overlength-strings -Wno-long-long -Wall -pedantic -c blocking.c --- buffer_2.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -fno-strict-overflow -fwrapv -Wno-parentheses -Wundef -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wdeclaration-after-statement -Wshadow -Wno-unused-function -Wno-overlength-strings -Wno-long-long -Wall -pedantic -c buffer_2.c --- buffer.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -fno-strict-overflow -fwrapv -Wno-parentheses -Wundef -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wdeclaration-after-statement -Wshadow -Wno-unused-function -Wno-overlength-strings -Wno-long-long -Wall -pedantic -c buffer.c --- buffer_2.o --- In file included from buffer_2.c:1: buffer.h:12:64: error: initialization of 'long long int (*)(void)' from incompatible pointer type 'long long int (*)(int, const char *, long long int)' [-Wincompatible-pointer-types] 12 | #define BUFFER_INIT(op, fd, buf, len) { (buf), 0, (len), (fd), (op) } | ^ buffer_2.c:4:20: note: in expansion of macro 'BUFFER_INIT' 4 | static buffer it = BUFFER_INIT(buffer_unixwrite, 2, buffer_2_space, sizeof buffer_2_space); | ^~~~~~~~~~~ buffer.h:12:64: note: (near initialization for 'it.op') 12 | #define BUFFER_INIT(op, fd, buf, len) { (buf), 0, (len), (fd), (op) } | ^ buffer_2.c:4:20: note: in expansion of macro 'BUFFER_INIT' 4 | static buffer it = BUFFER_INIT(buffer_unixwrite, 2, buffer_2_space, sizeof buffer_2_space); | ^~~~~~~~~~~ buffer.h:52:18: note: 'buffer_unixwrite' declared here 52 | extern long long buffer_unixwrite(int, const char *, long long); | ^~~~~~~~~~~~~~~~ --- buffer_put.o --- --- buffer_2.o --- *** [buffer_2.o] Error code 1 bmake: stopped making "all" in /tmp/work/net/dq/work/dq-20240101 --- buffer_put.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -fno-strict-overflow -fwrapv -Wno-parentheses -Wundef -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wdeclaration-after-statement -Wshadow -Wno-unused-function -Wno-overlength-strings -Wno-long-long -Wall -pedantic -c buffer_put.c buffer_put.c: In function 'buffer_flush': buffer_put.c:34:22: error: passing argument 1 of 'allwrite' from incompatible pointer type [-Wincompatible-pointer-types] 34 | return allwrite(s->op, s->fd, s->x, p); | ~^~~~ | | | long long int (*)(void) buffer_put.c:6:33: note: expected 'long long int (*)(int, const char *, long long int)' but argument is of type 'long long int (*)(void)' 6 | static int allwrite(long long (*op)(int, const char *, long long), int fd, const char *buf, long long len) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buffer_put.c: In function 'buffer_put': buffer_put.c:68:27: error: passing argument 1 of 'allwrite' from incompatible pointer type [-Wincompatible-pointer-types] 68 | if (allwrite(s->op, s->fd, buf, n) == -1) return -1; | ~^~~~ | | | long long int (*)(void) buffer_put.c:6:33: note: expected 'long long int (*)(int, const char *, long long int)' but argument is of type 'long long int (*)(void)' 6 | static int allwrite(long long (*op)(int, const char *, long long), int fd, const char *buf, long long len) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buffer_put.c: In function 'buffer_putflush': buffer_put.c:81:22: error: passing argument 1 of 'allwrite' from incompatible pointer type [-Wincompatible-pointer-types] 81 | return allwrite(s->op, s->fd, buf, len); | ~^~~~ | | | long long int (*)(void) buffer_put.c:6:33: note: expected 'long long int (*)(int, const char *, long long int)' but argument is of type 'long long int (*)(void)' 6 | static int allwrite(long long (*op)(int, const char *, long long), int fd, const char *buf, long long len) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [buffer_put.o] Error code 1 bmake: stopped making "all" in /tmp/work/net/dq/work/dq-20240101 bmake: 2 errors bmake: stopped making "all" in /tmp/work/net/dq/work/dq-20240101 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dq *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dq