+ 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/nagi-20021114nb6/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nagi-20021114nb6/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for nagi-20021114nb6
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c base.c -o base.o
In file included from base.c:7:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
base.c:16:2: warning: #warning base.c needs work [-Wcpp]
   16 | #warning base.c needs work
      |  ^~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c debug.c -o debug.o
In file included from debug.c:2:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c decrypt.c -o decrypt.o
In file included from decrypt.c:3:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c flags.c -o flags.o
In file included from flags.c:21:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from flags.c:19:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c nagi_main.c -o nagi_main.o
In file included from nagi_main.c:22:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c initialise.c -o initialise.o
In file included from initialise.c:14:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
initialise.c: In function 'nagi_init':
initialise.c:168:2: warning: #warning keyboard needs a bit of cleanup [-Wcpp]
  168 | #warning keyboard needs a bit of cleanup
      |  ^~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c agi_string.c -o agi_string.o
In file included from agi_string.c:18:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c new_room.c -o new_room.o
In file included from new_room.c:7:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c objects.c -o objects.o
In file included from objects.c:12:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from objects.c:11:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c state_io.c -o state_io.o
In file included from state_io.c:13:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from state_io.c:11:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
state_io.c: In function 'state_reload':
state_io.c:330:2: warning: #warning clear_memory() not implemented [-Wcpp]
  330 | #warning clear_memory() not implemented
      |  ^~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c agi.c -o agi.o
In file included from agi.c:2:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c state_info.c -o state_info.o
In file included from state_info.c:13:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c obj_show.c -o obj_show.o
In file included from obj_show.c:7:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c game_id.c -o game_id.o
In file included from game_id.c:8:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c cmd_misc.c -o cmd_misc.o
In file included from cmd_misc.c:9:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c trace.c -o trace.o
In file included from trace.c:15:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c config.c -o config.o
In file included from config.c:6:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c list.c -o list.o
In file included from list.c:8:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c log.c -o log.o
In file included from log.c:6:
agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c version/agi_crc.c -o version/agi_crc.o
In file included from version/agi_crc.c:1:
version/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from version/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c version/standard.c -o version/standard.o
In file included from version/standard.c:7:
version/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from version/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
version/standard.c: In function 'crc_compare':
version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \
      |                                                                   ^
version/standard.c:325:9: note: in expansion of macro 'CRC_FUDGE'
  325 |         CRC_FUDGE("crc_object", object, 1);
      |         ^~~~~~~~~
version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \
      |                                                                   ^
version/standard.c:328:9: note: in expansion of macro 'CRC_FUDGE'
  328 |         CRC_FUDGE("crc_words", words, 2);
      |         ^~~~~~~~~
version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \
      |                                                                   ^
version/standard.c:334:17: note: in expansion of macro 'CRC_FUDGE'
  334 |                 CRC_FUDGE(key_vol, vol[i], i+3);
      |                 ^~~~~~~~~
version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \
      |                                                                   ^
version/standard.c:342:25: note: in expansion of macro 'CRC_FUDGE'
  342 |                         CRC_FUDGE("crc_dir", dir_comb, 19);
      |                         ^~~~~~~~~
version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \
      |                                                                   ^
version/standard.c:348:25: note: in expansion of macro 'CRC_FUDGE'
  348 |                         CRC_FUDGE("crc_dir_log", dir.log, 20);
      |                         ^~~~~~~~~
version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \
      |                                                                   ^
version/standard.c:350:25: note: in expansion of macro 'CRC_FUDGE'
  350 |                         CRC_FUDGE("crc_dir_pic", dir.pic, 21);
      |                         ^~~~~~~~~
version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \
      |                                                                   ^
version/standard.c:352:25: note: in expansion of macro 'CRC_FUDGE'
  352 |                         CRC_FUDGE("crc_dir_view", dir.view, 22);
      |                         ^~~~~~~~~
version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \
      |                                                                   ^
version/standard.c:354:25: note: in expansion of macro 'CRC_FUDGE'
  354 |                         CRC_FUDGE("crc_dir_snd", dir.snd, 23);
      |                         ^~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c res/res_dir.c -o res/res_dir.o
