=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/daemontools-encore", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for daemontools-encore-1.11nb2 --- dosubst --- --- systype --- --- dosubst --- cat warn-auto.sh > dosubst --- systype --- sh find-systype.sh > systype --- dosubst --- echo "sed -e 's}@SUPERVISEDIR@}supervise}g'" >> dosubst chmod 755 dosubst --- choose --- rm -f choose cat warn-auto.sh choose.sh > choose chmod 555 choose --- conf_supervise.c --- echo 'const char conf_supervise[] = "'`head -n 1 conf-supervise`'";' >conf_supervise.c --- svscanboot --- cat warn-auto.sh svscanboot.sh > svscanboot chmod 755 svscanboot --- supervise.8 --- ./dosubst supervise.8 --- svc.8 --- ./dosubst svc.8 --- svok.8 --- ./dosubst svok.8 --- svstat.8 --- ./dosubst svstat.8 --- svup.8 --- ./dosubst svup.8 --- compile --- --- load --- --- compile --- rm -f compile --- load --- rm -f load --- compile --- sh print-cc.sh > compile --- load --- sh print-ld.sh > load --- compile --- chmod 555 compile --- load --- chmod 555 load --- makelib --- rm -f makelib --- alloc.o --- --- makelib --- sh print-ar.sh > makelib --- alloc.o --- ./compile alloc.c --- makelib --- chmod 555 makelib --- alloc_re.o --- ./compile alloc_re.c --- buffer.o --- ./compile buffer.c --- buffer_0.o --- ./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; | ^~~~~~~~~~~~~ --- buffer_1.o --- ./compile buffer_1.c --- buffer_2.o --- ./compile buffer_2.c --- buffer_1.o --- 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:55:12: note: 'buffer_unixwrite' declared here 55 | extern int buffer_unixwrite(int,const char *,unsigned int); | ^~~~~~~~~~~~~~~~ *** [buffer_1.o] Error code 1 bmake: stopped making "it" in /tmp/work/sysutils/daemontools-encore/work/daemontools-encore-1.11 --- buffer_2.o --- In file included from buffer_2.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_2.c:6:20: note: in expansion of macro 'BUFFER_INIT' 6 | static buffer it = BUFFER_INIT(buffer_unixwrite,2,buffer_2_space,sizeof buffer_2_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_2.c:6:20: note: in expansion of macro 'BUFFER_INIT' 6 | static buffer it = BUFFER_INIT(buffer_unixwrite,2,buffer_2_space,sizeof buffer_2_space); | ^~~~~~~~~~~ buffer.h:55:12: note: 'buffer_unixwrite' declared here 55 | extern int buffer_unixwrite(int,const char *,unsigned int); | ^~~~~~~~~~~~~~~~ *** [buffer_2.o] Error code 1 bmake: stopped making "it" in /tmp/work/sysutils/daemontools-encore/work/daemontools-encore-1.11 bmake: 2 errors bmake: stopped making "it" in /tmp/work/sysutils/daemontools-encore/work/daemontools-encore-1.11 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/daemontools-encore *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/daemontools-encore