+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/craft-3.5nb5/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/craft-3.5nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for craft-3.5nb5
--- config.h ---
--- hcc/hcc ---
--- config.h ---
echo '#define PREFIX "/usr/pkg"' > config.h
--- hcc/hcc ---
c++ -pipe -g -Wno-return-type -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT hcc/hcc.cc -o hcc/hcc
In file included from /usr/include/stdio.h:27:0,
                 from hcc/hcc.cc:1:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
--- xtimer.o ---
--- option_menu.o ---
--- xtimer.o ---
hcc/hcc -compiler cc -I/usr/pkg/include -pipe -O2 -Wno-return-type -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -c xtimer
--- option_menu.o ---
hcc/hcc -compiler cc -I/usr/pkg/include -pipe -O2 -Wno-return-type -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -c option_menu
--- setupedit.o ---
hcc/hcc -compiler cc -I/usr/pkg/include -pipe -O2 -Wno-return-type -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -c setupedit
--- robot.o ---
hcc/hcc -compiler cc -I/usr/pkg/include -pipe -O2 -Wno-return-type -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -c robot
--- land.o ---
hcc/hcc -compiler cc -I/usr/pkg/include -pipe -O2 -Wno-return-type -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -c land
land.hc: In function 'void load_units(char*)':
land.hc:102:54: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]

     /* get_size */      {fscanf (f, "%d", &num_units);
                                                      ^
land.hc:117:66: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]

       fscanf (f, "%d %d %d %d %d", &type, &x, &y, &color, &money);
                                                                  ^
land.hc: In function 'void load_land(char*)':
land.hc:165:63: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]

       fscanf (f, "%d %d %d", &d, &landscape_dx, &landscape_dy);
                                                               ^
land.hc:171:48: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]

           {fscanf (f,  "%d", &landscape [x][y]);
                                                ^
land.hc:172:48: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]

            fscanf (f1, "%d", &landhight [x][y]);
                                                ^
land.hc: In function 'void load_land_props()':
land.hc:1176:17: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]

               d);
                 ^
*** [land.o] Error code 1

bmake: stopped in /home/pbulk/build/games/craft/work
1 error

bmake: stopped in /home/pbulk/build/games/craft/work
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/craft
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/craft