=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/games/gnugo", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for gnugo-3.8nb1 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/tmp/work/games/gnugo/work/gnugo-3.8' Making all in utils gmake[2]: Entering directory '/tmp/work/games/gnugo/work/gnugo-3.8/utils' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \ then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; \ then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f ".deps/getopt1.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -MT random.o -MD -MP -MF ".deps/random.Tpo" -c -o random.o random.c; \ then mv -f ".deps/random.Tpo" ".deps/random.Po"; else rm -f ".deps/random.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -MT gg_utils.o -MD -MP -MF ".deps/gg_utils.Tpo" -c -o gg_utils.o gg_utils.c; \ then mv -f ".deps/gg_utils.Tpo" ".deps/gg_utils.Po"; else rm -f ".deps/gg_utils.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -MT winsocket.o -MD -MP -MF ".deps/winsocket.Tpo" -c -o winsocket.o winsocket.c; \ then mv -f ".deps/winsocket.Tpo" ".deps/winsocket.Po"; else rm -f ".deps/winsocket.Tpo"; exit 1; fi getopt.c: In function 'my_index': getopt.c:206:1: warning: old-style function definition [-Wold-style-definition] 206 | my_index (str, chr) | ^~~~~~~~ getopt.c: In function 'exchange': getopt.c:296:1: warning: old-style function definition [-Wold-style-definition] 296 | exchange (argv) | ^~~~~~~~ getopt.c: In function '_getopt_initialize': getopt.c:381:1: warning: old-style function definition [-Wold-style-definition] 381 | _getopt_initialize (argc, argv, optstring) | ^~~~~~~~~~~~~~~~~~ getopt.c:394:21: error: too many arguments to function 'getenv'; expected 0, have 1 394 | posixly_correct = getenv ("POSIXLY_CORRECT"); | ^~~~~~ ~~~~~~~~~~~~~~~~~ getopt.c:202:14: note: declared here 202 | extern char *getenv (); | ^~~~~~ getopt.c: In function '_getopt_internal': getopt1.c: In function 'gg_getopt_long': getopt.c:503:1: warning: old-style function definition [-Wold-style-definition] 503 | _getopt_internal (argc, argv, optstring, longopts, longind, long_only) | ^~~~~~~~~~~~~~~~ getopt1.c:65:1: warning: old-style function definition [-Wold-style-definition] 65 | gg_getopt_long (argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~~~~ getopt1.c: In function 'getopt_long_only': getopt1.c:81:1: warning: old-style function definition [-Wold-style-definition] 81 | getopt_long_only (argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~~~~~~ getopt.c: In function 'gg_getopt': getopt.c:959:1: warning: old-style function definition [-Wold-style-definition] 959 | gg_getopt (argc, argv, optstring) | ^~~~~~~~~ gmake[2]: *** [Makefile:220: getopt.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/tmp/work/games/gnugo/work/gnugo-3.8/utils' gmake[1]: *** [Makefile:232: all-recursive] Error 1 gmake[1]: Leaving directory '/tmp/work/games/gnugo/work/gnugo-3.8' gmake: *** [Makefile:168: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/gnugo *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/gnugo