+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/freesci-0.3.5nb15/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/freesci-0.3.5nb15/work.log
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for freesci-0.3.5nb15
--- ./stamp-h.in ---
cd . && autoheader
WARNING: 'autoheader' is missing on your system.  You should only need it if
         you modified 'acconfig.h' or 'configure.in'.  You might want
         to install the Autoconf and GNU m4 packages.  Grab them
         from any GNU archive site.
--- stamp-h ---
cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /usr/bin/bash ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
--- config.h ---
--- all-recursive-am ---
/opt/local/bin/bmake  all-recursive
--- all-recursive ---
Making all in doc
--- all-recursive ---
Making all in misc
Making all in man
Making all in desktop
Making all in src
--- all-recursive ---
Making all in scicore
--- console.o ---
--- tools.o ---
--- resource.o ---
--- console.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c console.c
--- tools.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c tools.c
--- resource.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c resource.c
--- decompress0.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c decompress0.c
--- decompress01.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c decompress01.c
--- decompress1.o ---
--- decompress11.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c decompress11.c
--- decompress1.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c decompress1.c
--- script.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c script.c
--- vocab.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c vocab.c
--- vocab_debug.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c vocab_debug.c
--- old_objects.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c old_objects.c
--- modules.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c modules.c
--- sci_memory.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c sci_memory.c
--- resource_map.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c resource_map.c
--- resource_patch.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c resource_patch.c
--- fnmatch.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c fnmatch.c
--- versions.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c versions.c
--- libscicore.a ---
rm -f libscicore.a
ar cru libscicore.a console.o tools.o resource.o decompress0.o  decompress01.o decompress1.o decompress11.o script.o vocab.o  vocab_debug.o old_objects.o modules.o sci_memory.o resource_map.o  resource_patch.o fnmatch.o versions.o 
ranlib libscicore.a
Making all in engine
--- kernel.o ---
--- kscripts.o ---
--- klists.o ---
--- kernel.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c kernel.c
--- kscripts.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c kscripts.c
--- klists.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c klists.c
--- kfile.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c kfile.c
--- kgraphics.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c kgraphics.c
--- kmath.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c kmath.c
--- kgraphics.o ---
kgraphics.c:1168:34: warning: 'gfx_point' is static but used in inline function 'calculate_nsrect' which is not static
 1168 |                 point_t offset = gfx_point(0, 0);
      |                                  ^~~~~~~~~
--- kevent.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c kevent.c
--- kstring.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c kstring.c
--- kmenu.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c kmenu.c
--- kmovement.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c kmovement.c
--- kpathing.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c kpathing.c
--- ksound.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c ksound.c
--- vm.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c vm.c
--- game.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c game.c
--- scriptdebug.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c scriptdebug.c
scriptdebug.c:37:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
   37 | #endif _MSC_VER
      |        ^~~~~~~~
scriptdebug.c: In function 'print_objname':
scriptdebug.c:690:46: warning: trigraph ??> ignored, use -trigraphs to enable [-Wtrigraphs]
  690 |                                 sciprintf("<???>");
      |                                               
In file included from ../../src/include/sciresource.h:44,
                 from scriptdebug.c:28:
scriptdebug.c: In function 'c_visible_map':
../../src/include/resource.h:502:35: warning: overflow in conversion from 'int' to 'char' changes value from '500' to '-12' [-Woverflow]
  502 | #define WARNING(foo) {char i; i = 500;}
      |                                   ^~~
scriptdebug.c:1100:1: note: in expansion of macro 'WARNING'
 1100 | WARNING(fixme!)
      | ^~~~~~~
scriptdebug.c: At top level:
scriptdebug.c:1523:1: warning: return type defaults to 'int' [-Wimplicit-int]
 1523 | c_gfx_update_zone(state_t *s)
      | ^~~~~~~~~~~~~~~~~
scriptdebug.c:2080:1: warning: return type defaults to 'int' [-Wimplicit-int]
 2080 | c_sndmap(state_t *s)
      | ^~~~~~~~
--- heap.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c heap.c
--- simplesaid.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c simplesaid.c
--- grammar.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c grammar.c
--- savegame.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c savegame.c
savegame.cfsml: In function '_cfsml_write_state_t':
savegame.cfsml:520:26: warning: passing argument 2 of 'write_any_widget' from incompatible pointer type [-Wincompatible-pointer-types]
  520 | 
      |                          ^                    
      |                          |
      |                          gfxw_visual_t ** {aka struct _gfxw_visual **}
