+ 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/newsraft-0.31/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/newsraft-0.31/work.log ===> Building for newsraft-0.31 --- newsraft --- cc -std=c99 -O3 `pkg-config --cflags libcurl 2>/dev/null` `pkg-config --cflags expat 2>/dev/null` `pkg-config --cflags gumbo 2>/dev/null` `pkg-config --cflags sqlite3 2>/dev/null` -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -Isrc -o newsraft src/newsraft.c `pkg-config --libs libcurl 2>/dev/null || echo '-lcurl'` `pkg-config --libs expat 2>/dev/null || echo '-lexpat'` `pkg-config --libs gumbo 2>/dev/null || echo '-lgumbo'` `pkg-config --libs sqlite3 2>/dev/null || echo '-lsqlite3'` -lpthread In file included from src/curses.c:3, from src/newsraft.c:9: src/termbox2.h: In function 'init_term_attrs': src/termbox2.h:2146:5: warning: implicit declaration of function 'cfmakeraw' [-Wimplicit-function-declaration] 2146 | cfmakeraw(&tios); | ^~~~~~~~~ src/termbox2.h: In function 'update_term_size': src/termbox2.h:2339:20: error: storage size of 'sz' isn't known 2339 | struct winsize sz; | ^~ src/termbox2.h:2343:9: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] 2343 | if (ioctl(global.ttyfd, TIOCGWINSZ, &sz) == 0) { | ^~~~~ src/termbox2.h:2343:29: error: 'TIOCGWINSZ' undeclared (first use in this function) 2343 | if (ioctl(global.ttyfd, TIOCGWINSZ, &sz) == 0) { | ^~~~~~~~~~ src/termbox2.h:2343:29: note: each undeclared identifier is reported only once for each function it appears in In file included from src/newsraft.c:38: src/load_config/config-parse.c: In function 'parse_config_file': src/load_config/config-parse.c:165:28: warning: implicit declaration of function 'getline' [-Wimplicit-function-declaration] 165 | for (ssize_t len = getline(&line, &size, f); len >= 0; len = getline(&line, &size, f)) { | ^~~~~~~ src/load_config/config-parse.c:165:9: error: declaration of non-variable 'getline' in 'for' loop initial declaration 165 | for (ssize_t len = getline(&line, &size, f); len >= 0; len = getline(&line, &size, f)) { | ^~~ *** [newsraft] Error code 1 bmake: stopped making "all" in /home/pbulk/build/news/newsraft/work/newsraft bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/news/newsraft/work/newsraft *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/news/newsraft *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/news/newsraft