+ 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=311 WRKLOG=/tmp/bulklog/glusterfs-10.4nb4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/glusterfs-10.4nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for glusterfs-10.4nb4
=> 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
/opt/pkg/bin/bmake  all-recursive
Making all in libglusterfs
Making all in src
/opt/pkg/bin/bison -y -p graphyy -d ./graph.y
/opt/pkg/bin/python3.11 ./gen-defaults.py ./defaults-tmpl.c > defaults.c
/opt/pkg/bin/python3.11 ../../events/eventskeygen.py C_HEADER
flex -Pgraphyy -t ./graph.l > graph.lex.c
/opt/pkg/bin/bmake  all-am
  CC       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-dict.lo] Error code 1

bmake[4]: stopped in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4/libglusterfs/src
1 error

bmake[4]: stopped in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4/libglusterfs/src
*** [all] Error code 2

bmake[3]: stopped in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4/libglusterfs/src
1 error

bmake[3]: stopped in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4/libglusterfs/src
*** [all-recursive] Error code 1

bmake[2]: stopped in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4/libglusterfs
1 error

bmake[2]: stopped in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4/libglusterfs
*** [all-recursive] Error code 1

bmake[1]: stopped in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4
1 error

bmake[1]: stopped in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/filesystems/glusterfs/work/glusterfs-10.4
1 error

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

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

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