+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fuse-lzofs-20060306nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fuse-lzofs-20060306nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for fuse-lzofs-20060306nb2
gcc -o lzo_fs LZOlayer_fs.c -g  -pipe -O2 -I/usr/pkg/include -Wall -D_FILE_OFFSET_BITS=64 -I/usr/pkg/include -fomit-frame-pointer -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lfuse -lz -llzo2
In file included from /home/pbulk/build/filesystems/fuse-lzofs/work/.buildlink/include/fuse/fuse.h:26,
                 from /home/pbulk/build/filesystems/fuse-lzofs/work/.buildlink/include/fuse.h:9,
                 from LZOlayer_fs.c:11:
/home/pbulk/build/filesystems/fuse-lzofs/work/.buildlink/include/fuse/fuse_common.h:497:10: error: #error Compatibility with API version other than 21, 22, 24, 25 and 11 not supported
  497 | #        error Compatibility with API version other than 21, 22, 24, 25 and 11 not supported
      |          ^~~~~
LZOlayer_fs.c: In function 'LZOlayer_readdir':
LZOlayer_fs.c:150:18: error: 'MAXPATHLEN' undeclared (first use in this function); did you mean 'MAXNAMLEN'?
  150 |   char     dpath[MAXPATHLEN+1];
      |                  ^~~~~~~~~~
      |                  MAXNAMLEN
LZOlayer_fs.c:150:18: note: each undeclared identifier is reported only once for each function it appears in
LZOlayer_fs.c:150:12: warning: unused variable 'dpath' [-Wunused-variable]
  150 |   char     dpath[MAXPATHLEN+1];
      |            ^~~~~
LZOlayer_fs.c: In function 'LZOlayer_packet_sync':
LZOlayer_fs.c:303:35: warning: integer overflow in expression of type 'int' results in '0' [-Woverflow]
  303 |       uLong cblocks = (256*256*256*256)-1;
      |                                   ^
LZOlayer_fs.c: At top level:
LZOlayer_fs.c:616:4: error: 'struct fuse_operations_compat1' has no member named 'readdir'
  616 |   .readdir  = LZOlayer_readdir,
      |    ^~~~~~~
LZOlayer_fs.c:616:15: warning: initialization of 'int (*)(const char *, mode_t)' {aka 'int (*)(const char *, unsigned int)'} from incompatible pointer type 'int (*)(const char *, void *, int (*)(void *, const char *, const struct stat *, off_t), off_t,  struct fuse_file_info *)' {aka 'int (*)(const char *, void *, int (*)(void *, const char *, const struct stat *, long int), long int,  struct fuse_file_info *)'} [-Wincompatible-pointer-types]
  616 |   .readdir  = LZOlayer_readdir,
      |               ^~~~~~~~~~~~~~~~
LZOlayer_fs.c:616:15: note: (near initialization for 'LZOlayer_oper.mkdir')
LZOlayer_fs.c:617:15: warning: initialization of 'int (*)(const char *, int)' from incompatible pointer type 'int (*)(const char *, struct fuse_file_info *)' [-Wincompatible-pointer-types]
  617 |   .open     = LZOlayer_open,
      |               ^~~~~~~~~~~~~
LZOlayer_fs.c:617:15: note: (near initialization for 'LZOlayer_oper.open')
LZOlayer_fs.c:618:15: warning: initialization of 'int (*)(const char *, int)' from incompatible pointer type 'int (*)(const char *, struct fuse_file_info *)' [-Wincompatible-pointer-types]
  618 |   .release  = LZOlayer_release,
      |               ^~~~~~~~~~~~~~~~
LZOlayer_fs.c:618:15: note: (near initialization for 'LZOlayer_oper.release')
LZOlayer_fs.c:619:15: warning: initialization of 'int (*)(const char *, char *, size_t,  off_t)' {aka 'int (*)(const char *, char *, long unsigned int,  long int)'} from incompatible pointer type 'int (*)(const char *, char *, size_t,  off_t,  struct fuse_file_info *)' {aka 'int (*)(const char *, char *, long unsigned int,  long int,  struct fuse_file_info *)'} [-Wincompatible-pointer-types]
  619 |   .read     = LZOlayer_read,
      |               ^~~~~~~~~~~~~
LZOlayer_fs.c:619:15: note: (near initialization for 'LZOlayer_oper.read')
LZOlayer_fs.c:620:15: warning: initialization of 'int (*)(const char *, const char *, size_t,  off_t)' {aka 'int (*)(const char *, const char *, long unsigned int,  long int)'} from incompatible pointer type 'int (*)(const char *, const char *, size_t,  off_t,  struct fuse_file_info *)' {aka 'int (*)(const char *, const char *, long unsigned int,  long int,  struct fuse_file_info *)'} [-Wincompatible-pointer-types]
  620 |   .write    = LZOlayer_write,
      |               ^~~~~~~~~~~~~~
