+ 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/ninja-1.5.8.1nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ninja-1.5.8.1nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for ninja-1.5.8.1nb2
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/alias.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/bans.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/channels.c
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/alias.c: In function 'alias_currdir':
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/alias.c:2298:4: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
 2298 |    getcwd(CP(dirbuf), sizeof(dirbuf)-1);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/ckey.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/crypt.c
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/crypt.c: In function 'do_crypt':
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/crypt.c:309:25: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result]
  309 |                         setgid(getgid());
      |                         ^~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/crypt.c:310:25: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  310 |                         setuid(getuid());
      |                         ^~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/crypt.c:320:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  320 |                                 write(in[1], key->key, my_strlen(key->key));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/crypt.c:321:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  321 |                         write(in[1], ptr, c);
      |                         ^~~~~~~~~~~~~~~~~~~~
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/ctcp.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/dcc.c
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/dcc.c: In function 'dcc_sendfiles':
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/dcc.c:2703:26: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
 2703 |                          (int (*) _((const void *, const void *)))compar);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                          |
      |                          int (*)(const void *, const void *)
In file included from /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/dcc.c:54:
/usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
  258 |                     int (*__cmp) (const struct dirent **,
      |                     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  259 |                                   const struct dirent **))
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/dcc.c: In function 'process_incoming_file':
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/dcc.c:1916:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 1916 |    write(Client->file, tmp, (size_t)bytesread);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/dcc.c: In function 'register_dcc_offer':
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/dcc.c:1295:14: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
 1295 |              getcwd(dbuf, sizeof(dbuf)-1);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/debug.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/dma.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/edit.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/enemies.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/exec.c
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/exec.c: In function 'text_to_process':
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/exec.c:990:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  990 |         write(proc->p_stdin, text, my_strlen(text));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/exec.c:991:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  991 |         write(proc->p_stdin, "\n", 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/exec.c: In function 'start_process':
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/exec.c:937:25: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  937 |                         setuid(getuid()); /* If we are setuid, set it back! */
      |                         ^~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/exec.c:938:25: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result]
  938 |                         setgid(getgid());
      |                         ^~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/exec.c:946:25: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  946 |                         setuid(getuid());
      |                         ^~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/exec.c:947:25: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result]
  947 |                         setgid(getgid());
      |                         ^~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/exec.c:952:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  952 |                 write(1, buffer, my_strlen(buffer));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/flood.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/friends.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/funny.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/grep.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -DDEFAULT_HELP_PATH=\"/usr/pkg/share/ninja/help\" -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/help.c
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/help.c: In function 'help_me':
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/help.c:658:46: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
  658 |                                              (int (*) _((const void *, const void *))) compar);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                              |
      |                                              int (*)(const void *, const void *)
In file included from /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/help.c:54:
/usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
  258 |                     int (*__cmp) (const struct dirent **,
      |                     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  259 |                                   const struct dirent **))
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/history.c
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/history.c: In function 'history':
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/history.c:470:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  470 |                         fgets(CP(buffer), BIG_BUFFER_SIZE, hist_file);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/hold.c
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/history.c: In function 'get_from_history_file':
cc1: warning: function may return address of local variable [-Wreturn-local-addr]
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/history.c:352:17: note: declared here
  352 |         u_char  buffer[BIG_BUFFER_SIZE];
      |                 ^~~~~~
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/hook.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/hosts.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/how_many.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/if.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/ignore.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/input.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -DIRCLIB=\"/usr/pkg/share/ninja/\" -DIRCPATH=\"~/.ninja:~/.irc:/usr/pkg/share/ninja/script:.\" -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/irc.c
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/ircaux.c
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/ircaux.c: In function 'bind_local_addr':
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/ircaux.c:855:28: error: 'EAI_ADDRFAMILY' undeclared (first use in this function); did you mean 'EAI_FAMILY'?
  855 |                 if (err == EAI_ADDRFAMILY)
      |                            ^~~~~~~~~~~~~~
      |                            EAI_FAMILY
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/ircaux.c:855:28: note: each undeclared identifier is reported only once for each function it appears in
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/ircaux.c: In function 'zcat':
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/ircaux.c:1471:17: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
 1471 |                 setuid(getuid());
      |                 ^~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/ircaux.c:1472:17: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result]
 1472 |                 setgid(getgid());
      |                 ^~~~~~~~~~~~~~~~
cc -I. -I/home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/include -I/usr/include/ncurses -pipe -O2 -I/usr/pkg/include/ncurses -DHAVE_CONFIG_H -c /home/pbulk/build/chat/ninja/work/ninja-1.5.8.1/source/ircsig.c
make: *** [Makefile:444: ircaux.o] Error 1
make: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/ninja
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/ninja