savegame.c:155:44: note: expected 'gfxw_widget_t **' {aka 'struct _gfxw_widget **'} but argument is of type 'gfxw_visual_t **' {aka 'struct _gfxw_visual **'}
  155 | write_any_widget(FILE *fh, gfxw_widget_t **widget);
      |                            ~~~~~~~~~~~~~~~~^~~~~~
savegame.cfsml: In function '_cfsml_read_state_t':
savegame.cfsml:749:34: warning: passing argument 2 of 'read_any_widget' from incompatible pointer type [-Wincompatible-pointer-types]
  749 | 
      |                                  ^                    
      |                                  |
      |                                  gfxw_visual_t ** {aka struct _gfxw_visual **}
savegame.c:157:43: note: expected 'gfxw_widget_t **' {aka 'struct _gfxw_widget **'} but argument is of type 'gfxw_visual_t **' {aka 'struct _gfxw_visual **'}
  157 | read_any_widget(FILE *fh, gfxw_widget_t **widget, char *lastval, int *line, int *hiteof);
      |                           ~~~~~~~~~~~~~~~~^~~~~~
savegame.cfsml: In function '_cfsml_write_gfxw_primitive_t':
savegame.cfsml:496:38: warning: passing argument 2 of '_cfsml_write_gfx_line_mode_t' from incompatible pointer type [-Wincompatible-pointer-types]
  496 | {
      |                                      ^                        
      |                                      |
      |                                      gfx_line_style_t *
savegame.cfsml:432:64: note: expected 'gfx_line_mode_t *' but argument is of type 'gfx_line_style_t *'
  432 |         int pic_animate;
      |                                                                ^         
savegame.cfsml: In function '_cfsml_read_gfxw_primitive_t':
savegame.cfsml:749:46: warning: passing argument 2 of '_cfsml_read_gfx_line_mode_t' from incompatible pointer type [-Wincompatible-pointer-types]
  749 | 
      |                                              ^                        
      |                                              |
      |                                              gfx_line_style_t *
savegame.cfsml:434:63: note: expected 'gfx_line_mode_t *' but argument is of type 'gfx_line_style_t *'
  434 |         long animation_delay;
      |                                                               ^         
savegame.cfsml: In function '_cfsml_write_gfxw_port_t':
savegame.cfsml:502:40: warning: passing argument 2 of 'write_any_widget' from incompatible pointer type [-Wincompatible-pointer-types]
  502 |                 fputs("\\null\\", fh);
      |                                        ^                         
      |                                        |
      |                                        gfxw_list_t ** {aka struct _gfxw_container_widget **}
savegame.c:155:44: note: expected 'gfxw_widget_t **' {aka 'struct _gfxw_widget **'} but argument is of type 'gfxw_list_t **' {aka 'struct _gfxw_container_widget **'}
  155 | write_any_widget(FILE *fh, gfxw_widget_t **widget);
      |                            ~~~~~~~~~~~~~~~~^~~~~~
savegame.cfsml: In function '_cfsml_read_gfxw_port_t':
savegame.cfsml:749:34: warning: passing argument 2 of 'read_any_widget' from incompatible pointer type [-Wincompatible-pointer-types]
  749 | 
      |                                  ^                         
      |                                  |
      |                                  gfxw_list_t ** {aka struct _gfxw_container_widget **}
savegame.c:157:43: note: expected 'gfxw_widget_t **' {aka 'struct _gfxw_widget **'} but argument is of type 'gfxw_list_t **' {aka 'struct _gfxw_container_widget **'}
  157 | read_any_widget(FILE *fh, gfxw_widget_t **widget, char *lastval, int *line, int *hiteof);
      |                           ~~~~~~~~~~~~~~~~^~~~~~
--- said.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c said.c
--- libsciengine.a ---
rm -f libsciengine.a
ar cru libsciengine.a savegame.o kernel.o kscripts.o klists.o  kfile.o kgraphics.o kmath.o kevent.o kstring.o kmenu.o kmovement.o  kpathing.o ksound.o vm.o game.o scriptdebug.o heap.o simplesaid.o  said.o grammar.o 
ranlib libsciengine.a
Making all in include
--- all-recursive ---
Making all in win32
Making all in beos
Making all in gfx
--- all-recursive ---
Making all in resource
--- sci_font.o ---
--- sci_resmgr.o ---
--- sci_pic_0.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c sci_pic_0.c
--- sci_font.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c sci_font.c
--- sci_resmgr.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c sci_resmgr.c
--- sci_pic_0.o ---
In file included from ../../../src/include/sci_memory.h:74,
                 from sci_pic_0.c:27:
sci_pic_0.c: In function 'gfxr_init_static_palette':
../../../src/include/resource.h:502:35: warning: overflow in conversion from 'int' to 'char' changes value from '500' to '-12' [-Woverflow]
  502 | #define WARNING(foo) {char i; i = 500;}
      |                                   ^~~
sci_pic_0.c:127:1: note: in expansion of macro 'WARNING'
  127 | WARNING("Uncomment me after fixing sci0_palette changes to reset me");
      | ^~~~~~~
--- sci_view_0.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c sci_view_0.c
--- sci_cursor_0.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c sci_cursor_0.c
--- sci_pal_1.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c sci_pal_1.c
--- sci_view_1.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c sci_view_1.c
--- libsciresources.a ---
rm -f libsciresources.a
ar cru libsciresources.a sci_font.o sci_resmgr.o sci_pic_0.o  sci_view_0.o sci_cursor_0.o sci_pal_1.o sci_view_1.o 
ranlib libsciresources.a
Making all in drivers
--- gfx_drivers.o ---
--- xlib_driver.o ---
--- ggi_driver.o ---
--- gfx_drivers.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c gfx_drivers.c
--- xlib_driver.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c xlib_driver.c
--- ggi_driver.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c ggi_driver.c
--- sdl_driver.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c sdl_driver.c
--- xlib_driver.o ---
xlib_driver.c: In function 'x_unmap_key':
xlib_driver.c:1142:9: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
 1142 |         KeySym xkey = XKeycodeToKeysym(S->display, keycode, 0);
      |         ^~~~~~
In file included from xlib_driver.c:33:
/home/pbulk/build/games/freesci/work/.buildlink/include/X11/Xlib.h:1683:15: note: declared here
 1683 | extern KeySym XKeycodeToKeysym(
      |               ^~~~~~~~~~~~~~~~
xlib_driver.c: In function 'x_map_key':
xlib_driver.c:1150:9: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
 1150 |         KeySym xkey = XKeycodeToKeysym(S->display, key_event->xkey.keycode, 0);
      |         ^~~~~~
/home/pbulk/build/games/freesci/work/.buildlink/include/X11/Xlib.h:1683:15: note: declared here
 1683 | extern KeySym XKeycodeToKeysym(
      |               ^~~~~~~~~~~~~~~~
--- directfb_driver.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c directfb_driver.c
--- null_driver.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c null_driver.c
--- libscidrivers.a ---
rm -f libscidrivers.a
ar cru libscidrivers.a gfx_drivers.o xlib_driver.o ggi_driver.o  sdl_driver.o directfb_driver.o null_driver.o 
ranlib libscidrivers.a
--- alpha_mvi_crossblit_32.o ---
--- alpha_mvi_crossblit_32_P.o ---
--- font.o ---
--- alpha_mvi_crossblit_32.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -I../.. -I../include -DHAVE_CONFIG_H -DFUNCT_NAME=alpha_mvi_crossblit_32 -c ../../src/gfx/alpha_mvi_crossblit.c -o ../../src/gfx/alpha_mvi_crossblit_32.o
--- alpha_mvi_crossblit_32_P.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -I../.. -I../include -DHAVE_CONFIG_H -DPRIORITY=1 -DFUNCT_NAME=alpha_mvi_crossblit_32_P -c ../../src/gfx/alpha_mvi_crossblit.c -o ../../src/gfx/alpha_mvi_crossblit_32_P.o
--- font.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c font.c
--- gfx_resource.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c gfx_resource.c
--- gfx_support.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c gfx_support.c
--- gfx_tools.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c gfx_tools.c
--- operations.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c operations.c
operations.c: In function '_gfxop_scancode':
operations.c:1690:17: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration]
 1690 |         int c = toupper((char)ch);
      |                 ^~~~~~~
operations.c:31:1: note: include '<ctype.h>' or provide a declaration of 'toupper'
   30 | #include <gfx_operations.h>
  +++ |+#include <ctype.h>
   31 | 
--- resmgr.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c resmgr.c
--- sbtree.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c sbtree.c
--- widgets.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c widgets.c
--- menubar.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c menubar.c
--- sci_widgets.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c sci_widgets.c
--- antialias.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c antialias.c
--- gfx_console.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c gfx_console.c
--- font-5x8.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c font-5x8.c
--- font-6x10.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c font-6x10.c
--- gfx_res_options.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c gfx_res_options.c
gfx_res_options.c: In function 'extract_pattern':
gfx_res_options.c:93:32: warning: implicit declaration of function 'isblank' [-Wimplicit-function-declaration]
   93 |                 while (*src && isblank(*src))
      |                                ^~~~~~~
gfx_res_options.c:32:1: note: include '<ctype.h>' or provide a declaration of 'isblank'
   31 | #include <gfx_options.h>
  +++ |+#include <ctype.h>
   32 | #include <gfx_resmgr.h>
gfx_res_options.c:100:43: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
  100 |                 } else if (*src == '.' || isdigit(*src)) {
      |                                           ^~~~~~~
gfx_res_options.c:100:43: note: include '<ctype.h>' or provide a declaration of 'isdigit'
--- libscigraphics.a ---
rm -f libscigraphics.a
ar cru libscigraphics.a font.o gfx_resource.o gfx_support.o  gfx_tools.o operations.o resmgr.o sbtree.o widgets.o menubar.o  sci_widgets.o antialias.o gfx_console.o font-5x8.o font-6x10.o  gfx_res_options.o alpha_mvi_crossblit_32.o alpha_mvi_crossblit_32_P.o drivers/libscidrivers.a resource/libsciresources.a
ranlib libscigraphics.a
Making all in sound
--- song_iterator.o ---
--- oldmidi.o ---
--- sound.o ---
--- song_iterator.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c song_iterator.c
--- oldmidi.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c oldmidi.c
--- sound.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c sound.c
--- song_iterator.o ---
song_iterator.c: In function 'songit_new':
song_iterator.c:374:31: warning: assignment to 'byte * (*)(struct _song_iterator *, unsigned int *, unsigned int *)' {aka 'unsigned char * (*)(struct _song_iterator *, unsigned int *, unsigned int *)'} from incompatible pointer type 'byte * (*)(song_iterator_t *, int *, int *)' {aka 'unsigned char * (*)(struct _song_iterator *, int *, int *)'} [-Wincompatible-pointer-types]
  374 |                 it->check_pcm = _sci0_check_pcm;
      |                               ^
--- midi_mt32.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c midi_mt32.c
--- midiout.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c midiout.c
--- midiout_unixraw.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c midiout_unixraw.c
--- midiout_alsaraw.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c midiout_alsaraw.c
--- midi_device.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c midi_device.c
midi_device.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int]
  157 | _midi_device_null_open(guint8 *_0, unsigned int _1) { return 0; }
      | ^~~~~~~~~~~~~~~~~~~~~~
midi_device.c:158:1: warning: return type defaults to 'int' [-Wimplicit-int]
  158 | _midi_device_null_close() { return 0; }
      | ^~~~~~~~~~~~~~~~~~~~~~~
midi_device.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int]
  159 | _midi_device_null_event(guint8 _0, guint8 _1, guint8 _2, guint32 _3) { return 0; }
      | ^~~~~~~~~~~~~~~~~~~~~~~
