+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/glusterfs-10.4nb10/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/glusterfs-10.4nb10/work.log
===> Building for glusterfs-10.4nb10
=> Substituting "etc" in libglusterfs/src/logging.c doc/glusterfsd.8
cd /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4/extras && 					 echo "glusterd.vol.sample: glusterd.vol" >> Makefile &&	 echo "	cp glusterd.vol glusterd.vol.sample" >> Makefile
--- all ---
/opt/pkg/bin/bmake  all-recursive
--- all-recursive ---
Making all in libglusterfs
--- all-recursive ---
Making all in src
--- y.tab.h ---
--- defaults.c ---
--- eventtypes.h ---
--- y.tab.h ---
/opt/pkg/bin/bison -y -p graphyy -d ./graph.y
--- eventtypes.h ---
/opt/pkg/bin/python3.12 ../../events/eventskeygen.py C_HEADER
--- defaults.c ---
/opt/pkg/bin/python3.12 ./gen-defaults.py ./defaults-tmpl.c > defaults.c
--- graph.lex.c ---
flex -Pgraphyy -t ./graph.l > graph.lex.c
--- all ---
/opt/pkg/bin/bmake  all-am
--- libglusterfs_la-dict.lo ---
--- libglusterfs_la-xlator.lo ---
--- libglusterfs_la-logging.lo ---
--- libglusterfs_la-hashfn.lo ---
--- libglusterfs_la-dict.lo ---
  CC       libglusterfs_la-dict.lo
--- libglusterfs_la-xlator.lo ---
  CC       libglusterfs_la-xlator.lo
--- libglusterfs_la-logging.lo ---
  CC       libglusterfs_la-logging.lo
--- libglusterfs_la-hashfn.lo ---
  CC       libglusterfs_la-hashfn.lo
--- libglusterfs_la-xlator.lo ---
In file included from ./glusterfs/glusterfs-fops.h:14,
                 from glusterfs/xlator.h:17,
                 from xlator.c:11:
./glusterfs/compat.h:305: warning: "lgetxattr" redefined
  305 | #define lgetxattr(path, key, value, size)                                      \
      | 
./glusterfs/compat.h:72: note: this is the location of the previous definition
   72 | #define lgetxattr(path, key, value, size) getxattr(path, key, value, size)
      | 
./glusterfs/compat.h:386:46: error: unknown type name 'va_list'
  386 | vasprintf(char **result, const char *format, va_list args);
      |                                              ^~~~~~~
./glusterfs/compat.h:329:1: note: 'va_list' is defined in header '<stdarg.h>'; did you forget to '#include <stdarg.h>'?
  328 | #include <netinet/in.h>
  +++ |+#include <stdarg.h>
  329 | #ifndef s6_addr16
--- libglusterfs_la-logging.lo ---
In file included from ./glusterfs/glusterfs-fops.h:14,
                 from glusterfs/glusterfs.h:34,
                 from logging.c:41:
./glusterfs/compat.h:305: warning: "lgetxattr" redefined
  305 | #define lgetxattr(path, key, value, size)                                      \
      | 
./glusterfs/compat.h:72: note: this is the location of the previous definition
   72 | #define lgetxattr(path, key, value, size) getxattr(path, key, value, size)
      | 
./glusterfs/compat.h:516:2: error: #error 'Please define GF_XATTR_NAME_MAX for your OS distribution.'
  516 | #error 'Please define GF_XATTR_NAME_MAX for your OS distribution.'
      |  ^~~~~
In file included from glusterfs/glusterfs.h:39:
./glusterfs/compat-uuid.h: In function 'gf_uuid_copy':
./glusterfs/compat-uuid.h:31:20: warning: passing argument 2 of 'uuid_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   31 |     uuid_copy(dst, src);
      |                    ^~~
In file included from ./glusterfs/compat-uuid.h:14:
/usr/include/uuid/uuid.h:67:31: note: expected 'uchar_t *' {aka 'unsigned char *'} but argument is of type 'const uchar_t *' {aka 'const unsigned char *'}
   67 | extern void uuid_copy(uuid_t, uuid_t);
      |                               ^~~~~~
./glusterfs/compat-uuid.h: In function 'gf_uuid_parse':
./glusterfs/compat-uuid.h:49:23: warning: passing argument 1 of 'uuid_parse' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   49 |     return uuid_parse(in, uuid);
      |                       ^~
/usr/include/uuid/uuid.h:74:23: note: expected 'char *' but argument is of type 'const char *'
   74 | extern int uuid_parse(char *, uuid_t);
      |                       ^~~~~~
./glusterfs/compat-uuid.h: In function 'gf_uuid_unparse':
./glusterfs/compat-uuid.h:55:18: warning: passing argument 1 of 'uuid_unparse' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   55 |     uuid_unparse(uuid, out);
      |                  ^~~~
/usr/include/uuid/uuid.h:69:26: note: expected 'uchar_t *' {aka 'unsigned char *'} but argument is of type 'const uchar_t *' {aka 'const unsigned char *'}
   69 | extern void uuid_unparse(uuid_t, char *);
      |                          ^~~~~~
--- libglusterfs_la-xlator.lo ---
./glusterfs/compat.h:516:2: error: #error 'Please define GF_XATTR_NAME_MAX for your OS distribution.'
  516 | #error 'Please define GF_XATTR_NAME_MAX for your OS distribution.'
      |  ^~~~~
--- libglusterfs_la-dict.lo ---
In file included from ./glusterfs/glusterfs-fops.h:14,
                 from ./glusterfs/glusterfs.h:34,
                 from ./glusterfs/mem-pool.h:18,
                 from ./glusterfs/common-utils.h:48,
                 from glusterfs/dict.h:19,
                 from dict.c:27:
