=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/mail/cue", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for cue-20180813 --- cue.o --- --- file.o --- --- disp.o --- --- cue.o --- gcc -I/opt/pkg/include -DCUE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE__SETBUFEND=1 -DHAVE__FINDIOP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_ASPRINTF=1 -DUSE_ZLIB=1 -DMALIAS=1 -Du_int8_t=uint8_t -I/opt/pkg/include -c cue.c -o cue.o --- disp.o --- gcc -I/opt/pkg/include -DCUE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE__SETBUFEND=1 -DHAVE__FINDIOP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_ASPRINTF=1 -DUSE_ZLIB=1 -DMALIAS=1 -Du_int8_t=uint8_t -I/opt/pkg/include -c disp.c -o disp.o --- file.o --- gcc -I/opt/pkg/include -DCUE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE__SETBUFEND=1 -DHAVE__FINDIOP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_ASPRINTF=1 -DUSE_ZLIB=1 -DMALIAS=1 -Du_int8_t=uint8_t -I/opt/pkg/include -c file.c -o file.o In file included from cue.h:35, from file.c:39: curses.h:84:13: error: 'bool' cannot be defined via 'typedef' 84 | typedef int bool; | ^~~~ curses.h:84:13: note: 'bool' is a keyword with '-std=c23' onwards curses.h:84:1: warning: useless type name in empty declaration 84 | typedef int bool; | ^~~~~~~ --- cue.o --- In file included from cue.h:35, from cue.c:38: curses.h:84:13: error: 'bool' cannot be defined via 'typedef' 84 | typedef int bool; | ^~~~ curses.h:84:13: note: 'bool' is a keyword with '-std=c23' onwards curses.h:84:1: warning: useless type name in empty declaration 84 | typedef int bool; | ^~~~~~~ --- file.o --- file.c: In function 'fdb_open': file.c:186:28: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(int, struct stat *)' [-Wincompatible-pointer-types] 186 | func_fstat = fstat; | ^ In file included from /usr/include/sys/stat.h:517, from file.c:32: /usr/include/sys/stat_impl.h:45:12: note: 'fstat' declared here 45 | extern int fstat(int, struct stat *); | ^~~~~ file.c:187:28: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(int)' [-Wincompatible-pointer-types] 187 | func_close = close; | ^ In file included from file.c:35: /usr/include/unistd.h:256:12: note: 'close' declared here 256 | extern int close(int); | ^~~~~ file.c:193:27: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, int)' [-Wincompatible-pointer-types] 193 | func_read = tar_read; | ^ In file included from file.c:40: tarfile.h:105:5: note: 'tar_read' declared here 105 | int tar_read(int fd, char *buf, int size); | ^~~~~~~~ file.c:194:28: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(int, struct stat *)' [-Wincompatible-pointer-types] 194 | func_fstat = tar_fstat; | ^ tarfile.h:104:5: note: 'tar_fstat' declared here 104 | int tar_fstat(int fd, struct stat *stbuf); | ^~~~~~~~~ file.c:195:28: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(int)' [-Wincompatible-pointer-types] 195 | func_close = tar_close; | ^ tarfile.h:106:5: note: 'tar_close' declared here 106 | int tar_close(int fd); | ^~~~~~~~~ file.c:197:13: error: too many arguments to function 'func_fstat'; expected 0, have 2 197 | if (func_fstat(fd, &stbuf) < 0 || stbuf.st_size == 0) { | ^~~~~~~~~~ ~~ file.c:198:17: error: too many arguments to function 'func_close'; expected 0, have 1 198 | func_close(fd); | ^~~~~~~~~~ ~~ file.c:209:25: error: too many arguments to function 'func_close'; expected 0, have 1 209 | func_close(fd); | ^~~~~~~~~~ ~~ file.c:215:23: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 215 | if (func_read == tar_read) | ^~ file.c:220:21: error: too many arguments to function 'func_read'; expected 0, have 3 220 | && func_read(fd, fdb->mmap.ptr, stbuf.st_size) == stbuf.st_size) { | ^~~~~~~~~ ~~ file.c:231:9: error: too many arguments to function 'func_close'; expected 0, have 1 231 | func_close(fd); | ^~~~~~~~~~ ~~ --- disp.o --- In file included from cue.h:35, from disp.c:43: curses.h:84:13: error: 'bool' cannot be defined via 'typedef' 84 | typedef int bool; | ^~~~ curses.h:84:13: note: 'bool' is a keyword with '-std=c23' onwards curses.h:84:1: warning: useless type name in empty declaration 84 | typedef int bool; | ^~~~~~~ --- file.o --- *** [file.o] Error code 1 bmake: stopped making "all" in /tmp/work/mail/cue/work/cue-snap-20180813 --- cue.o --- *** [cue.o] Error code 1 bmake: stopped making "all" in /tmp/work/mail/cue/work/cue-snap-20180813 --- disp.o --- *** [disp.o] Error code 1 bmake: stopped making "all" in /tmp/work/mail/cue/work/cue-snap-20180813 bmake: 3 errors bmake: stopped making "all" in /tmp/work/mail/cue/work/cue-snap-20180813 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/cue *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/cue