In file included from res/res_dir.c:18:
res/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from res/res_dir.c:16:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c res/res_vol.c -o res/res_vol.o
In file included from res/res_vol.c:20:
res/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from res/res_vol.c:15:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c res/res_lzw.c -o res/res_lzw.o
In file included from res/res_lzw.c:8:
res/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from res/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c res/res_pic.c -o res/res_pic.o
In file included from res/res_pic.c:7:
res/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from res/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/script.c -o sys/script.o
In file included from sys/script.c:15:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
sys/script.c: In function 'script_new':
sys/script.c:51:2: warning: #warning set_mem_rm0() not implemented [-Wcpp]
   51 | #warning set_mem_rm0() not implemented
      |  ^~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/error.c -o sys/error.o
In file included from sys/error.c:11:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
sys/error.c:37:2: warning: #warning beep_speaker() incomplete [-Wcpp]
   37 | #warning beep_speaker() incomplete
      |  ^~~~~~~
sys/error.c: In function 'set_agi_error':
sys/error.c:51:2: warning: #warning set_agi_error() incomplete [-Wcpp]
   51 | #warning set_agi_error() incomplete
      |  ^~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/glob_sys.c -o sys/glob_sys.o
In file included from sys/glob_sys.c:1:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/delay.c -o sys/delay.o
In file included from sys/delay.c:4:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/memory.c -o sys/memory.o
In file included from sys/memory.c:15:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
sys/memory.c: In function 'init_agi_heap':
sys/memory.c:39:2: warning: #warning text mode support needed [-Wcpp]
   39 | #warning text mode support needed
      |  ^~~~~~~
sys/memory.c:52:2: warning: #warning move this screen buffer thingy to somewhere else [-Wcpp]
   52 | #warning move this screen buffer thingy to somewhere else
      |  ^~~~~~~
sys/memory.c: In function 'agi_malloc':
sys/memory.c:83:2: warning: #warning need to fix error statement [-Wcpp]
   83 | #warning need to fix error statement
      |  ^~~~~~~
sys/memory.c: At top level:
sys/memory.c:133:2: warning: #warning finish cmd_show_mem [-Wcpp]
  133 | #warning finish cmd_show_mem
      |  ^~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/rand.c -o sys/rand.o
In file included from sys/rand.c:4:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/endian.c -o sys/endian.o
In file included from sys/endian.c:12:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/time.c -o sys/time.o
In file included from sys/time.c:1:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
sys/time.c:21:2: warning: #warning check base.c disable clock and denit time [-Wcpp]
   21 | #warning check base.c   disable clock and denit time
      |  ^~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/mem_wrap.c -o sys/mem_wrap.o
In file included from sys/mem_wrap.c:2:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/sys_dir.c -o sys/sys_dir.o
In file included from sys/sys_dir.c:13:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/vstring.c -o sys/vstring.o
In file included from sys/vstring.c:22:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/ini_config.c -o sys/ini_config.o
In file included from sys/ini_config.c:10:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/gfx.c -o sys/gfx.o
In file included from sys/gfx.c:6:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/vid_render.c -o sys/vid_render.o
In file included from sys/vid_render.c:6:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/drv_dummy.c -o sys/drv_dummy.o
In file included from sys/drv_dummy.c:6:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/drv_sdl.c -o sys/drv_sdl.o
In file included from sys/drv_sdl.c:6:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/drv_video.c -o sys/drv_video.o
In file included from sys/drv_video.c:6:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/chargen.c -o sys/chargen.o
In file included from sys/chargen.c:8:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/agi_file.c -o sys/agi_file.o
In file included from sys/agi_file.c:10:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c picture/pic_render.c -o picture/pic_render.o
In file included from picture/pic_render.c:36:
picture/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from picture/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c picture/pic_res.c -o picture/pic_res.o
In file included from picture/pic_res.c:17:
picture/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from picture/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c picture/sbuf_util.c -o picture/sbuf_util.o
In file included from picture/sbuf_util.c:11:
picture/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from picture/sbuf_util.c:9:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
picture/sbuf_util.c: In function 'sbuff_xline':
picture/sbuf_util.c:98:2: warning: #warning replicated from sbuff_plot code [-Wcpp]
   98 | #warning replicated from sbuff_plot code
      |  ^~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c picture/pic_add.c -o picture/pic_add.o