midi_device.c:160:1: warning: return type defaults to 'int' [-Wimplicit-int]
  160 | _midi_device_null_event2(guint8 _0, guint8 _1, guint32 _2) { return 0; }
      | ^~~~~~~~~~~~~~~~~~~~~~~~
midi_device.c:161:1: warning: return type defaults to 'int' [-Wimplicit-int]
  161 | _midi_device_null_allstop() { return 0; }
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
midi_device.c:162:1: warning: return type defaults to 'int' [-Wimplicit-int]
  162 | _midi_device_null_reverb(short _) { return 0; }
      | ^~~~~~~~~~~~~~~~~~~~~~~~
--- midi_mt32gm.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c midi_mt32gm.c
--- midiout_ossseq.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c midiout_ossseq.c
--- midiout_ossopl3.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -I/opt/local/include/freetype2 -c midiout_ossopl3.c
--- midiout_ossseq.o ---
midiout_ossseq.c: In function 'midiout_ossseq_write':
midiout_ossseq.c:98:18: error: 'SEQ_MIDIPUTC' undeclared (first use in this function)
   98 |         buf[0] = SEQ_MIDIPUTC;
      |                  ^~~~~~~~~~~~
midiout_ossseq.c:98:18: note: each undeclared identifier is reported only once for each function it appears in
*** [midiout_ossseq.o] Error code 1

