+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/angband-sdl-4.2.5nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/angband-sdl-4.2.5nb1/work.log
===> Building for angband-sdl-4.2.5nb1
Entering directory src.
Compiling cave.c...
Compiling cave-square.c...
Compiling cave-map.c...
Successfully compiled cave.c.
Compiling cave-view.c...
Successfully compiled cave-map.c.
Compiling cmd-cave.c...
Successfully compiled cave-square.c.
Compiling cmd-core.c...
Successfully compiled cave-view.c.
Compiling cmd-misc.c...
Successfully compiled cmd-cave.c.
Compiling cmd-obj.c...
Successfully compiled cmd-misc.c.
Successfully compiled cmd-core.c.
Compiling cmd-pickup.c...
Compiling cmd-spoil.c...
Successfully compiled cmd-spoil.c.
Compiling cmd-wizard.c...
Successfully compiled cmd-pickup.c.
Compiling datafile.c...
Successfully compiled cmd-obj.c.
Compiling debug.c...
Successfully compiled debug.c.
Compiling effect-handler-attack.c...
Successfully compiled datafile.c.
Compiling effect-handler-general.c...
Successfully compiled cmd-wizard.c.
Compiling effects.c...
Successfully compiled effect-handler-attack.c.
Compiling effects-info.c...
Successfully compiled effects.c.
Compiling game-event.c...
Successfully compiled effect-handler-general.c.
Successfully compiled game-event.c.
Compiling game-input.c...
Compiling game-world.c...
Successfully compiled effects-info.c.
Compiling generate.c...
Successfully compiled game-input.c.
Compiling gen-cave.c...
Successfully compiled game-world.c.
Compiling gen-chunk.c...
Successfully compiled generate.c.
Compiling gen-monster.c...
Successfully compiled gen-chunk.c.
Compiling gen-room.c...
Successfully compiled gen-monster.c.
Compiling gen-util.c...
Successfully compiled gen-cave.c.
Compiling grafmode.c...
Successfully compiled grafmode.c.
Compiling guid.c...
Successfully compiled gen-util.c.
Compiling init.c...
Successfully compiled guid.c.
Compiling load.c...
Successfully compiled gen-room.c.
Compiling message.c...
Successfully compiled message.c.
Compiling mon-attack.c...
Successfully compiled load.c.
Compiling mon-blows.c...
Successfully compiled mon-attack.c.
Compiling mon-desc.c...
Successfully compiled mon-blows.c.
Compiling mon-group.c...
Successfully compiled init.c.
Compiling mon-init.c...
Successfully compiled mon-desc.c.
Compiling mon-list.c...
Successfully compiled mon-group.c.
Compiling mon-lore.c...
Successfully compiled mon-list.c.
Compiling mon-make.c...
Successfully compiled mon-lore.c.
Compiling mon-move.c...
Successfully compiled mon-init.c.
Successfully compiled mon-make.c.
Compiling mon-msg.c...
Compiling mon-predicate.c...
Successfully compiled mon-predicate.c.
Compiling mon-spell.c...
Successfully compiled mon-msg.c.
Compiling mon-summon.c...
Successfully compiled mon-move.c.
Compiling mon-timed.c...
Successfully compiled mon-summon.c.
Compiling mon-util.c...
Successfully compiled mon-timed.c.
Compiling obj-chest.c...
Successfully compiled mon-spell.c.
Compiling obj-curse.c...
Successfully compiled obj-curse.c.
Successfully compiled obj-chest.c.
Compiling obj-desc.c...
Compiling obj-gear.c...
Successfully compiled mon-util.c.
Compiling obj-ignore.c...
Successfully compiled obj-desc.c.
Compiling obj-info.c...
Successfully compiled obj-ignore.c.
Compiling obj-init.c...
Successfully compiled obj-gear.c.
Compiling obj-knowledge.c...
Successfully compiled obj-info.c.
Compiling obj-list.c...
Successfully compiled obj-knowledge.c.
Compiling obj-make.c...
Successfully compiled obj-list.c.
Compiling obj-pile.c...
Successfully compiled obj-init.c.
Compiling obj-power.c...
Successfully compiled obj-make.c.
Compiling obj-properties.c...
Successfully compiled obj-power.c.
Compiling obj-randart.c...
Successfully compiled obj-pile.c.
Successfully compiled obj-properties.c.
Compiling obj-slays.c...
Compiling obj-tval.c...
Successfully compiled obj-tval.c.
Compiling obj-util.c...
Successfully compiled obj-slays.c.
Compiling option.c...
Successfully compiled option.c.
Compiling parser.c...
Successfully compiled obj-randart.c.
Compiling randname.c...
Successfully compiled obj-util.c.
Compiling player-attack.c...
Successfully compiled parser.c.
Compiling player-birth.c...
Successfully compiled randname.c.
Compiling player-calcs.c...
Successfully compiled player-attack.c.
Compiling player-class.c...
Successfully compiled player-birth.c.
Compiling player-history.c...
Successfully compiled player-calcs.c.
Compiling player-path.c...
Successfully compiled player-class.c.
Compiling player-properties.c...
Successfully compiled player-history.c.
Compiling player-quest.c...
Successfully compiled player-properties.c.
Compiling player-race.c...
Successfully compiled player-path.c.
Compiling player-spell.c...
Successfully compiled player-race.c.
Successfully compiled player-quest.c.
Compiling player-timed.c...
Compiling player-util.c...
Successfully compiled player-spell.c.
Compiling player.c...
Successfully compiled player-timed.c.
Compiling project.c...
Successfully compiled player-util.c.
Compiling project-feat.c...
Successfully compiled player.c.
Compiling project-mon.c...
Successfully compiled project.c.
Compiling project-obj.c...
Successfully compiled project-feat.c.
Compiling project-player.c...
Successfully compiled project-obj.c.
Compiling score.c...
Successfully compiled project-mon.c.
Compiling save.c...
Successfully compiled project-player.c.
Compiling savefile.c...
Successfully compiled score.c.
Compiling save-charoutput.c...
Successfully compiled save.c.
Compiling sound-core.c...
Successfully compiled save-charoutput.c.
Compiling source.c...
Successfully compiled savefile.c.
Compiling store.c...
Successfully compiled source.c.
Compiling target.c...
Successfully compiled sound-core.c.
Compiling trap.c...
Successfully compiled target.c.
Compiling ui-birth.c...
Successfully compiled store.c.
Compiling ui-command.c...
Successfully compiled trap.c.
Compiling ui-context.c...
Successfully compiled ui-command.c.
Compiling ui-curse.c...
Successfully compiled ui-birth.c.
Compiling ui-death.c...
Successfully compiled ui-context.c.
Compiling ui-display.c...
Successfully compiled ui-curse.c.
Compiling ui-effect.c...
Successfully compiled ui-death.c.
Compiling ui-entry.c...
Successfully compiled ui-effect.c.
Compiling ui-entry-combiner.c...
Successfully compiled ui-entry-combiner.c.
Compiling ui-entry-renderers.c...
Successfully compiled ui-entry.c.
Compiling ui-equip-cmp.c...
Successfully compiled ui-display.c.
Compiling ui-event.c...
Successfully compiled ui-event.c.
Compiling ui-game.c...
Successfully compiled ui-entry-renderers.c.
Compiling ui-help.c...
Successfully compiled ui-equip-cmp.c.
Compiling ui-history.c...
Successfully compiled ui-help.c.
Compiling ui-init.c...
Successfully compiled ui-game.c.
Compiling ui-input.c...
Successfully compiled ui-history.c.
Compiling ui-keymap.c...
Successfully compiled ui-init.c.
Compiling ui-knowledge.c...
Successfully compiled ui-keymap.c.
Compiling ui-map.c...
Successfully compiled ui-input.c.
Compiling ui-menu.c...
Successfully compiled ui-map.c.
Compiling ui-mon-list.c...
Successfully compiled ui-menu.c.
Compiling ui-mon-lore.c...
Successfully compiled ui-mon-list.c.
Compiling ui-obj-list.c...
Successfully compiled ui-knowledge.c.
Successfully compiled ui-mon-lore.c.
Compiling ui-object.c...
Compiling ui-options.c...
Successfully compiled ui-obj-list.c.
Compiling ui-output.c...
Successfully compiled ui-output.c.
Compiling ui-player-properties.c...
Successfully compiled ui-object.c.
Compiling ui-player.c...
Successfully compiled ui-options.c.
Compiling ui-prefs.c...
Successfully compiled ui-player-properties.c.
Compiling ui-score.c...
Successfully compiled ui-player.c.
Compiling ui-signals.c...
Successfully compiled ui-score.c.
Compiling ui-spell.c...
ui-signals.c: In function 'handle_signal_suspend':
ui-signals.c:75:15: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration]
   75 |         (void)kill(0, SIGSTOP);
      |               ^~~~