LZOlayer_fs.c:620:15: note: (near initialization for 'LZOlayer_oper.write')
In file included from /home/pbulk/build/filesystems/fuse-lzofs/work/.buildlink/include/fuse.h:9,
                 from LZOlayer_fs.c:11:
LZOlayer_fs.c: In function 'main':
/home/pbulk/build/filesystems/fuse-lzofs/work/.buildlink/include/fuse/fuse.h:1050:25: error: void value not ignored as it ought to be
 1050 | #      define fuse_main fuse_main_compat1
LZOlayer_fs.c:733:10: note: in expansion of macro 'fuse_main'
  733 |   return fuse_main(argc_new, argv_new, &LZOlayer_oper);
      |          ^~~~~~~~~
LZOlayer_fs.c: In function 'LZOlayer_release':
LZOlayer_fs.c:337:7: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result]
  337 |       chown(filePtr->path, fuse_get_context()->uid, fuse_get_context()->gid);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:342:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  342 |     write(fd, &filePtr->size, sizeof(off_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c: In function 'LZOlayer_packet_sync':
LZOlayer_fs.c:310:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  310 |     write(fd, &nblock_size, sizeof(off_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:311:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  311 |     write(fd, &cblock_size, sizeof(off_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:312:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  312 |     write(fd, out, cblock_size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c: In function 'LZOlayer_block_seek':
LZOlayer_fs.c:110:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  110 |     read(fd, &nblock_size, sizeof(off_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:111:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  111 |     read(fd, &cblock_size, sizeof(off_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c: In function 'LZOlayer_open':
LZOlayer_fs.c:186:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  186 |   read(fd, &outLen, sizeof(off_t));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c: In function 'LZOlayer_truncate':
LZOlayer_fs.c:414:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  414 |   read(fd, &file_size, sizeof(off_t));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:423:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  423 |       write(fd, &size, sizeof(off_t));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:424:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  424 |       write(fd, &size, sizeof(off_t));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:425:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  425 |       write(fd, &size, sizeof(off_t));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:427:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
  427 |       ftruncate(fd, curr);
      |       ^~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:446:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  446 |     write(fd, &nblock_size, sizeof(off_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:447:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  447 |     write(fd, &cblock_size, sizeof(off_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:448:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  448 |     write(fd, out, cblock_size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:451:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
  451 |     ftruncate(fd, curr_pos);
      |     ^~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:454:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  454 |     write(fd, &size, sizeof(off_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:489:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  489 |       write(fd, &nblock_size, sizeof(off_t));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:490:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  490 |       write(fd, &cblock_size, sizeof(off_t));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:491:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  491 |       write(fd, out, cblock_size);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:495:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
  495 |     ftruncate(fd, curr_pos);
      |     ^~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:498:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  498 |     write(fd, &size, sizeof(off_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c: In function 'LZOlayer_chown':
LZOlayer_fs.c:550:3: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result]
  550 |   chown(xPath, uid, gid);
      |   ^~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c: In function 'LZOlayer_symlink':
LZOlayer_fs.c:559:3: warning: ignoring return value of 'symlink' declared with attribute 'warn_unused_result' [-Wunused-result]
  559 |   symlink(from, xTo);
      |   ^~~~~~~~~~~~~~~~~~
LZOlayer_fs.c: In function 'LZOlayer_mkdir':
LZOlayer_fs.c:523:3: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result]
  523 |   chown(xPath, fuse_get_context()->uid, fuse_get_context()->gid);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c: In function 'LZOlayer_mknod':
LZOlayer_fs.c:395:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  395 |     write(fd, &null, sizeof(off_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:396:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  396 |     write(fd, &null, sizeof(off_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:397:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  397 |     write(fd, &null, sizeof(off_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:400:5: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result]
  400 |     chown(xPath, fuse_get_context()->uid, fuse_get_context()->gid);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c: In function 'LZOlayer_getattr':
LZOlayer_fs.c:132:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  132 |     read(fd, &stbuf->st_size, sizeof(off_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZOlayer_fs.c:138:5: warning: ignoring return value of 'readlink' declared with attribute 'warn_unused_result' [-Wunused-result]
  138 |     readlink(xPath, mem, 4097);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:12: lzo_fs] Error 1
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/filesystems/fuse-lzofs