In file included from picture/pic_add.c:7:
picture/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from picture/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c logic/arithmetic.c -o logic/arithmetic.o
In file included from logic/arithmetic.c:23:
logic/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from logic/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c logic/cmd_table.c -o logic/cmd_table.o
In file included from logic/cmd_table.c:1:
logic/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from logic/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c logic/logic_base.c -o logic/logic_base.o
In file included from logic/logic_base.c:22:
logic/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from logic/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c logic/logic_eval.c -o logic/logic_eval.o
In file included from logic/logic_eval.c:21:
logic/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from logic/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c logic/logic_execute.c -o logic/logic_execute.o
In file included from logic/logic_execute.c:18:
logic/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from logic/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c view/view_base.c -o view/view_base.o
In file included from view/view_base.c:39:
view/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from view/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c view/obj_update.c -o view/obj_update.o
In file included from view/obj_update.c:17:
view/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from view/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c view/obj_blit.c -o view/obj_blit.o
In file included from view/obj_blit.c:12:
view/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from view/obj_blit.c:10:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c view/obj_base.c -o view/obj_base.o
In file included from view/obj_base.c:23:
view/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from view/obj_base.c:19:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c view/obj_proximity.c -o view/obj_proximity.o
In file included from view/obj_proximity.c:10:
view/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from view/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c view/obj_position.c -o view/obj_position.o
In file included from view/obj_position.c:16:
view/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from view/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c view/obj_loop.c -o view/obj_loop.o
In file included from view/obj_loop.c:7:
view/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from view/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c view/obj_motion.c -o view/obj_motion.o
In file included from view/obj_motion.c:21:
view/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from view/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c view/obj_drawerase.c -o view/obj_drawerase.o
In file included from view/obj_drawerase.c:8:
view/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from view/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c view/obj_cycle.c -o view/obj_cycle.o
In file included from view/obj_cycle.c:12:
view/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from view/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c view/obj_motion_cmd.c -o view/obj_motion_cmd.o
In file included from view/obj_motion_cmd.c:17:
view/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from view/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c view/obj_block.c -o view/obj_block.o
In file included from view/obj_block.c:9:
view/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from view/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c view/obj_priority.c -o view/obj_priority.o
In file included from view/obj_priority.c:8:
view/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from view/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c view/obj_picbuff.c -o view/obj_picbuff.o
In file included from view/obj_picbuff.c:15:
view/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from view/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sound/sound_base.c -o sound/sound_base.o
In file included from sound/sound_base.c:15:
sound/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sound/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sound/pcm_out.c -o sound/pcm_out.o
In file included from sound/pcm_out.c:9:
sound/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sound/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sound/pcm_out_sdl.c -o sound/pcm_out_sdl.o
In file included from sound/pcm_out_sdl.c:10:
sound/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sound/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sound/sound_gen.c -o sound/sound_gen.o
In file included from sound/sound_gen.c:6:
sound/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sound/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
sound/sound_gen.c: In function 'sndgen_callback':
sound/sound_gen.c:284:2: warning: #warning if chan 2.. change noise chan if appropriate [-Wcpp]
  284 | #warning if chan 2.. change noise chan if appropriate
      |  ^~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sound/tone.c -o sound/tone.o
In file included from sound/tone.c:9:
sound/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sound/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sound/tone_pcm.c -o sound/tone_pcm.o
In file included from sound/tone_pcm.c:8:
sound/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sound/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c sys/drvpick.c -o sys/drvpick.o
In file included from sys/drvpick.c:7:
sys/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from sys/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c ui/parse.c -o ui/parse.o
In file included from ui/parse.c:16:
ui/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from ui/parse.c:13:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c ui/window.c -o ui/window.o
In file included from ui/window.c:15:
ui/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from ui/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c ui/printf.c -o ui/printf.o
In file included from ui/printf.c:16:
ui/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from ui/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c ui/agi_text.c -o ui/agi_text.o
In file included from ui/agi_text.c:18:
ui/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from ui/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c ui/string.c -o ui/string.o
In file included from ui/string.c:43:
ui/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from ui/string.c:40:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c ui/msg.c -o ui/msg.o
In file included from ui/msg.c:21:
ui/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from ui/msg.c:19:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c ui/events.c -o ui/events.o
In file included from ui/events.c:4:
ui/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from ui/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
ui/events.c: In function 'events_init':
ui/events.c:40:2: warning: #warning needs cmd_init_joy ?? [-Wcpp]
   40 | #warning needs cmd_init_joy ??
      |  ^~~~~~~
ui/events.c: At top level:
ui/events.c:158:2: warning: #warning this version skips some keys but will still pass them to the bios_buff read bit [-Wcpp]
  158 | #warning this version skips some keys but will still pass them to the bios_buff read bit
      |  ^~~~~~~