ui-signals.c:75:15: warning: nested extern declaration of 'kill' [-Wnested-externs]
Successfully compiled ui-prefs.c.
Compiling ui-spoil.c...
Successfully compiled ui-signals.c.
Compiling ui-store.c...
Successfully compiled ui-spell.c.
Compiling ui-target.c...
Successfully compiled ui-spoil.c.
Compiling ui-term.c...
Successfully compiled ui-store.c.
Compiling ui-visuals.c...
Successfully compiled ui-target.c.
Compiling ui-wizard.c...
Successfully compiled ui-term.c.
Compiling wiz-debug.c...
Successfully compiled ui-visuals.c.
Compiling wiz-spoil.c...
Successfully compiled ui-wizard.c.
Compiling wiz-stats.c...
Successfully compiled wiz-debug.c.
Compiling borg/borg1.c...
Successfully compiled wiz-spoil.c.
Compiling borg/borg2.c...
Successfully compiled wiz-stats.c.
Compiling borg/borg3.c...
Successfully compiled borg/borg1.c.
Compiling borg/borg4.c...
Successfully compiled borg/borg2.c.
Compiling borg/borg5.c...
Successfully compiled borg/borg3.c.
borg/borg4.c: In function 'borg_notice_armour_swap':
Compiling borg/borg6.c...
borg/borg4.c:2948:17: warning: the comparison will always evaluate as 'true' for the address of 'brands' will never be NULL [-Waddress]
 2948 |             if (item->brands)
      |                 ^~~~
