+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/got-0.48/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/got-0.48/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for got-0.48 --- all-openbsd-compat --- --- all-libexec --- --- all-got --- --- all-tog --- --- all-libexec --- all ===> libexec --- all-got --- all ===> got --- all-openbsd-compat --- all ===> openbsd-compat --- all-tog --- all ===> tog --- all-libexec --- --- all-got-read-blob --- --- all-got-read-commit --- --- all-got-read-object --- --- all-got-read-blob --- all ===> libexec/got-read-blob --- all-openbsd-compat --- --- freezero.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/home/pbulk/build/devel/got/work/got-0.48/openbsd-compat -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/home/pbulk/build/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c freezero.c --- all-libexec --- --- all-got-read-commit --- all ===> libexec/got-read-commit --- all-got-read-object --- all ===> libexec/got-read-object --- all-got-read-blob --- --- got-read-blob.o --- --- all-got --- --- got.o --- --- blame.o --- --- commit_graph.o --- --- got.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/home/pbulk/build/devel/got/work/got-0.48/got/../include -I/home/pbulk/build/devel/got/work/got-0.48/got/../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -I/home/pbulk/build/devel/got/work/got-0.48/got/../openbsd-compat -Wno-pointer-sign -I/home/pbulk/build/devel/got/work/got-0.48/got/../include -I/home/pbulk/build/devel/got/work/got-0.48/got/../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -c got.c --- blame.o --- --- all-tog --- --- tog.o --- --- all-got --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/home/pbulk/build/devel/got/work/got-0.48/got/../include -I/home/pbulk/build/devel/got/work/got-0.48/got/../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -I/home/pbulk/build/devel/got/work/got-0.48/got/../openbsd-compat -Wno-pointer-sign -I/home/pbulk/build/devel/got/work/got-0.48/got/../include -I/home/pbulk/build/devel/got/work/got-0.48/got/../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -c /home/pbulk/build/devel/got/work/got-0.48/got/../lib/blame.c --- commit_graph.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/home/pbulk/build/devel/got/work/got-0.48/got/../include -I/home/pbulk/build/devel/got/work/got-0.48/got/../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -I/home/pbulk/build/devel/got/work/got-0.48/got/../openbsd-compat -Wno-pointer-sign -I/home/pbulk/build/devel/got/work/got-0.48/got/../include -I/home/pbulk/build/devel/got/work/got-0.48/got/../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -c /home/pbulk/build/devel/got/work/got-0.48/got/../lib/commit_graph.c --- all-libexec --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-blob/../../include -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-blob/../../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-blob/../../openbsd-compat -Wno-pointer-sign -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-blob/../../include -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-blob/../../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -c got-read-blob.c --- all-tog --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/home/pbulk/build/devel/got/work/got-0.48/tog/../include -I/home/pbulk/build/devel/got/work/got-0.48/tog/../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -I/home/pbulk/build/devel/got/work/got-0.48/tog/../openbsd-compat -Wno-pointer-sign -I/home/pbulk/build/devel/got/work/got-0.48/tog/../include -I/home/pbulk/build/devel/got/work/got-0.48/tog/../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -c tog.c --- all-libexec --- --- all-got-read-commit --- --- got-read-commit.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-commit/../../include -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-commit/../../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-commit/../../openbsd-compat -Wno-pointer-sign -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-commit/../../include -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-commit/../../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -c got-read-commit.c --- all-got-read-object --- --- got-read-object.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-object/../../include -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-object/../../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-object/../../openbsd-compat -Wno-pointer-sign -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-object/../../include -I/home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-object/../../lib -DGOT_LIBEXECDIR=/opt/pkg/libexec -DGOT_VERSION=0.48 -c got-read-object.c --- all-openbsd-compat --- freezero.c: In function 'freezero': freezero.c:26:2: error: implicit declaration of function 'bzero' [-Werror=implicit-function-declaration] 26 | bzero(ptr, sz); | ^~~~~ freezero.c:26:2: error: incompatible implicit declaration of built-in function 'bzero' [-Werror] cc1: all warnings being treated as errors --- all-got --- --- blame.o --- In file included from /home/pbulk/build/devel/got/work/got-0.48/got/../lib/blame.c:23: /home/pbulk/build/devel/got/work/got-0.48/got/../openbsd-compat/sha1.h:4:10: fatal error: sha.h: No such file or directory 4 | #include <sha.h> | ^~~~~~~ compilation terminated. --- commit_graph.o --- In file included from /home/pbulk/build/devel/got/work/got-0.48/got/../lib/commit_graph.c:26: /home/pbulk/build/devel/got/work/got-0.48/got/../openbsd-compat/sha1.h:4:10: fatal error: sha.h: No such file or directory 4 | #include <sha.h> | ^~~~~~~ compilation terminated. *** [commit_graph.o] Error code 1 bmake[1]: stopped in /home/pbulk/build/devel/got/work/got-0.48/got --- all-openbsd-compat --- *** [freezero.o] Error code 1 bmake[1]: stopped in /home/pbulk/build/devel/got/work/got-0.48/openbsd-compat 1 error bmake[1]: stopped in /home/pbulk/build/devel/got/work/got-0.48/openbsd-compat *** [all-openbsd-compat] Error code 2 bmake: stopped in /home/pbulk/build/devel/got/work/got-0.48 --- all-libexec --- --- all-got-read-blob --- In file included from got-read-blob.c:29: /home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-blob/../../openbsd-compat/sha1.h:4:10: fatal error: sha.h: No such file or directory 4 | #include <sha.h> | ^~~~~~~ compilation terminated. --- all-got --- --- got.o --- got.c:86:7: error: expected ';' before 'static' 86 | __dead static void usage(int, int); | ^~~~~~~ | ; got.c:87:7: error: expected ';' before 'static' 87 | __dead static void usage_init(void); | ^~~~~~~ | ; got.c:88:7: error: expected ';' before 'static' 88 | __dead static void usage_import(void); | ^~~~~~~ | ; got.c:89:7: error: expected ';' before 'static' 89 | __dead static void usage_clone(void); | ^~~~~~~ | ; got.c:90:7: error: expected ';' before 'static' 90 | __dead static void usage_fetch(void); | ^~~~~~~ | ; got.c:91:7: error: expected ';' before 'static' 91 | __dead static void usage_checkout(void); | ^~~~~~~ | ; got.c:92:7: error: expected ';' before 'static' 92 | __dead static void usage_update(void); | ^~~~~~~ | ; got.c:93:7: error: expected ';' before 'static' 93 | __dead static void usage_log(void); | ^~~~~~~ | ; got.c:94:7: error: expected ';' before 'static' 94 | __dead static void usage_diff(void); | ^~~~~~~ | ; got.c:95:7: error: expected ';' before 'static' 95 | __dead static void usage_blame(void); | ^~~~~~~ | ; got.c:96:7: error: expected ';' before 'static' 96 | __dead static void usage_tree(void); | ^~~~~~~ | ; got.c:97:7: error: expected ';' before 'static' 97 | __dead static void usage_status(void); | ^~~~~~~ | ; got.c:98:7: error: expected ';' before 'static' 98 | __dead static void usage_ref(void); | ^~~~~~~ | ; got.c:99:7: error: expected ';' before 'static' 99 | __dead static void usage_branch(void); | ^~~~~~~ | ; got.c:100:7: error: expected ';' before 'static' 100 | __dead static void usage_tag(void); | ^~~~~~~ | ; got.c:101:7: error: expected ';' before 'static' 101 | __dead static void usage_add(void); | ^~~~~~~ | ; got.c:102:7: error: expected ';' before 'static' 102 | __dead static void usage_remove(void); | ^~~~~~~ | ; got.c:103:7: error: expected ';' before 'static' 103 | __dead static void usage_revert(void); | ^~~~~~~ | ; got.c:104:7: error: expected ';' before 'static' 104 | __dead static void usage_commit(void); | ^~~~~~~ | ; got.c:105:7: error: expected ';' before 'static' 105 | __dead static void usage_cherrypick(void); | ^~~~~~~ | ; got.c:106:7: error: expected ';' before 'static' 106 | __dead static void usage_backout(void); | ^~~~~~~ | ; got.c:107:7: error: expected ';' before 'static' 107 | __dead static void usage_rebase(void); | ^~~~~~~ | ; got.c:108:7: error: expected ';' before 'static' 108 | __dead static void usage_histedit(void); | ^~~~~~~ | ; got.c:109:7: error: expected ';' before 'static' 109 | __dead static void usage_integrate(void); | ^~~~~~~ | ; got.c:110:7: error: expected ';' before 'static' 110 | __dead static void usage_stage(void); | ^~~~~~~ | ; got.c:111:7: error: expected ';' before 'static' 111 | __dead static void usage_unstage(void); | ^~~~~~~ | ; got.c:112:7: error: expected ';' before 'static' 112 | __dead static void usage_cat(void); | ^~~~~~~ | ; got.c:113:7: error: expected ';' before 'static' 113 | __dead static void usage_info(void); | ^~~~~~~ | ; --- blame.o --- *** [blame.o] Error code 1 bmake[1]: stopped in /home/pbulk/build/devel/got/work/got-0.48/got --- got.o --- got.c:186:7: error: expected ';' before 'static' 186 | __dead static void | ^~~~~~~ | ; --- all-libexec --- *** [got-read-blob.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-blob 1 error bmake[2]: stopped in /home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-blob *** [all-got-read-blob] Error code 2 bmake[1]: stopped in /home/pbulk/build/devel/got/work/got-0.48/libexec --- all-got --- got.c: In function 'main': got.c:223:2: error: 'optreset' undeclared (first use in this function) 223 | optreset = 1; | ^~~~~~~~ got.c:223:2: note: each undeclared identifier is reported only once for each function it appears in got.c: At top level: got.c:267:7: error: expected ';' before 'static' 267 | __dead static void | ^~~~~~~ | ; got.c: In function 'apply_unveil': got.c:316:19: warning: implicit declaration of function 'unveil' [-Wimplicit-function-declaration] 316 | if (repo_path && unveil(repo_path, repo_read_only ? "r" : "rwc") != 0) | ^~~~~~ got.c: At top level: got.c:335:7: error: expected ';' before 'static' 335 | __dead static void | ^~~~~~~ | ; got.c: In function 'cmd_init': got.c:361:6: warning: implicit declaration of function 'pledge' [-Wimplicit-function-declaration] 361 | if (pledge("stdio rpath wpath cpath unveil", NULL) == -1) | ^~~~~~ got.c: At top level: got.c:388:7: error: expected ';' before 'static' 388 | __dead static void | ^~~~~~~ | ; got.c: In function 'spawn_editor': got.c:400:2: error: unknown type name 'sig_t' 400 | sig_t sighup, sigint, sigquit; | ^~~~~ got.c:403:9: warning: assignment to 'int' from 'void (*)(int)' makes integer from pointer without a cast [-Wint-conversion] 403 | sighup = signal(SIGHUP, SIG_IGN); | ^ got.c:404:9: warning: assignment to 'int' from 'void (*)(int)' makes integer from pointer without a cast [-Wint-conversion] 404 | sigint = signal(SIGINT, SIG_IGN); | ^ got.c:405:10: warning: assignment to 'int' from 'void (*)(int)' makes integer from pointer without a cast [-Wint-conversion] 405 | sigquit = signal(SIGQUIT, SIG_IGN); | ^ got.c:420:23: warning: passing argument 2 of 'signal' makes pointer from integer without a cast [-Wint-conversion] 420 | (void)signal(SIGHUP, sighup); | ^~~~~~ | | | int In file included from /usr/include/signal.h:42, from got.c:31: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ got.c:421:23: warning: passing argument 2 of 'signal' makes pointer from integer without a cast [-Wint-conversion] 421 | (void)signal(SIGINT, sigint); | ^~~~~~ | | | int In file included from /usr/include/signal.h:42, from got.c:31: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ got.c:422:24: warning: passing argument 2 of 'signal' makes pointer from integer without a cast [-Wint-conversion] 422 | (void)signal(SIGQUIT, sigquit); | ^~~~~~~ | | | int In file included from /usr/include/signal.h:42, from got.c:31: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ got.c: At top level: got.c:909:7: error: expected ';' before 'static' 909 | __dead static void | ^~~~~~~ | ; In file included from got.c:41: got.c: In function 'fetch_progress': /home/pbulk/build/devel/got/work/got-0.48/got/../openbsd-compat/util.h:15:10: warning: implicit declaration of function 'humanize_number' [-Wimplicit-function-declaration] 15 | int r = humanize_number(result, \ | ^~~~~~~~~~~~~~~ got.c:991:7: note: in expansion of macro 'fmt_scaled' 991 | if (fmt_scaled(packfile_size, scaled_size) == 0 && | ^~~~~~~~~~ /home/pbulk/build/devel/got/work/got-0.48/got/../openbsd-compat/util.h:17:15: error: 'HN_AUTOSCALE' undeclared (first use in this function) 17 | num, "", HN_AUTOSCALE, HN_NOSPACE | HN_B); \ | ^~~~~~~~~~~~ got.c:991:7: note: in expansion of macro 'fmt_scaled' 991 | if (fmt_scaled(packfile_size, scaled_size) == 0 && | ^~~~~~~~~~ /home/pbulk/build/devel/got/work/got-0.48/got/../openbsd-compat/util.h:17:29: error: 'HN_NOSPACE' undeclared (first use in this function) 17 | num, "", HN_AUTOSCALE, HN_NOSPACE | HN_B); \ | ^~~~~~~~~~ got.c:991:7: note: in expansion of macro 'fmt_scaled' 991 | if (fmt_scaled(packfile_size, scaled_size) == 0 && | ^~~~~~~~~~ /home/pbulk/build/devel/got/work/got-0.48/got/../openbsd-compat/util.h:17:42: error: 'HN_B' undeclared (first use in this function) 17 | num, "", HN_AUTOSCALE, HN_NOSPACE | HN_B); \ | ^~~~ got.c:991:7: note: in expansion of macro 'fmt_scaled' 991 | if (fmt_scaled(packfile_size, scaled_size) == 0 && | ^~~~~~~~~~ --- all-libexec --- --- all-got-read-object --- In file included from got-read-object.c:29: /home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-object/../../openbsd-compat/sha1.h:4:10: fatal error: sha.h: No such file or directory 4 | #include <sha.h> | ^~~~~~~ compilation terminated. --- all-got --- got.c: At top level: --- all-libexec --- *** [got-read-object.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-object 1 error bmake[2]: stopped in /home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-object --- all-got --- got.c:1944:7: error: expected ';' before 'static' 1944 | __dead static void | ^~~~~~~ | ; --- all-libexec --- *** [all-got-read-object] Error code 2 bmake[1]: stopped in /home/pbulk/build/devel/got/work/got-0.48/libexec --- all-got-read-commit --- In file included from got-read-commit.c:29: /home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-commit/../../openbsd-compat/sha1.h:4:10: fatal error: sha.h: No such file or directory 4 | #include <sha.h> | ^~~~~~~ compilation terminated. --- all-got --- got.c:2546:7: error: expected ';' before 'static' 2546 | __dead static void | ^~~~~~~ | ; got.c:2954:7: error: expected ';' before 'static' 2954 | __dead static void | ^~~~~~~ | ; --- all-libexec --- *** [got-read-commit.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-commit 1 error bmake[2]: stopped in /home/pbulk/build/devel/got/work/got-0.48/libexec/got-read-commit --- all-got --- got.c: In function 'get_datestr': got.c:3478:6: error: too few arguments to function 'asctime_r' 3478 | s = asctime_r(tm, datebuf); | ^~~~~~~~~ In file included from /usr/include/sys/time.h:490, from /usr/include/sys/select.h:53, from /usr/include/sys/types.h:662, from got.c:20: /usr/include/time.h:280:14: note: declared here 280 | extern char *asctime_r(const struct tm *, char *, int); | ^~~~~~~~~ got.c: At top level: got.c:3831:7: error: expected ';' before 'static' 3831 | __dead static void | ^~~~~~~ | ; got.c:4070:7: error: expected ';' before 'static' 4070 | __dead static void | ^~~~~~~ | ; --- all-libexec --- *** [all-got-read-commit] Error code 2 bmake[1]: stopped in /home/pbulk/build/devel/got/work/got-0.48/libexec 3 errors bmake[1]: stopped in /home/pbulk/build/devel/got/work/got-0.48/libexec *** [all-libexec] Error code 2 bmake: stopped in /home/pbulk/build/devel/got/work/got-0.48 --- all-got --- got.c:4501:7: error: expected ';' before 'static' 4501 | __dead static void | ^~~~~~~ | ; --- all-tog --- tog.c:82:7: error: expected ';' before 'static' 82 | __dead static void usage(int, int); | ^~~~~~~ | ; tog.c:83:7: error: expected ';' before 'static' 83 | __dead static void usage_log(void); | ^~~~~~~ | ; tog.c:84:7: error: expected ';' before 'static' 84 | __dead static void usage_diff(void); | ^~~~~~~ | ; tog.c:85:7: error: expected ';' before 'static' 85 | __dead static void usage_blame(void); | ^~~~~~~ | ; tog.c:86:7: error: expected ';' before 'static' 86 | __dead static void usage_tree(void); | ^~~~~~~ | ; tog.c:87:7: error: expected ';' before 'static' 87 | __dead static void usage_ref(void); | ^~~~~~~ | ; tog.c: In function 'tog_resizeterm': tog.c:773:17: error: storage size of 'size' isn't known 773 | struct winsize size; | ^~~~ --- all-got --- got.c:4841:7: error: expected ';' before 'static' 4841 | __dead static void | ^~~~~~~ | ; got.c:5118:7: error: expected ';' before 'static' 5118 | __dead static void | ^~~~~~~ | ; --- all-tog --- tog.c:775:27: error: 'TIOCGWINSZ' undeclared (first use in this function) 775 | if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &size) < 0) { | ^~~~~~~~~~ tog.c:775:27: note: each undeclared identifier is reported only once for each function it appears in tog.c: In function 'view_input': tog.c:848:3: warning: implicit declaration of function 'pthread_yield'; did you mean 'pthread_self'? [-Wimplicit-function-declaration] 848 | pthread_yield(); | ^~~~~~~~~~~~~ | pthread_self tog.c: At top level: tog.c:1126:7: error: expected ';' before 'static' 1126 | __dead static void | ^~~~~~~ | ; --- all-got --- got.c:5236:7: error: expected ';' before 'static' 5236 | __dead static void | ^~~~~~~ | ; got.c:5508:7: error: expected ';' before 'static' 5508 | __dead static void | ^~~~~~~ | ; got.c:5883:7: error: expected ';' before 'static' 5883 | __dead static void | ^~~~~~~ | ; --- all-tog --- tog.c: In function 'stop_log_thread': tog.c:2115:13: warning: assignment to 'pthread_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 2115 | s->thread = NULL; | ^ tog.c: In function 'show_log_view': --- all-got --- got.c:6389:7: error: expected ';' before 'static' 6389 | __dead static void | ^~~~~~~ | ; --- all-tog --- tog.c:2383:16: warning: comparison between pointer and integer 2383 | if (s->thread == NULL) { | ^~ tog.c: In function 'apply_unveil': tog.c:2619:19: warning: implicit declaration of function 'unveil' [-Wimplicit-function-declaration] 2619 | if (repo_path && unveil(repo_path, "r") != 0) | ^~~~~~ --- all-got --- got.c:6521:7: error: expected ';' before 'static' 6521 | __dead static void | ^~~~~~~ | ; got.c:6670:7: error: expected ';' before 'static' 6670 | __dead static void | ^~~~~~~ | ; --- all-tog --- tog.c: At top level: tog.c:2822:7: error: expected ';' before 'static' 2822 | __dead static void | ^~~~~~~ | ; tog.c: In function 'get_datestr': tog.c:3041:6: error: too few arguments to function 'asctime_r' 3041 | s = asctime_r(tm, datebuf); | ^~~~~~~~~ In file included from /usr/include/sys/time.h:490, from /usr/include/sys/select.h:53, from /usr/include/sys/types.h:662, from /usr/include/sys/stat.h:35, from tog.c:18: /usr/include/time.h:280:14: note: declared here 280 | extern char *asctime_r(const struct tm *, char *, int); | ^~~~~~~~~ --- all-got --- got.c:6929:7: error: expected ';' before 'static' 6929 | __dead static void | ^~~~~~~ | ; got.c: In function 'collect_commit_logmsg': got.c:6990:3: warning: implicit declaration of function 'dprintf'; did you mean 'vprintf'? [-Wimplicit-function-declaration] 6990 | dprintf(fd, "# %c %s\n", | ^~~~~~~ | vprintf --- all-tog --- tog.c: At top level: tog.c:3877:7: error: expected ';' before 'static' 3877 | __dead static void | ^~~~~~~ | ; tog.c: In function 'stop_blame': tog.c:4167:17: warning: assignment to 'pthread_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 4167 | blame->thread = NULL; | ^ tog.c: In function 'show_blame_view': tog.c:4453:22: warning: comparison between pointer and integer 4453 | if (s->blame.thread == NULL && !s->blame_complete) { | ^~ --- all-got --- got.c: At top level: got.c:7153:7: error: expected ';' before 'static' 7153 | __dead static void | ^~~~~~~ | ; got.c:7276:7: error: expected ';' before 'static' 7276 | __dead static void | ^~~~~~~ | ; got.c:7396:7: error: expected ';' before 'static' 7396 | __dead static void | ^~~~~~~ | ; got.c:7964:7: error: expected ';' before 'static' 7964 | __dead static void | ^~~~~~~ | ; --- all-tog --- tog.c: At top level: tog.c:5475:7: error: expected ';' before 'static' 5475 | __dead static void | ^~~~~~~ | ; tog.c:6207:7: error: expected ';' before 'static' 6207 | __dead static void | ^~~~~~~ | ; tog.c:6316:7: error: expected ';' before 'static' 6316 | __dead static void | ^~~~~~~ | ; --- all-got --- got.c:9223:7: error: expected ';' before 'static' 9223 | __dead static void | ^~~~~~~ | ; got.c:9363:7: error: expected ';' before 'static' 9363 | __dead static void | ^~~~~~~ | ; --- all-tog --- tog.c: In function 'main': tog.c:6483:2: error: 'optreset' undeclared (first use in this function) 6483 | optreset = 1; | ^~~~~~~~ --- all-got --- got.c:9509:7: error: expected ';' before 'static' 9509 | __dead static void | ^~~~~~~ | ; --- all-tog --- tog.c:6491:6: warning: implicit declaration of function 'pledge' [-Wimplicit-function-declaration] 6491 | if (pledge("stdio rpath wpath cpath flock proc tty exec sendfd unveil", | ^~~~~~ --- all-got --- got.c:9619:7: error: expected ';' before 'static' 9619 | __dead static void | ^~~~~~~ | ; got.c:9929:7: error: expected ';' before 'static' 9929 | __dead static void | ^~~~~~~ | ; --- all-tog --- *** [tog.o] Error code 1 bmake[1]: stopped in /home/pbulk/build/devel/got/work/got-0.48/tog 1 error bmake[1]: stopped in /home/pbulk/build/devel/got/work/got-0.48/tog *** [all-tog] Error code 2 bmake: stopped in /home/pbulk/build/devel/got/work/got-0.48 --- all-got --- *** [got.o] Error code 1 bmake[1]: stopped in /home/pbulk/build/devel/got/work/got-0.48/got 3 errors bmake[1]: stopped in /home/pbulk/build/devel/got/work/got-0.48/got *** [all-got] Error code 2 bmake: stopped in /home/pbulk/build/devel/got/work/got-0.48 4 errors bmake: stopped in /home/pbulk/build/devel/got/work/got-0.48 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/got *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/got