+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/fuse-sshfs-3.7.4a/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/fuse-sshfs-3.7.4a/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for fuse-sshfs-3.7.4a
ninja: Entering directory `output'
[1/7] Compiling C object sshfs.p/cache.c.o
FAILED: sshfs.p/cache.c.o 
cc -Isshfs.p -I. -I.. -I/usr/pkg/include/fuse -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/gio-unix-2.0 -fdiagnostics-color=always -Wall -Winvalid-pch -D_REENTRANT -DHAVE_CONFIG_H -Wall -Wextra -Wno-sign-compare -Wmissing-declarations -Wwrite-strings -Wno-unused-result -pipe -O2 -pthread -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=31 -MD -MQ sshfs.p/cache.c.o -MF sshfs.p/cache.c.o.d -o sshfs.p/cache.c.o -c ../cache.c
../cache.c:261:32: warning: 'struct fuse_config' declared inside parameter list will not be visible outside of this definition or declaration
  261 |                         struct fuse_config *cfg)
      |                                ^~~~~~~~~~~
../cache.c: In function 'cache_init':
../cache.c:264:15: error: too many arguments to function 'cache.next_oper->init'
  264 |         res = cache.next_oper->init(conn, cfg);
      |               ^~~~~
../cache.c:267:12: error: invalid use of undefined type 'struct fuse_config'
  267 |         cfg->nullpath_ok = 0;
      |            ^~
../cache.c: In function 'cache_getattr':
../cache.c:286:23: error: too many arguments to function 'cache.next_oper->getattr'
  286 |                 err = cache.next_oper->getattr(path, stbuf, fi);
      |                       ^~~~~
../cache.c: At top level:
../cache.c:355:32: warning: 'enum fuse_fill_dir_flags' declared inside parameter list will not be visible outside of this definition or declaration
  355 |                           enum fuse_fill_dir_flags flags)
      |                                ^~~~~~~~~~~~~~~~~~~
../cache.c:355:52: error: parameter 5 ('flags') has incomplete type
  355 |                           enum fuse_fill_dir_flags flags)
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../cache.c: In function 'cache_dirfill':
../cache.c:365:15: error: too many arguments to function 'ch->filler'
  365 |         err = ch->filler(ch->buf, name, stbuf, off, flags);
      |               ^~
../cache.c:355:52: warning: unused parameter 'flags' [-Wunused-parameter]
  355 |                           enum fuse_fill_dir_flags flags)
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../cache.c: At top level:
../cache.c:387:31: warning: 'enum fuse_readdir_flags' declared inside parameter list will not be visible outside of this definition or declaration
  387 |                          enum fuse_readdir_flags flags)
      |                               ^~~~~~~~~~~~~~~~~~
../cache.c:387:50: error: parameter 6 ('flags') has incomplete type
  387 |                          enum fuse_readdir_flags flags)
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../cache.c: In function 'cache_readdir':
../cache.c:408:33: error: too many arguments to function 'filler'
  408 |                                 filler(buf, *dir, NULL, 0, 0);
      |                                 ^~~~~~
../cache.c:437:15: error: too many arguments to function 'cache.next_oper->readdir'
  437 |         err = cache.next_oper->readdir(path, &ch, cache_dirfill, offset, fi, flags);
      |               ^~~~~
../cache.c:387:50: warning: unused parameter 'flags' [-Wunused-parameter]
  387 |                          enum fuse_readdir_flags flags)
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../cache.c: In function 'cache_rename':
../cache.c:510:19: error: too many arguments to function 'cache.next_oper->rename'
  510 |         int err = cache.next_oper->rename(from, to, flags);
      |                   ^~~~~
../cache.c: In function 'cache_chmod':
../cache.c:539:19: error: too many arguments to function 'cache.next_oper->chmod'
  539 |         int err = cache.next_oper->chmod(path, mode, fi);
      |                   ^~~~~
../cache.c: In function 'cache_chown':
../cache.c:558:19: error: too many arguments to function 'cache.next_oper->chown'
  558 |         int err = cache.next_oper->chown(path, uid, gid, fi);
      |                   ^~~~~
../cache.c: In function 'cache_utimens':
../cache.c:577:19: error: too many arguments to function 'cache.next_oper->utimens'
  577 |         int err = cache.next_oper->utimens(path, tv, fi);
      |                   ^~~~~
../cache.c: In function 'cache_truncate':
../cache.c:614:19: error: too many arguments to function 'cache.next_oper->truncate'
  614 |         int err = cache.next_oper->truncate(path, size, fi);
      |                   ^~~~~
../cache.c: In function 'cache_fill':
../cache.c:625:30: warning: assignment to 'int (*)(const char *, mode_t)' {aka 'int (*)(const char *, unsigned int)'} from incompatible pointer type 'int (*)(const char *, mode_t,  struct fuse_file_info *)' {aka 'int (*)(const char *, unsigned int,  struct fuse_file_info *)'} [-Wincompatible-pointer-types]
  625 |         cache_oper->chmod    = oper->chmod ? cache_chmod : NULL;
      |                              ^
../cache.c:626:30: warning: assignment to 'int (*)(const char *, uid_t,  gid_t)' {aka 'int (*)(const char *, unsigned int,  unsigned int)'} from incompatible pointer type 'int (*)(const char *, uid_t,  gid_t,  struct fuse_file_info *)' {aka 'int (*)(const char *, unsigned int,  unsigned int,  struct fuse_file_info *)'} [-Wincompatible-pointer-types]
  626 |         cache_oper->chown    = oper->chown ? cache_chown : NULL;
      |                              ^
../cache.c:630:30: warning: assignment to 'int (*)(const char *, struct stat *)' from incompatible pointer type 'int (*)(const char *, struct stat *, struct fuse_file_info *)' [-Wincompatible-pointer-types]
  630 |         cache_oper->getattr  = oper->getattr ? cache_getattr : NULL;
      |                              ^
../cache.c:632:30: warning: assignment to 'void * (*)(struct fuse_conn_info *)' from incompatible pointer type 'void * (*)(struct fuse_conn_info *, struct fuse_config *)' [-Wincompatible-pointer-types]
  632 |         cache_oper->init     = cache_init;
      |                              ^
../cache.c:645:30: warning: assignment to 'int (*)(const char *, const char *)' from incompatible pointer type 'int (*)(const char *, const char *, unsigned int)' [-Wincompatible-pointer-types]
  645 |         cache_oper->rename   = oper->rename ? cache_rename : NULL;
      |                              ^
../cache.c:650:30: warning: assignment to 'int (*)(const char *, off_t)' {aka 'int (*)(const char *, long int)'} from incompatible pointer type 'int (*)(const char *, off_t,  struct fuse_file_info *)' {aka 'int (*)(const char *, long int,  struct fuse_file_info *)'} [-Wincompatible-pointer-types]
  650 |         cache_oper->truncate = oper->truncate ? cache_truncate : NULL;
      |                              ^
../cache.c:652:30: warning: assignment to 'int (*)(const char *, const struct timespec *)' from incompatible pointer type 'int (*)(const char *, const struct timespec *, struct fuse_file_info *)' [-Wincompatible-pointer-types]
  652 |         cache_oper->utimens  = oper->utimens ? cache_utimens : NULL;
      |                              ^
[2/7] Compiling C object sshfs.p/sshfs.c.o
FAILED: sshfs.p/sshfs.c.o 
cc -Isshfs.p -I. -I.. -I/usr/pkg/include/fuse -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/gio-unix-2.0 -fdiagnostics-color=always -Wall -Winvalid-pch -D_REENTRANT -DHAVE_CONFIG_H -Wall -Wextra -Wno-sign-compare -Wmissing-declarations -Wwrite-strings -Wno-unused-result -pipe -O2 -pthread -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=31 -MD -MQ sshfs.p/sshfs.c.o -MF sshfs.p/sshfs.c.o.d -o sshfs.p/sshfs.c.o -c ../sshfs.c
../sshfs.c: In function 'buf_get_entries':
../sshfs.c:992:33: error: too many arguments to function 'filler'
  992 |                                 filler(dbuf, name, &stbuf, 0, 0);
      |                                 ^~~~~~
../sshfs.c: At top level:
../sshfs.c:1991:32: warning: 'struct fuse_config' declared inside parameter list will not be visible outside of this definition or declaration
 1991 |                         struct fuse_config *cfg)
      |                                ^~~~~~~~~~~
../sshfs.c: In function 'sshfs_init':
../sshfs.c:1998:12: error: invalid use of undefined type 'struct fuse_config'
 1998 |         cfg->nullpath_ok = !(sshfs.truncate_workaround || sshfs.fstat_workaround);
      |            ^~
../sshfs.c:2002:20: error: invalid use of undefined type 'struct fuse_config'
 2002 |                 cfg->nullpath_ok = 0;
      |                    ^~
../sshfs.c:2011:13: error: 'struct fuse_conn_info' has no member named 'time_gran'
 2011 |         conn->time_gran = 1000000000;
      |             ^~
../sshfs.c: In function 'sshfs_access':
../sshfs.c:2183:23: error: too many arguments to function 'sshfs.op->getattr'
 2183 |                 err = sshfs.op->getattr(path, &stbuf, NULL);
      |                       ^~~~~
../sshfs.c: At top level:
../sshfs.c:2444:31: warning: 'enum fuse_readdir_flags' declared inside parameter list will not be visible outside of this definition or declaration
 2444 |                          enum fuse_readdir_flags flags __attribute__((__unused__)))
      |                               ^~~~~~~~~~~~~~~~~~
../sshfs.c:2444:50: error: parameter 6 ('flags') has incomplete type
 2444 |                          enum fuse_readdir_flags flags __attribute__((__unused__)))
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../sshfs.c:3739:31: warning: initialization of 'void * (*)(struct fuse_conn_info *)' from incompatible pointer type 'void * (*)(struct fuse_conn_info *, struct fuse_config *)' [-Wincompatible-pointer-types]
 3739 |                 .init       = sshfs_init,
      |                               ^~~~~~~~~~
../sshfs.c:3739:31: note: (near initialization for 'sshfs_oper.init')
../sshfs.c:3740:31: warning: initialization of 'int (*)(const char *, struct stat *)' from incompatible pointer type 'int (*)(const char *, struct stat *, struct fuse_file_info *)' [-Wincompatible-pointer-types]
 3740 |                 .getattr    = sshfs_getattr,
      |                               ^~~~~~~~~~~~~
../sshfs.c:3740:31: note: (near initialization for 'sshfs_oper.getattr')
../sshfs.c:3751:31: warning: initialization of 'int (*)(const char *, const char *)' from incompatible pointer type 'int (*)(const char *, const char *, unsigned int)' [-Wincompatible-pointer-types]
 3751 |                 .rename     = sshfs_rename,
      |                               ^~~~~~~~~~~~
../sshfs.c:3751:31: note: (near initialization for 'sshfs_oper.rename')
../sshfs.c:3753:31: warning: initialization of 'int (*)(const char *, mode_t)' {aka 'int (*)(const char *, unsigned int)'} from incompatible pointer type 'int (*)(const char *, mode_t,  struct fuse_file_info *)' {aka 'int (*)(const char *, unsigned int,  struct fuse_file_info *)'} [-Wincompatible-pointer-types]
 3753 |                 .chmod      = sshfs_chmod,
      |                               ^~~~~~~~~~~
../sshfs.c:3753:31: note: (near initialization for 'sshfs_oper.chmod')
../sshfs.c:3754:31: warning: initialization of 'int (*)(const char *, uid_t,  gid_t)' {aka 'int (*)(const char *, unsigned int,  unsigned int)'} from incompatible pointer type 'int (*)(const char *, uid_t,  gid_t,  struct fuse_file_info *)' {aka 'int (*)(const char *, unsigned int,  unsigned int,  struct fuse_file_info *)'} [-Wincompatible-pointer-types]
 3754 |                 .chown      = sshfs_chown,
      |                               ^~~~~~~~~~~
../sshfs.c:3754:31: note: (near initialization for 'sshfs_oper.chown')
../sshfs.c:3755:31: warning: initialization of 'int (*)(const char *, off_t)' {aka 'int (*)(const char *, long int)'} from incompatible pointer type 'int (*)(const char *, off_t,  struct fuse_file_info *)' {aka 'int (*)(const char *, long int,  struct fuse_file_info *)'} [-Wincompatible-pointer-types]
 3755 |                 .truncate   = sshfs_truncate,
      |                               ^~~~~~~~~~~~~~
../sshfs.c:3755:31: note: (near initialization for 'sshfs_oper.truncate')
../sshfs.c:3756:31: warning: initialization of 'int (*)(const char *, const struct timespec *)' from incompatible pointer type 'int (*)(const char *, const struct timespec *, struct fuse_file_info *)' [-Wincompatible-pointer-types]
 3756 |                 .utimens    = sshfs_utimens,
      |                               ^~~~~~~~~~~~~
../sshfs.c:3756:31: note: (near initialization for 'sshfs_oper.utimens')
../sshfs.c: In function 'main':
../sshfs.c:4406:53: warning: implicit declaration of function 'fuse_pkgversion'; did you mean 'fuse_version'? [-Wimplicit-function-declaration]
 4406 |                 printf("FUSE library version %s\n", fuse_pkgversion());
      |                                                     ^~~~~~~~~~~~~~~
      |                                                     fuse_version
../sshfs.c:4406:47: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=]
 4406 |                 printf("FUSE library version %s\n", fuse_pkgversion());
      |                                              ~^     ~~~~~~~~~~~~~~~~~
      |                                               |     |
      |                                               |     int
      |                                               char *
      |                                              %d
../sshfs.c:4409:17: warning: implicit declaration of function 'fuse_lowlevel_version'; did you mean 'fuse_lowlevel_new'? [-Wimplicit-function-declaration]
 4409 |                 fuse_lowlevel_version();
      |                 ^~~~~~~~~~~~~~~~~~~~~
      |                 fuse_lowlevel_new
../sshfs.c:4419:17: warning: implicit declaration of function 'fuse_lib_help' [-Wimplicit-function-declaration]
 4419 |                 fuse_lib_help(&args);
      |                 ^~~~~~~~~~~~~
../sshfs.c:4550:25: warning: passing argument 1 of 'fuse_new' from incompatible pointer type [-Wincompatible-pointer-types]
 4550 |         fuse = fuse_new(&args, sshfs.op,
      |                         ^~~~~
      |                         |
      |                         struct fuse_args *
In file included from ../sshfs.c:12:
/home/pbulk/build/filesystems/fuse-sshfs/work/.buildlink/include/fuse/fuse.h:665:41: note: expected 'struct fuse_chan *' but argument is of type 'struct fuse_args *'
  665 | struct fuse *fuse_new(struct fuse_chan *ch, struct fuse_args *args,
      |                       ~~~~~~~~~~~~~~~~~~^~
../sshfs.c:4550:37: warning: passing argument 2 of 'fuse_new' from incompatible pointer type [-Wincompatible-pointer-types]
 4550 |         fuse = fuse_new(&args, sshfs.op,
      |                                ~~~~~^~~
      |                                     |
      |                                     struct fuse_operations *
In file included from ../sshfs.c:12:
/home/pbulk/build/filesystems/fuse-sshfs/work/.buildlink/include/fuse/fuse.h:665:63: note: expected 'struct fuse_args *' but argument is of type 'struct fuse_operations *'
  665 | struct fuse *fuse_new(struct fuse_chan *ch, struct fuse_args *args,
      |                                             ~~~~~~~~~~~~~~~~~~^~~~
../sshfs.c:4551:25: warning: passing argument 3 of 'fuse_new' makes pointer from integer without a cast [-Wint-conversion]
 4551 |                         sizeof(struct fuse_operations), NULL);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         |
      |                         long unsigned int
In file included from ../sshfs.c:12:
/home/pbulk/build/filesystems/fuse-sshfs/work/.buildlink/include/fuse/fuse.h:666:53: note: expected 'const struct fuse_operations *' but argument is of type 'long unsigned int'
  666 |                       const struct fuse_operations *op, size_t op_size,
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../sshfs.c:4551:57: warning: passing argument 4 of 'fuse_new' makes integer from pointer without a cast [-Wint-conversion]
 4551 |                         sizeof(struct fuse_operations), NULL);
      |                                                         ^~~~
      |                                                         |
      |                                                         void *
In file included from ../sshfs.c:12:
/home/pbulk/build/filesystems/fuse-sshfs/work/.buildlink/include/fuse/fuse.h:666:64: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'void *'
  666 |                       const struct fuse_operations *op, size_t op_size,
      |                                                         ~~~~~~~^~~~~~~
../sshfs.c:4550:16: error: too few arguments to function 'fuse_new'
 4550 |         fuse = fuse_new(&args, sshfs.op,
      |                ^~~~~~~~
In file included from ../sshfs.c:12:
/home/pbulk/build/filesystems/fuse-sshfs/work/.buildlink/include/fuse/fuse.h:665:14: note: declared here
  665 | struct fuse *fuse_new(struct fuse_chan *ch, struct fuse_args *args,
      |              ^~~~~~~~
../sshfs.c:4564:21: warning: implicit declaration of function 'fuse_session_fd'; did you mean 'fuse_session_new'? [-Wimplicit-function-declaration]
 4564 |         res = fcntl(fuse_session_fd(se), F_SETFD, FD_CLOEXEC);
      |                     ^~~~~~~~~~~~~~~
      |                     fuse_session_new
../sshfs.c:4600:26: warning: passing argument 1 of 'fuse_mount' from incompatible pointer type [-Wincompatible-pointer-types]
 4600 |         res = fuse_mount(fuse, sshfs.mountpoint);
      |                          ^~~~
      |                          |
      |                          struct fuse *
In file included from /home/pbulk/build/filesystems/fuse-sshfs/work/.buildlink/include/fuse/fuse.h:26,
                 from ../sshfs.c:12:
/home/pbulk/build/filesystems/fuse-sshfs/work/.buildlink/include/fuse/fuse_common.h:206:42: note: expected 'const char *' but argument is of type 'struct fuse *'
  206 | struct fuse_chan *fuse_mount(const char *mountpoint, struct fuse_args *args);
      |                              ~~~~~~~~~~~~^~~~~~~~~~
../sshfs.c:4600:37: warning: passing argument 2 of 'fuse_mount' from incompatible pointer type [-Wincompatible-pointer-types]
 4600 |         res = fuse_mount(fuse, sshfs.mountpoint);
      |                                ~~~~~^~~~~~~~~~~
      |                                     |
      |                                     char *
In file included from /home/pbulk/build/filesystems/fuse-sshfs/work/.buildlink/include/fuse/fuse.h:26,
                 from ../sshfs.c:12:
/home/pbulk/build/filesystems/fuse-sshfs/work/.buildlink/include/fuse/fuse_common.h:206:72: note: expected 'struct fuse_args *' but argument is of type 'char *'
  206 | struct fuse_chan *fuse_mount(const char *mountpoint, struct fuse_args *args);
      |                                                      ~~~~~~~~~~~~~~~~~~^~~~
../sshfs.c:4600:13: warning: assignment to 'int' from 'struct fuse_chan *' makes integer from pointer without a cast [-Wint-conversion]
 4600 |         res = fuse_mount(fuse, sshfs.mountpoint);
      |             ^
../sshfs.c:4614:23: error: too many arguments to function 'fuse_loop_mt'
 4614 |                 res = fuse_loop_mt(fuse, 0);
      |                       ^~~~~~~~~~~~
In file included from ../sshfs.c:12:
/home/pbulk/build/filesystems/fuse-sshfs/work/.buildlink/include/fuse/fuse.h:712:5: note: declared here
  712 | int fuse_loop_mt(struct fuse *f);
      |     ^~~~~~~~~~~~
../sshfs.c:4627:22: warning: passing argument 1 of 'fuse_unmount' from incompatible pointer type [-Wincompatible-pointer-types]
 4627 |         fuse_unmount(fuse);
      |                      ^~~~
      |                      |
      |                      struct fuse *
In file included from /home/pbulk/build/filesystems/fuse-sshfs/work/.buildlink/include/fuse/fuse.h:26,
                 from ../sshfs.c:12:
/home/pbulk/build/filesystems/fuse-sshfs/work/.buildlink/include/fuse/fuse_common.h:214:31: note: expected 'const char *' but argument is of type 'struct fuse *'
  214 | void fuse_unmount(const char *mountpoint, struct fuse_chan *ch);
      |                   ~~~~~~~~~~~~^~~~~~~~~~
../sshfs.c:4627:9: error: too few arguments to function 'fuse_unmount'
 4627 |         fuse_unmount(fuse);
      |         ^~~~~~~~~~~~
In file included from /home/pbulk/build/filesystems/fuse-sshfs/work/.buildlink/include/fuse/fuse.h:26,
                 from ../sshfs.c:12:
/home/pbulk/build/filesystems/fuse-sshfs/work/.buildlink/include/fuse/fuse_common.h:214:6: note: declared here
  214 | void fuse_unmount(const char *mountpoint, struct fuse_chan *ch);
      |      ^~~~~~~~~~~~
At top level:
../sshfs.c:1004:13: warning: 'DEBUG_hexdump' defined but not used [-Wunused-function]
 1004 | static void DEBUG_hexdump(const void *d, size_t datalen)
      |             ^~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
*** Error code 1

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

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/filesystems/fuse-sshfs