In file included from borg/borg4.c:20:
borg/borg3.h:128:13: note: 'brands' declared here
  128 |     bool    brands[254];                        /**< Flag absence/presence of each brand */
      |             ^~~~~~
borg/borg6.c: In function 'borg_best_mult':
borg/borg6.c:5355:17: warning: the comparison will always evaluate as 'true' for the address of 'slays' will never be NULL [-Waddress]
 5355 |             if (!obj->slays || !obj->slays[i]) continue;
      |                 ^
In file included from borg/borg6.c:19:
borg/borg3.h:130:13: note: 'slays' declared here
  130 |     int     slays[RF_MAX];                      /**< power of slays based on race flag */
      |             ^~~~~
Successfully compiled borg/borg5.c.
Compiling borg/borg7.c...
Successfully compiled borg/borg7.c.
Compiling borg/borg8.c...
Successfully compiled borg/borg4.c.
Compiling borg/borg9.c...
Successfully compiled borg/borg8.c.
Installing version.h...
Successfully installed version.h.
Compiling z-bitflag.c...
Successfully compiled z-bitflag.c.
Compiling z-color.c...
Successfully compiled z-color.c.
Compiling z-dice.c...
Successfully compiled z-dice.c.
Compiling z-expression.c...
Successfully compiled borg/borg9.c.
Compiling z-file.c...
Successfully compiled z-expression.c.
Compiling z-form.c...
z-file.c: In function 'file_lock':
z-file.c:1061:15: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration]
 1061 |         fcntl(fileno(f->fh), F_SETLKW, &lock);
      |               ^~~~~~
z-file.c:1061:15: warning: nested extern declaration of 'fileno' [-Wnested-externs]
Successfully compiled z-form.c.
Compiling z-quark.c...
Successfully compiled z-file.c.
Compiling z-queue.c...
Successfully compiled z-quark.c.
Compiling z-rand.c...
Successfully compiled z-queue.c.
Compiling z-textblock.c...
Successfully compiled z-rand.c.
Compiling z-type.c...
Successfully compiled z-textblock.c.
Compiling z-util.c...
Successfully compiled z-type.c.
Compiling z-virt.c...
Successfully compiled borg/borg6.c.
Compiling main.c...
Successfully compiled z-virt.c.
Compiling main-gcu.c...
Successfully compiled main.c.
Successfully compiled z-util.c.
Compiling main-sdl.c...
Compiling snd-sdl.c...
main-gcu.c: In function 'Term_xtra_gcu':
main-gcu.c:1083:50: warning: implicit declaration of function 'usleep'; did you mean 'sleep'? [-Wimplicit-function-declaration]
 1083 |                 case TERM_XTRA_DELAY: if (v > 0) usleep(1000 * v); return 0;
      |                                                  ^~~~~~
      |                                                  sleep
