+ 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/sc-7.16_1.1.2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sc-7.16_1.1.2/work.log ===> Building for sc-7.16_1.1.2 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DHAVE_STRLCPY -DHAVE_STRLCAT -DHAVE_ATTR_T -DHAVE_ATTR_GET -DHAVE_FIXTERM -DHAVE_RESETTERM -DHAVE_CURSES_WCH -DHAVE_CURSES_KEYNAME -DHAVE_ISFINITE -DNO_ATTR_GET -DDFLT_PAGER=\"less\" -c abbrev.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DHAVE_STRLCPY -DHAVE_STRLCAT -DHAVE_ATTR_T -DHAVE_ATTR_GET -DHAVE_FIXTERM -DHAVE_RESETTERM -DHAVE_CURSES_WCH -DHAVE_CURSES_KEYNAME -DHAVE_ISFINITE -DNO_ATTR_GET -c cmds.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DHAVE_STRLCPY -DHAVE_STRLCAT -DHAVE_ATTR_T -DHAVE_ATTR_GET -DHAVE_FIXTERM -DHAVE_RESETTERM -DHAVE_CURSES_WCH -DHAVE_CURSES_KEYNAME -DHAVE_ISFINITE -DNO_ATTR_GET -c color.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DHAVE_STRLCPY -DHAVE_STRLCAT -DHAVE_ATTR_T -DHAVE_ATTR_GET -DHAVE_FIXTERM -DHAVE_RESETTERM -DHAVE_CURSES_WCH -DHAVE_CURSES_KEYNAME -DHAVE_ISFINITE -DNO_ATTR_GET -c crypt.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DHAVE_STRLCPY -DHAVE_STRLCAT -DHAVE_ATTR_T -DHAVE_ATTR_GET -DHAVE_FIXTERM -DHAVE_RESETTERM -DHAVE_CURSES_WCH -DHAVE_CURSES_KEYNAME -DHAVE_ISFINITE -DNO_ATTR_GET -c format.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DHAVE_STRLCPY -DHAVE_STRLCAT -DHAVE_ATTR_T -DHAVE_ATTR_GET -DHAVE_FIXTERM -DHAVE_RESETTERM -DHAVE_CURSES_WCH -DHAVE_CURSES_KEYNAME -DHAVE_ISFINITE -DNO_ATTR_GET -c frame.c yacc -d gram.y mv y.tab.c gram.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DHAVE_STRLCPY -DHAVE_STRLCAT -DHAVE_ATTR_T -DHAVE_ATTR_GET -DHAVE_FIXTERM -DHAVE_RESETTERM -DHAVE_CURSES_WCH -DHAVE_CURSES_KEYNAME -DHAVE_ISFINITE -DNO_ATTR_GET -DUSELOCALE -c gram.c gram.y: In function 'yyparse': gram.y:378:41: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 378 | if (strlen($4)) | ^~~~~~ gram.y:31:1: note: include '' or provide a declaration of 'strlen' 30 | #include "sc.h" +++ |+#include 31 | gram.y:378:41: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 378 | if (strlen($4)) | ^~~~~~ gram.y:378:41: note: include '' or provide a declaration of 'strlen' gram.y:401:39: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 401 | if (strlen($2)) | ^~~~~~ gram.y:31:1: note: include '' or provide a declaration of 'strlen' 30 | #include "sc.h" +++ |+#include 31 | gram.y:406:39: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 406 | if (strlen($2)) | ^~~~~~ gram.y:31:1: note: include '' or provide a declaration of 'strlen' 30 | #include "sc.h" +++ |+#include 31 | gram.y:415:41: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 415 | if (strlen($4)) | ^~~~~~ gram.y:31:1: note: include '' or provide a declaration of 'strlen' 30 | #include "sc.h" +++ |+#include 31 | gram.y:422:50: error: implicit declaration of function 'strlcpy' [-Wimplicit-function-declaration] 422 | | S_HISTFILE strarg { strlcpy(histfile, $2, sizeof histfile); | ^~~~~~~ gram.y:887:47: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 887 | l = strlen(line); | ^~~~~~ gram.y:31:1: note: include '' or provide a declaration of 'strlen' 30 | #include "sc.h" +++ |+#include 31 | gram.y:895:47: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 895 | l = strlen(line); | ^~~~~~ gram.y:31:1: note: include '' or provide a declaration of 'strlen' 30 | #include "sc.h" +++ |+#include 31 | gram.y:1011:67: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1011 | if (*($2 + strlen($2) - 1) != '&') { | ^~~~~~ gram.y:31:1: note: include '' or provide a declaration of 'strlen' 30 | #include "sc.h" +++ |+#include 31 | gram.y:1255:41: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1255 | l = strlen(s1) + 1; | ^~~~~~ gram.y:31:1: note: include '' or provide a declaration of 'strlen' 30 | #include "sc.h" +++ |+#include 31 | *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/math/sc/work/sc-7.16_1.1.2 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/sc *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/sc