+ 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/smalltalk-3.2.5nb45/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/smalltalk-3.2.5nb45/work.log ===> Building for smalltalk-3.2.5nb45 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/lang/smalltalk/work/smalltalk-3.2.5' Making all in lib-src gmake[2]: Entering directory '/home/pbulk/build/lang/smalltalk/work/smalltalk-3.2.5/lib-src' /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DUSE_INTERP_RESULT -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -D_REENTRANT -I/opt/pkg/lib/../include -I/opt/pkg/lib/../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -Wall -Wdeclaration-after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign -Wno-switch -Wwrite-strings -Wno-strict-aliasing -fno-gcse -fstrict-aliasing -MT getopt.lo -MD -MP -MF .deps/getopt.Tpo -c -o getopt.lo getopt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DUSE_INTERP_RESULT -I/home/pbulk/build/lang/smalltalk/work/.buildlink/include -I/home/pbulk/build/lang/smalltalk/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/lang/smalltalk/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/lang/smalltalk/work/.buildlink/lib/glib-2.0/include -I/home/pbulk/build/lang/smalltalk/work/.buildlink/include/freetype2 -I/home/pbulk/build/lang/smalltalk/work/.buildlink/include/ncurses -I/home/pbulk/build/lang/smalltalk/work/.buildlink/include/harfbuzz -I/home/pbulk/build/lang/smalltalk/work/.buildlink/include/libdrm -D_REENTRANT -I/home/pbulk/build/lang/smalltalk/work/.buildlink/lib/../include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Wdeclaration-after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign -Wno-switch -Wwrite-strings -Wno-strict-aliasing -fno-gcse -fstrict-aliasing -MT getopt.lo -MD -MP -MF .deps/getopt.Tpo -c getopt.c -fPIC -DPIC -o .libs/getopt.o getopt.c: In function '_getopt_internal': getopt.c:576:30: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 576 | if (optind != argc && !strcmp (argv[optind], "--")) | ^~~~~~ getopt.c:108:1: note: include '' or provide a declaration of 'strcmp' 107 | #include "getopt.h" +++ |+#include 108 | getopt.c:652:50: warning: 'strncmp' argument 3 type is 'long int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 652 | if (!strncmp (p->name, nextchar, nameend - nextchar)) | ~~~~~~~~^~~~~~~~~~ getopt.c:211:12: note: built-in 'strncmp' declared here 211 | extern int strncmp (); | ^~~~~~~ getopt.c:655:35: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 655 | == (unsigned int) strlen (p->name)) | ^~~~~~ getopt.c:655:35: note: include '' or provide a declaration of 'strlen' getopt.c:655:35: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] getopt.c:655:35: note: include '' or provide a declaration of 'strlen' getopt.c:679:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 679 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:679:23: note: include '' or provide a declaration of 'strlen' getopt.c:697:22: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 697 | if (opterr) | ^ getopt.c:709:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 709 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:709:31: note: include '' or provide a declaration of 'strlen' getopt.c:725:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 725 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:725:31: note: include '' or provide a declaration of 'strlen' getopt.c:730:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 730 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:730:23: note: include '' or provide a declaration of 'strlen' getopt.c:839:52: warning: 'strncmp' argument 3 type is 'long int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 839 | if (!strncmp (p->name, nextchar, nameend - nextchar)) | ~~~~~~~~^~~~~~~~~~ getopt.c:211:12: note: built-in 'strncmp' declared here 211 | extern int strncmp (); | ^~~~~~~ getopt.c:841:58: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 841 | if ((unsigned int) (nameend - nextchar) == strlen (p->name)) | ^~~~~~ getopt.c:841:58: note: include '' or provide a declaration of 'strlen' getopt.c:864:25: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 864 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:864:25: note: include '' or provide a declaration of 'strlen' getopt.c:884:33: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 884 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:884:33: note: include '' or provide a declaration of 'strlen' getopt.c:898:33: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 898 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:898:33: note: include '' or provide a declaration of 'strlen' getopt.c:902:25: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 902 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:902:25: note: include '' or provide a declaration of 'strlen' gmake[2]: *** [Makefile:491: getopt.lo] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/lang/smalltalk/work/smalltalk-3.2.5/lib-src' gmake[1]: *** [Makefile:970: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/lang/smalltalk/work/smalltalk-3.2.5' gmake: *** [Makefile:584: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/smalltalk *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/smalltalk