main-gcu.c:1083:50: warning: nested extern declaration of 'usleep' [-Wnested-externs]
main-gcu.c: In function 'init_gcu':
main-gcu.c:1312:17: warning: implicit declaration of function 'putenv'; did you mean 'getenv'? [-Wimplicit-function-declaration]
 1312 |                 putenv(escdelbuf);
      |                 ^~~~~~
      |                 getenv
main-gcu.c:1312:17: warning: nested extern declaration of 'putenv' [-Wnested-externs]
main-sdl.c:175:46: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  175 | static const term_font default_term_font = { "6x10x.fon", 0, true, true };
      |                                              ^~~~~~~~~~~
main-sdl.c:277:1: warning: missing initializer for field 'unused' of 'SDL_Color' [-Wmissing-field-initializers]
  277 | SDL_Color DefaultCapColour = { 0, 0, 0 };
      | ^~~~~~~~~
In file included from /home/pbulk/build/games/angband-sdl/work/.buildlink/include/SDL/SDL_mouse.h:32,
                 from /home/pbulk/build/games/angband-sdl/work/.buildlink/include/SDL/SDL_events.h:35,
                 from /home/pbulk/build/games/angband-sdl/work/.buildlink/include/SDL/SDL.h:37,
                 from main-sdl.c:124:
/home/pbulk/build/games/angband-sdl/work/.buildlink/include/SDL/SDL_video.h:59:15: note: 'unused' declared here
   59 |         Uint8 unused;
      |               ^~~~~~
main-sdl.c:392:1: warning: missing initializer for field 'unused' of 'SDL_Color' [-Wmissing-field-initializers]
  392 | static SDL_Color AltUnselColour = { 160, 60, 60 };
      | ^~~~~~
/home/pbulk/build/games/angband-sdl/work/.buildlink/include/SDL/SDL_video.h:59:15: note: 'unused' declared here
   59 |         Uint8 unused;
      |               ^~~~~~
main-sdl.c:396:1: warning: missing initializer for field 'unused' of 'SDL_Color' [-Wmissing-field-initializers]
  396 | SDL_Color AltSelColour = { 210, 110, 110 };
      | ^~~~~~~~~
/home/pbulk/build/games/angband-sdl/work/.buildlink/include/SDL/SDL_video.h:59:15: note: 'unused' declared here
   59 |         Uint8 unused;
      |               ^~~~~~
main-sdl.c:401:1: warning: missing initializer for field 'unused' of 'SDL_Color' [-Wmissing-field-initializers]
  401 | SDL_Color AltCapColour = { 95, 95, 195 };
      | ^~~~~~~~~
/home/pbulk/build/games/angband-sdl/work/.buildlink/include/SDL/SDL_video.h:59:15: note: 'unused' declared here
   59 |         Uint8 unused;
      |               ^~~~~~
Successfully compiled main-gcu.c.
Compiling main-spoil.c...
Successfully compiled snd-sdl.c.
Compiling buildid.c...
main-sdl.c: In function 'Term_xtra_sdl_event':
main-sdl.c:4674:25: warning: implicit declaration of function 'usleep'; did you mean 'sleep'? [-Wimplicit-function-declaration]
 4674 |                         usleep(20000);
      |                         ^~~~~~
      |                         sleep
main-sdl.c:4674:25: warning: nested extern declaration of 'usleep' [-Wnested-externs]
Successfully compiled buildid.c.
ld: fatal: library -lumem: not found
ld: fatal: file processing errors. No output written to angband.o
collect2: error: ld returned 1 exit status
Successfully compiled main-spoil.c.
gmake[3]: *** [Makefile:34: angband.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
Successfully compiled main-sdl.c.
gmake[2]: *** [../mk/buildsys.mk:137: all] Error 2
gmake[1]: *** [mk/buildsys.mk:144: subdirs] Error 2
gmake: *** [mk/buildsys.mk:135: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/angband-sdl
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/angband-sdl