ui/events.c: In function 'events_clear':
ui/events.c:331:2: warning: #warning perhaps another time we could check for non-input events and use them [-Wcpp]
  331 | #warning perhaps another time we could check for non-input events and use them
      |  ^~~~~~~
ui/events.c:332:2: warning: #warning doesnt matter for the time being since i dont check for them anyways [-Wcpp]
  332 | #warning doesnt matter for the time being since i dont check for them anyways
      |  ^~~~~~~
ui/events.c:340:2: warning: #warning this is because sometimes poll_event always returns 1 event left [-Wcpp]
  340 | #warning this is because sometimes poll_event always returns 1 event left
      |  ^~~~~~~
ui/events.c:346:2: warning: #warning a bit missing for joystick [-Wcpp]
  346 | #warning a bit missing for joystick
      |  ^~~~~~~
ui/events.c: In function 'event_wait':
ui/events.c:478:2: warning: #warning SHITLOADS MISSING FOR JOYSTICK SUPPORT [-Wcpp]
  478 | #warning SHITLOADS MISSING FOR JOYSTICK SUPPORT
      |  ^~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c ui/cmd_input.c -o ui/cmd_input.o
In file included from ui/cmd_input.c:20:
ui/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from ui/cmd_input.c:18:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c ui/controller.c -o ui/controller.o
In file included from ui/controller.c:8:
ui/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from ui/controller.c:6:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c ui/status.c -o ui/status.o
In file included from ui/status.c:14:
ui/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from ui/status.c:12:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
ui/status.c: In function 'inventory':
ui/status.c:139:2: warning: #warning need the joystick BUTT map.. [-Wcpp]
  139 | #warning need the joystick BUTT map..
      |  ^~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c ui/menu.c -o ui/menu.o
In file included from ui/menu.c:22:
ui/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from ui/menu.c:20:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c ui/mouse.c -o ui/mouse.o
In file included from ui/mouse.c:33:
ui/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from ui/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN -c ui/list_box.c -o ui/list_box.o
In file included from ui/list_box.c:6:
ui/../agi.h:381: warning: "strdupa" redefined
  381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
      | 
In file included from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_stdinc.h:60,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/nagi/work/.buildlink/include/SDL/SDL.h:30,
                 from ui/../agi.h:5:
/usr/include/string.h:147: note: this is the location of the previous definition
  147 | #define strdupa(s)                                                      \
      | 
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -DRAD_LINUX -DRAD_WARN base.o debug.o decrypt.o flags.o nagi_main.o initialise.o agi_string.o new_room.o objects.o state_io.o agi.o state_info.o obj_show.o game_id.o cmd_misc.o trace.o config.o list.o log.o version/agi_crc.o version/standard.o res/res_dir.o res/res_vol.o res/res_lzw.o res/res_pic.o sys/script.o sys/error.o sys/glob_sys.o sys/delay.o sys/memory.o sys/rand.o sys/endian.o sys/time.o sys/mem_wrap.o sys/sys_dir.o sys/vstring.o sys/ini_config.o sys/gfx.o sys/vid_render.o sys/drv_dummy.o sys/drv_sdl.o sys/drv_video.o sys/chargen.o sys/agi_file.o picture/pic_render.o picture/pic_res.o picture/sbuf_util.o picture/pic_add.o logic/arithmetic.o logic/cmd_table.o logic/logic_base.o logic/logic_eval.o logic/logic_execute.o view/view_base.o view/obj_update.o view/obj_blit.o view/obj_base.o view/obj_proximity.o view/obj_position.o view/obj_loop.o view/obj_motion.o view/obj_drawerase.o view/obj_cycle.o view/obj_motion_cmd.o view/obj_block.o view/obj_priority.o view/obj_picbuff.o sound/sound_base.o sound/pcm_out.o sound/pcm_out_sdl.o sound/sound_gen.o sound/tone.o sound/tone_pcm.o sys/drvpick.o ui/parse.o ui/window.o ui/printf.o ui/agi_text.o ui/string.o ui/msg.o ui/events.o ui/cmd_input.o ui/controller.o ui/status.o ui/menu.o ui/mouse.o ui/list_box.o -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -lSDLmain -lSDL  -pthread -lpthread -lrt -lcompat -o ../bin/nagi
ld: fatal: library -lcompat: not found
ld: fatal: file processing errors. No output written to ../bin/nagi
collect2: error: ld returned 1 exit status
gmake: *** [Makefile.linux:12: ../bin/nagi] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/nagi
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/nagi