./glusterfs/compat.h:305: warning: "lgetxattr" redefined
  305 | #define lgetxattr(path, key, value, size)                                      \
      | 
./glusterfs/compat.h:72: note: this is the location of the previous definition
   72 | #define lgetxattr(path, key, value, size) getxattr(path, key, value, size)
      | 
./glusterfs/compat.h:516:2: error: #error 'Please define GF_XATTR_NAME_MAX for your OS distribution.'
  516 | #error 'Please define GF_XATTR_NAME_MAX for your OS distribution.'
      |  ^~~~~
In file included from ./glusterfs/glusterfs.h:39:
./glusterfs/compat-uuid.h: In function 'gf_uuid_copy':
./glusterfs/compat-uuid.h:31:20: warning: passing argument 2 of 'uuid_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   31 |     uuid_copy(dst, src);
      |                    ^~~
In file included from ./glusterfs/common-utils.h:28:
/usr/include/uuid/uuid.h:67:31: note: expected 'uchar_t *' {aka 'unsigned char *'} but argument is of type 'const uchar_t *' {aka 'const unsigned char *'}
   67 | extern void uuid_copy(uuid_t, uuid_t);
      |                               ^~~~~~
./glusterfs/compat-uuid.h: In function 'gf_uuid_parse':
./glusterfs/compat-uuid.h:49:23: warning: passing argument 1 of 'uuid_parse' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   49 |     return uuid_parse(in, uuid);
      |                       ^~
/usr/include/uuid/uuid.h:74:23: note: expected 'char *' but argument is of type 'const char *'
   74 | extern int uuid_parse(char *, uuid_t);
      |                       ^~~~~~
./glusterfs/compat-uuid.h: In function 'gf_uuid_unparse':
./glusterfs/compat-uuid.h:55:18: warning: passing argument 1 of 'uuid_unparse' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   55 |     uuid_unparse(uuid, out);
      |                  ^~~~
/usr/include/uuid/uuid.h:69:26: note: expected 'uchar_t *' {aka 'unsigned char *'} but argument is of type 'const uchar_t *' {aka 'const unsigned char *'}
   69 | extern void uuid_unparse(uuid_t, char *);
      |                          ^~~~~~
--- libglusterfs_la-xlator.lo ---
/usr/include/dirent.h:102:25: error: expected ')' before '*' token
  102 | extern int              dirfd(DIR *);
      |                         ^~~~~
./glusterfs/compat.h:316:28: error: expected ')' before '->' token
  316 | #define dirfd(dirp) ((dirp)->dd_fd)
      |                            ^~
In file included from ./glusterfs/glusterfs.h:39,
                 from glusterfs/xlator.h:19:
./glusterfs/compat-uuid.h: In function 'gf_uuid_copy':
./glusterfs/compat-uuid.h:31:20: warning: passing argument 2 of 'uuid_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   31 |     uuid_copy(dst, src);
      |                    ^~~
In file included from ./glusterfs/compat-uuid.h:14:
/usr/include/uuid/uuid.h:67:31: note: expected 'uchar_t *' {aka 'unsigned char *'} but argument is of type 'const uchar_t *' {aka 'const unsigned char *'}
   67 | extern void uuid_copy(uuid_t, uuid_t);
      |                               ^~~~~~
./glusterfs/compat-uuid.h: In function 'gf_uuid_parse':
./glusterfs/compat-uuid.h:49:23: warning: passing argument 1 of 'uuid_parse' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   49 |     return uuid_parse(in, uuid);
      |                       ^~
/usr/include/uuid/uuid.h:74:23: note: expected 'char *' but argument is of type 'const char *'
   74 | extern int uuid_parse(char *, uuid_t);
      |                       ^~~~~~
./glusterfs/compat-uuid.h: In function 'gf_uuid_unparse':
./glusterfs/compat-uuid.h:55:18: warning: passing argument 1 of 'uuid_unparse' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   55 |     uuid_unparse(uuid, out);
      |                  ^~~~
/usr/include/uuid/uuid.h:69:26: note: expected 'uchar_t *' {aka 'unsigned char *'} but argument is of type 'const uchar_t *' {aka 'const unsigned char *'}
   69 | extern void uuid_unparse(uuid_t, char *);
      |                          ^~~~~~
--- libglusterfs_la-logging.lo ---
logging.c: In function 'gf_log_init':
logging.c:692:27: error: implicit declaration of function 'rindex' [-Werror=implicit-function-declaration]
  692 |         char *tmp_index = rindex(logdir, '/');
      |                           ^~~~~~
logging.c:692:27: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch]
cc1: some warnings being treated as errors
*** [libglusterfs_la-logging.lo] Error code 1

bmake[4]: stopped making "all-am" in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4/libglusterfs/src
--- libglusterfs_la-dict.lo ---
*** [libglusterfs_la-dict.lo] Error code 1

bmake[4]: stopped making "all-am" in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4/libglusterfs/src
--- libglusterfs_la-xlator.lo ---
*** [libglusterfs_la-xlator.lo] Error code 1

bmake[4]: stopped making "all-am" in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4/libglusterfs/src
bmake[4]: 3 errors

bmake[4]: stopped making "all-am" in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4/libglusterfs/src

bmake[3]: stopped making "all" in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4/libglusterfs/src

bmake[2]: stopped making "all" in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4/libglusterfs

bmake[1]: stopped making "all-recursive" in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4

bmake: stopped making "all" in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4
*** Error code 2

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

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