+ 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/gamin-0.1.10nb9/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gamin-0.1.10nb9/work.log
===> Building for gamin-0.1.10nb9
/opt/pkg/bin/bmake  all-recursive
Making all in lib
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_event.o -MD -MP -MF .deps/gam_event.Tpo -c -o gam_event.o gam_event.c
mv -f .deps/gam_event.Tpo .deps/gam_event.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_error.o -MD -MP -MF .deps/gam_error.Tpo -c -o gam_error.o gam_error.c
gam_error.c:79:1: warning: no previous prototype for 'gam_error_init' [-Wmissing-prototypes]
   79 | gam_error_init(void)
      | ^~~~~~~~~~~~~~
gam_error.c:111:1: warning: no previous prototype for 'gam_error_check' [-Wmissing-prototypes]
  111 | gam_error_check(void)
      | ^~~~~~~~~~~~~~~
gam_error.c:170:1: warning: no previous prototype for 'gam_debug' [-Wmissing-prototypes]
  170 | gam_debug(const char *file, int line, const char *function,
      | ^~~~~~~~~
mv -f .deps/gam_error.Tpo .deps/gam_error.Po
rm -f libgamin_shared.a
ar cru libgamin_shared.a gam_event.o gam_error.o 
ranlib libgamin_shared.a
Making all in doc
Making all in lib
Making all in server
/opt/pkg/bin/bmake  all-am
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_subscription.o -MD -MP -MF .deps/gam_subscription.Tpo -c -o gam_subscription.o gam_subscription.c
gam_subscription.c:351:1: warning: no previous prototype for 'gam_subscription_shutdown' [-Wmissing-prototypes]
  351 | gam_subscription_shutdown ()
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/gam_subscription.Tpo .deps/gam_subscription.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_listener.o -MD -MP -MF .deps/gam_listener.Tpo -c -o gam_listener.o gam_listener.c
gam_listener.c: In function 'gam_listener_free_subscription':
gam_listener.c:101:39: warning: implicit declaration of function 'gam_exclude_check' [-Wimplicit-function-declaration]
  101 |     if (gam_inotify_is_running() && (!gam_exclude_check(path))) {
      |                                       ^~~~~~~~~~~~~~~~~
gam_listener.c:101:39: warning: nested extern declaration of 'gam_exclude_check' [-Wnested-externs]
mv -f .deps/gam_listener.Tpo .deps/gam_listener.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_server.o -MD -MP -MF .deps/gam_server.Tpo -c -o gam_server.o gam_server.c
gam_server.c: In function 'gam_init_subscriptions':
gam_server.c:167:13: warning: implicit declaration of function 'gam_poll_basic_init'; did you mean 'gam_poll_generic_init'? [-Wimplicit-function-declaration]
  167 |         if (gam_poll_basic_init()) {
      |             ^~~~~~~~~~~~~~~~~~~
      |             gam_poll_generic_init
gam_server.c:167:13: warning: nested extern declaration of 'gam_poll_basic_init' [-Wnested-externs]
gam_server.c: In function 'gam_server_emit_event':
gam_server.c:373:9: warning: variable 'pathlen' set but not used [-Wunused-but-set-variable]
  373 |     int pathlen;
      |         ^~~~~~~
gam_server.c: In function 'main':
gam_server.c:624:5: warning: implicit declaration of function 'gam_error_init'; did you mean 'gam_server_init'? [-Wimplicit-function-declaration]
  624 |     gam_error_init();
      |     ^~~~~~~~~~~~~~
      |     gam_server_init
gam_server.c:624:5: warning: nested extern declaration of 'gam_error_init' [-Wnested-externs]
mv -f .deps/gam_server.Tpo .deps/gam_server.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_node.o -MD -MP -MF .deps/gam_node.Tpo -c -o gam_node.o gam_node.c
gam_node.c: In function 'gam_node_emit_event':
gam_node.c:375:9: warning: implicit declaration of function 'gam_server_emit_event'; did you mean 'gam_node_emit_event'? [-Wimplicit-function-declaration]
  375 |         gam_server_emit_event(gam_node_get_path(node), is_dir_node, event, subs, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~
      |         gam_node_emit_event
gam_node.c:375:9: warning: nested extern declaration of 'gam_server_emit_event' [-Wnested-externs]
mv -f .deps/gam_node.Tpo .deps/gam_node.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_tree.o -MD -MP -MF .deps/gam_tree.Tpo -c -o gam_tree.o gam_tree.c
mv -f .deps/gam_tree.Tpo .deps/gam_tree.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_poll_basic.o -MD -MP -MF .deps/gam_poll_basic.Tpo -c -o gam_poll_basic.o gam_poll_basic.c
gam_poll_basic.c: In function 'gam_poll_basic_poll_file':
gam_poll_basic.c:281:21: warning: variable 'path' set but not used [-Wunused-but-set-variable]
  281 |         const char *path = NULL;
      |                     ^~~~
mv -f .deps/gam_poll_basic.Tpo .deps/gam_poll_basic.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_poll_generic.o -MD -MP -MF .deps/gam_poll_generic.Tpo -c -o gam_poll_generic.o gam_poll_generic.c
gam_poll_generic.c: In function 'gam_poll_generic_trigger_file_handler':
gam_poll_generic.c:199:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  199 |     if (node->mon_type != GFS_MT_KERNEL)
      |     ^~
gam_poll_generic.c:202:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  202 |         if (gam_server_get_kernel_handler() == GAMIN_K_DNOTIFY || gam_server_get_kernel_handler() == GAMIN_K_INOTIFY) {
      |         ^~
gam_poll_generic.c: In function 'gam_poll_generic_scan_directory_internal':
gam_poll_generic.c:282:22: warning: variable 'exists' set but not used [-Wunused-but-set-variable]
  282 |         unsigned int exists = 0;
      |                      ^~~~~~
mv -f .deps/gam_poll_generic.Tpo .deps/gam_poll_generic.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_pidname.o -MD -MP -MF .deps/gam_pidname.Tpo -c -o gam_pidname.o gam_pidname.c
mv -f .deps/gam_pidname.Tpo .deps/gam_pidname.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_channel.o -MD -MP -MF .deps/gam_channel.Tpo -c -o gam_channel.o gam_channel.c
gam_channel.c: In function 'gam_client_conn_send_cred':
gam_channel.c:74:18: warning: assignment to 'caddr_t' {aka 'char *'} from incompatible pointer type 'pid_t *' {aka 'int *'} [-Wincompatible-pointer-types]
   74 |     iov.iov_base = &pid;
      |                  ^
gam_channel.c: In function 'gam_client_conn_check_cred':
gam_channel.c:132:18: warning: assignment to 'caddr_t' {aka 'char *'} from incompatible pointer type 'pid_t *' {aka 'int *'} [-Wincompatible-pointer-types]
  132 |     iov.iov_base = &pid;
      |                  ^
gam_channel.c:125:11: warning: unused variable 'c_gid' [-Wunused-variable]
  125 |     gid_t c_gid;
      |           ^~~~~
gam_channel.c: In function 'gam_listen_unix_socket':
gam_channel.c:652:17: warning: unused variable 'st' [-Wunused-variable]
  652 |     struct stat st;
      |                 ^~
mv -f .deps/gam_channel.Tpo .deps/gam_channel.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_connection.o -MD -MP -MF .deps/gam_connection.Tpo -c -o gam_connection.o gam_connection.c
gam_connection.c: In function 'gam_connection_request':
gam_connection.c:402:49: warning: implicit declaration of function 'gam_exclude_check' [-Wimplicit-function-declaration]
  402 |             if ((gam_inotify_is_running()) && (!gam_exclude_check(path))) {
      |                                                 ^~~~~~~~~~~~~~~~~
gam_connection.c:402:49: warning: nested extern declaration of 'gam_exclude_check' [-Wnested-externs]
gam_connection.c: At top level:
gam_connection.c:49:1: warning: 'gam_reqtype_to_string' defined but not used [-Wunused-function]
   49 | gam_reqtype_to_string (GAMReqType type)
      | ^~~~~~~~~~~~~~~~~~~~~
mv -f .deps/gam_connection.Tpo .deps/gam_connection.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_debugging.o -MD -MP -MF .deps/gam_debugging.Tpo -c -o gam_debugging.o gam_debugging.c
mv -f .deps/gam_debugging.Tpo .deps/gam_debugging.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_excludes.o -MD -MP -MF .deps/gam_excludes.Tpo -c -o gam_excludes.o gam_excludes.c
gam_excludes.c: In function 'gam_exclude_check_all':
gam_excludes.c:85:13: warning: 'g_pattern_match' is deprecated: Use 'g_pattern_spec_match' instead [-Wdeprecated-declarations]
   85 |             (g_pattern_match(ptr->comp, len, filename, NULL))) {
      |             ^
In file included from /home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib.h:68,
                 from gam_excludes.c:7:
/home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib/gpattern.h:52:15: note: declared here
   52 | gboolean      g_pattern_match          (GPatternSpec *pspec,
      |               ^~~~~~~~~~~~~~~
gam_excludes.c: In function 'gam_exclude_debug':
gam_excludes.c:146:33: warning: unused variable 'exclude' [-Wunused-variable]
  146 |                 gam_exclude_ptr exclude = l->data;
      |                                 ^~~~~~~
mv -f .deps/gam_excludes.Tpo .deps/gam_excludes.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_fs.o -MD -MP -MF .deps/gam_fs.Tpo -c -o gam_fs.o gam_fs.c
gam_fs.c: In function 'gam_fs_debug':
gam_fs.c:385:17: warning: variable 'fs' set but not used [-Wunused-but-set-variable]
  385 |         gam_fs *fs = NULL;
      |                 ^~
gam_fs.c:384:28: warning: variable 'prop' set but not used [-Wunused-but-set-variable]
  384 |         gam_fs_properties *prop = NULL;
      |                            ^~~~
gam_fs.c: At top level:
gam_fs.c:113:1: warning: 'gam_fs_filesystem_sort_cb' defined but not used [-Wunused-function]
  113 | gam_fs_filesystem_sort_cb (gconstpointer a, gconstpointer b)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
gam_fs.c:40:1: warning: 'gam_fs_free_filesystems' defined but not used [-Wunused-function]
   40 | gam_fs_free_filesystems (void)
      | ^~~~~~~~~~~~~~~~~~~~~~~
gam_fs.c:37:31: warning: 'hal_mtab_sbuf' defined but not used [-Wunused-variable]
   37 | static struct stat mtab_sbuf, hal_mtab_sbuf;
      |                               ^~~~~~~~~~~~~
gam_fs.c:37:20: warning: 'mtab_sbuf' defined but not used [-Wunused-variable]
   37 | static struct stat mtab_sbuf, hal_mtab_sbuf;
      |                    ^~~~~~~~~
gam_fs.c:31:17: warning: 'initialized' defined but not used [-Wunused-variable]
   31 | static gboolean initialized = FALSE;
      |                 ^~~~~~~~~~~
mv -f .deps/gam_fs.Tpo .deps/gam_fs.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_conf.o -MD -MP -MF .deps/gam_conf.Tpo -c -o gam_conf.o gam_conf.c
mv -f .deps/gam_conf.Tpo .deps/gam_conf.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_eq.o -MD -MP -MF .deps/gam_eq.Tpo -c -o gam_eq.o gam_eq.c
mv -f .deps/gam_eq.Tpo .deps/gam_eq.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT gam_inotify.o -MD -MP -MF .deps/gam_inotify.Tpo -c -o gam_inotify.o gam_inotify.c
gam_inotify.c: In function 'gam_inotify_init':
gam_inotify.c:145:9: warning: implicit declaration of function 'gam_poll_basic_init' [-Wimplicit-function-declaration]
  145 |         gam_poll_basic_init ();
      |         ^~~~~~~~~~~~~~~~~~~
gam_inotify.c:145:9: warning: nested extern declaration of 'gam_poll_basic_init' [-Wnested-externs]
mv -f .deps/gam_inotify.Tpo .deps/gam_inotify.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT inotify-helper.o -MD -MP -MF .deps/inotify-helper.Tpo -c -o inotify-helper.o inotify-helper.c
mv -f .deps/inotify-helper.Tpo .deps/inotify-helper.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..  -I../libgamin -I../protocol  -I../lib -I../libgamin -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include  -DBINDIR=\""/opt/pkg/libexec"\" -DG_DISABLE_DEPRECATED     -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/include -MT inotify-kernel.o -MD -MP -MF .deps/inotify-kernel.Tpo -c -o inotify-kernel.o inotify-kernel.c
inotify-kernel.c:68:9: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   68 |         GTimeVal hold_until;
      |         ^~~~~~~~
In file included from /home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib/galloca.h:34,
                 from /home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib.h:32,
                 from inotify-kernel.c:24:
/home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
inotify-kernel.c: In function 'ik_source_check':
inotify-kernel.c:116:49: error: 'FIONREAD' undeclared (first use in this function)
  116 |                 if (ioctl (inotify_instance_fd, FIONREAD, &pending) == -1)
      |                                                 ^~~~~~~~
inotify-kernel.c:116:49: note: each undeclared identifier is reported only once for each function it appears in
inotify-kernel.c: In function 'ik_event_internal_new':
inotify-kernel.c:217:9: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  217 |         GTimeVal tv;
      |         ^~~~~~~~
/home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
inotify-kernel.c:221:9: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations]
  221 |         g_get_current_time (&tv);
      |         ^~~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib/giochannel.h:35,
                 from /home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib.h:56:
/home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib/gmain.h:819:8: note: declared here
  819 | void   g_get_current_time                 (GTimeVal       *result);
      |        ^~~~~~~~~~~~~~~~~~
inotify-kernel.c:222:9: warning: 'g_time_val_add' is deprecated [-Wdeprecated-declarations]
  222 |         g_time_val_add (&tv, DEFAULT_HOLD_UNTIL_TIME);
      |         ^~~~~~~~~~~~~~
In file included from /home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib.h:92:
/home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib/gtimer.h:69:10: note: declared here
   69 | void     g_time_val_add          (GTimeVal    *time_,
      |          ^~~~~~~~~~~~~~
inotify-kernel.c: At top level:
inotify-kernel.c:489:1: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  489 | g_timeval_lt(GTimeVal *val1, GTimeVal *val2)
      | ^~~~~~~~~~~~
/home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
inotify-kernel.c:489:1: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  489 | g_timeval_lt(GTimeVal *val1, GTimeVal *val2)
      | ^~~~~~~~~~~~
/home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
inotify-kernel.c:505:1: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  505 | g_timeval_eq(GTimeVal *val1, GTimeVal *val2)
      | ^~~~~~~~~~~~
/home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
inotify-kernel.c:505:1: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  505 | g_timeval_eq(GTimeVal *val1, GTimeVal *val2)
      | ^~~~~~~~~~~~
/home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
inotify-kernel.c: In function 'ik_event_add_microseconds':
inotify-kernel.c:533:9: warning: 'g_time_val_add' is deprecated [-Wdeprecated-declarations]
  533 |         g_time_val_add (&event->hold_until, ms);
      |         ^~~~~~~~~~~~~~
/home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib/gtimer.h:69:10: note: declared here
   69 | void     g_time_val_add          (GTimeVal    *time_,
      |          ^~~~~~~~~~~~~~
inotify-kernel.c: In function 'ik_event_ready':
inotify-kernel.c:539:9: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  539 |         GTimeVal tv;
      |         ^~~~~~~~
/home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
inotify-kernel.c:542:9: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations]
  542 |         g_get_current_time (&tv);
      |         ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/gamin/work/.buildlink/include/glib-2.0/glib/gmain.h:819:8: note: declared here
  819 | void   g_get_current_time                 (GTimeVal       *result);
      |        ^~~~~~~~~~~~~~~~~~
*** Error code 1

Stop.
bmake[3]: stopped making "all-am" in /home/pbulk/build/sysutils/gamin/work/gamin-0.1.10/server
*** Error code 1

Stop.
bmake[2]: stopped making "all" in /home/pbulk/build/sysutils/gamin/work/gamin-0.1.10/server
*** Error code 1

Stop.
bmake[1]: stopped making "all-recursive" in /home/pbulk/build/sysutils/gamin/work/gamin-0.1.10
*** Error code 1

Stop.
bmake: stopped making "all" in /home/pbulk/build/sysutils/gamin/work/gamin-0.1.10
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/gamin
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/gamin