+ 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/lincity-1.12.1nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lincity-1.12.1nb3/work.log ===> Building for lincity-1.12.1nb3 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/games/lincity/work/lincity-1.12.1' Making all in m4 gmake[2]: Entering directory '/home/pbulk/build/games/lincity/work/lincity-1.12.1/m4' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/games/lincity/work/lincity-1.12.1/m4' Making all in intl gmake[2]: Entering directory '/home/pbulk/build/games/lincity/work/lincity-1.12.1/intl' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/games/lincity/work/lincity-1.12.1/intl' Making all in po gmake[2]: Entering directory '/home/pbulk/build/games/lincity/work/lincity-1.12.1/po' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/games/lincity/work/lincity-1.12.1/po' gmake[2]: Entering directory '/home/pbulk/build/games/lincity/work/lincity-1.12.1' if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT lclib.o -MD -MP -MF ".deps/lclib.Tpo" \ -c -o lclib.o `test -f 'lclib.c' || echo './'`lclib.c; \ then mv -f ".deps/lclib.Tpo" ".deps/lclib.Po"; \ else rm -f ".deps/lclib.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT power.o -MD -MP -MF ".deps/power.Tpo" \ -c -o power.o `test -f 'power.c' || echo './'`power.c; \ then mv -f ".deps/power.Tpo" ".deps/power.Po"; \ else rm -f ".deps/power.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT ldsvguts.o -MD -MP -MF ".deps/ldsvguts.Tpo" \ -c -o ldsvguts.o `test -f 'ldsvguts.c' || echo './'`ldsvguts.c; \ then mv -f ".deps/ldsvguts.Tpo" ".deps/ldsvguts.Po"; \ else rm -f ".deps/ldsvguts.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT engine.o -MD -MP -MF ".deps/engine.Tpo" \ -c -o engine.o `test -f 'engine.c' || echo './'`engine.c; \ then mv -f ".deps/engine.Tpo" ".deps/engine.Po"; \ else rm -f ".deps/engine.Tpo"; exit 1; \ fi power.c: In function 'get_power': power.c:348:11: error: implicit declaration of function 'abs' [-Wimplicit-function-declaration] 348 | if (abs (xi - x) < SUBSTATION_RANGE && | ^~~ power.c:22:1: note: include '' or provide a declaration of 'abs' 21 | #include "transport.h" /* for XY_IS_TRANSPORT */ +++ |+#include 22 | power.c: In function 'shuffle_substations': power.c:428:11: error: implicit declaration of function 'rand' [-Wimplicit-function-declaration] 428 | r = rand () % numof_substations; | ^~~~ gmake[2]: *** [Makefile:456: power.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/home/pbulk/build/games/lincity/work/lincity-1.12.1' gmake[1]: *** [Makefile:550: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/games/lincity/work/lincity-1.12.1' gmake: *** [Makefile:343: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/lincity *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/lincity