bmake[3]: stopped making "all" in /home/pbulk/build/games/freesci/work/freesci-0.3.5/src/sound
--- midiout_ossopl3.o ---
midiout_ossopl3.c:146:16: error: expected declaration specifiers or '...' before numeric constant
  146 | SEQ_DEFINEBUF (2048);
      |                ^~~~
midiout_ossopl3.c:147:1: warning: data definition has no type or storage class
  147 | SEQ_PM_DEFINES; /* patch manager stuff */
      | ^~~~~~~~~~~~~~
midiout_ossopl3.c:147:1: warning: type defaults to 'int' in declaration of 'SEQ_PM_DEFINES' [-Wimplicit-int]
midiout_ossopl3.c: In function 'seqbuf_dump':
midiout_ossopl3.c:159:7: error: '_seqbufptr' undeclared (first use in this function)
  159 |   if (_seqbufptr)
      |       ^~~~~~~~~~
midiout_ossopl3.c:159:7: note: each undeclared identifier is reported only once for each function it appears in
midiout_ossopl3.c:160:23: error: '_seqbuf' undeclared (first use in this function); did you mean '_sobuf'?
  160 |     if (write (seqfd, _seqbuf, _seqbufptr) == -1)
      |                       ^~~~~~~
      |                       _sobuf
midiout_ossopl3.c: In function 'midiout_ossopl3_open':
midiout_ossopl3.c:190:21: error: 'SNDCTL_SEQ_NRSYNTHS' undeclared (first use in this function)
  190 |   if (ioctl (seqfd, SNDCTL_SEQ_NRSYNTHS, &n) == -1) {
      |                     ^~~~~~~~~~~~~~~~~~~
midiout_ossopl3.c:196:9: error: invalid use of undefined type 'struct synth_info'
  196 |     info.device = i;
      |         ^
midiout_ossopl3.c:197:23: error: 'SNDCTL_SYNTH_INFO' undeclared (first use in this function); did you mean 'SNDCTL_SYSINFO'?
  197 |     if (ioctl (seqfd, SNDCTL_SYNTH_INFO, &info) == -1) {
      |                       ^~~~~~~~~~~~~~~~~
      |                       SNDCTL_SYSINFO
midiout_ossopl3.c:202:13: error: invalid use of undefined type 'struct synth_info'
  202 |     if (info.synth_type == SYNTH_TYPE_FM
      |             ^
midiout_ossopl3.c:202:28: error: 'SYNTH_TYPE_FM' undeclared (first use in this function)
  202 |     if (info.synth_type == SYNTH_TYPE_FM
      |                            ^~~~~~~~~~~~~
midiout_ossopl3.c:203:16: error: invalid use of undefined type 'struct synth_info'
  203 |         && info.synth_subtype == FM_TYPE_OPL3)
      |                ^
midiout_ossopl3.c:203:34: error: 'FM_TYPE_OPL3' undeclared (first use in this function)
  203 |         && info.synth_subtype == FM_TYPE_OPL3)
      |                                  ^~~~~~~~~~~~
midiout_ossopl3.c:205:37: error: invalid use of undefined type 'struct synth_info'
  205 |     free_voices = num_voices = (info.nr_voices>999)?999:info.nr_voices;
      |                                     ^
midiout_ossopl3.c:205:61: error: invalid use of undefined type 'struct synth_info'
  205 |     free_voices = num_voices = (info.nr_voices>999)?999:info.nr_voices;
      |                                                             ^
midiout_ossopl3.c:212:21: error: 'SNDCTL_SEQ_RESET' undeclared (first use in this function); did you mean 'SNDCTL_DSP_RESET'?
  212 |   if (ioctl (seqfd, SNDCTL_SEQ_RESET, &sb_dev) == -1)
      |                     ^~~~~~~~~~~~~~~~
      |                     SNDCTL_DSP_RESET
midiout_ossopl3.c: In function 'loadfm':
midiout_ossopl3.c:284:27: error: storage size of 'instr' isn't known
  284 |     struct sbi_instrument instr;
      |                           ^~~~~
midiout_ossopl3.c:318:27: error: 'OPL3_PATCH' undeclared (first use in this function); did you mean 'PF_PATH'?
  318 |               instr.key = OPL3_PATCH;
      |                           ^~~~~~~~~~
      |                           PF_PATH
midiout_ossopl3.c:323:27: error: 'FM_PATCH' undeclared (first use in this function)
  323 |               instr.key = FM_PATCH;
      |                           ^~~~~~~~
midiout_ossopl3.c:333:10: warning: implicit declaration of function 'SEQ_WRPATCH' [-Wimplicit-function-declaration]
  333 |          SEQ_WRPATCH(&instr, sizeof(instr));
      |          ^~~~~~~~~~~
midiout_ossopl3.c: In function 'adjustfm':
midiout_ossopl3.c:375:16: error: 'FM_PATCH' undeclared (first use in this function)
  375 |     if (key == FM_PATCH)
      |                ^~~~~~~~
midiout_ossopl3.c: In function 'stop_note':
midiout_ossopl3.c:441:3: warning: implicit declaration of function 'SEQ_STOP_NOTE' [-Wimplicit-function-declaration]
  441 |   SEQ_STOP_NOTE(sb_dev, op, note, velocity);
      |   ^~~~~~~~~~~~~
midiout_ossopl3.c:442:3: warning: implicit declaration of function 'SEQ_DUMPBUF' [-Wimplicit-function-declaration]
  442 |   SEQ_DUMPBUF();
      |   ^~~~~~~~~~~
midiout_ossopl3.c: In function 'start_note':
midiout_ossopl3.c:505:6: warning: implicit declaration of function 'SEQ_SET_PATCH' [-Wimplicit-function-declaration]
  505 |      SEQ_SET_PATCH(sb_dev, free, pgm);
      |      ^~~~~~~~~~~~~
midiout_ossopl3.c:506:6: warning: implicit declaration of function 'SEQ_PITCHBEND' [-Wimplicit-function-declaration]
  506 |      SEQ_PITCHBEND(sb_dev, free, bender);
      |      ^~~~~~~~~~~~~
midiout_ossopl3.c:507:6: warning: implicit declaration of function 'SEQ_START_NOTE' [-Wimplicit-function-declaration]
  507 |      SEQ_START_NOTE(sb_dev, free, note, velocity);
      |      ^~~~~~~~~~~~~~
midiout_ossopl3.c: In function 'channel_pressure':
midiout_ossopl3.c:517:16: warning: implicit declaration of function 'SEQ_CHN_PRESSURE' [-Wimplicit-function-declaration]
  517 |                SEQ_CHN_PRESSURE(sb_dev, i, pressure);
      |                ^~~~~~~~~~~~~~~~
midiout_ossopl3.c: In function 'read_midi':
midiout_ossopl3.c:611:14: error: 'SEQ_MIDIPUTC' undeclared (first use in this function)
  611 |     if(p[0]==SEQ_MIDIPUTC && p[2]==0) {
      |              ^~~~~~~~~~~~
midiout_ossopl3.c: At top level:
midiout_ossopl3.c:96:19: error: storage size of 'info' isn't known
   96 | struct synth_info info;
      |                   ^~~~
*** [midiout_ossopl3.o] Error code 1

bmake[3]: stopped making "all" in /home/pbulk/build/games/freesci/work/freesci-0.3.5/src/sound
bmake[3]: 2 errors

bmake[3]: stopped making "all" in /home/pbulk/build/games/freesci/work/freesci-0.3.5/src/sound
*** [all-recursive] Error code 1

bmake[2]: stopped making "all" in /home/pbulk/build/games/freesci/work/freesci-0.3.5/src
bmake[2]: 1 error

bmake[2]: stopped making "all" in /home/pbulk/build/games/freesci/work/freesci-0.3.5/src
*** [all-recursive] Error code 1

bmake[1]: stopped making "all-recursive" in /home/pbulk/build/games/freesci/work/freesci-0.3.5
bmake[1]: 1 error

bmake[1]: stopped making "all-recursive" in /home/pbulk/build/games/freesci/work/freesci-0.3.5
*** [all-recursive-am] Error code 2

bmake: stopped making "all" in /home/pbulk/build/games/freesci/work/freesci-0.3.5
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/games/freesci/work/freesci-0.3.5
*** Error code 2

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

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