+ 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/augeas-1.14.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/augeas-1.14.1/work.log
===> Building for augeas-1.14.1
--- all ---
/opt/pkg/bin/bmake  all-recursive
--- all-recursive ---
Making all in gnulib/lib
--- malloc/dynarray.gl.h ---
--- malloc/dynarray-skeleton.gl.h ---
--- malloc/scratch_buffer.gl.h ---
--- alloca.h ---
--- malloc/dynarray-skeleton.gl.h ---
  GEN      malloc/dynarray-skeleton.gl.h
--- malloc/dynarray.gl.h ---
  GEN      malloc/dynarray.gl.h
--- malloc/scratch_buffer.gl.h ---
  GEN      malloc/scratch_buffer.gl.h
--- alloca.h ---
  GEN      alloca.h
--- argz.h ---
--- ctype.h ---
--- fcntl.h ---
--- argz.h ---
  GEN      argz.h
--- ctype.h ---
  GEN      ctype.h
--- fcntl.h ---
  GEN      fcntl.h
--- getopt.h ---
  GEN      getopt.h
--- getopt-cdefs.h ---
--- inttypes.h ---
--- langinfo.h ---
--- getopt-cdefs.h ---
  GEN      getopt-cdefs.h
--- langinfo.h ---
  GEN      langinfo.h
--- inttypes.h ---
  GEN      inttypes.h
--- limits.h ---
--- locale.h ---
--- selinux/selinux.h ---
--- selinux/context.h ---
--- limits.h ---
  GEN      limits.h
--- locale.h ---
  GEN      locale.h
--- selinux/selinux.h ---
  GEN      selinux/selinux.h
--- selinux/context.h ---
  GEN      selinux/context.h
--- selinux/label.h ---
--- stdckdint.h ---
--- selinux/label.h ---
  GEN      selinux/label.h
--- stdckdint.h ---
  GEN      stdckdint.h
--- stdint.h ---
  GEN      stdint.h
--- stdio.h ---
--- stdlib.h ---
--- stdio.h ---
  GEN      stdio.h
--- stdlib.h ---
  GEN      stdlib.h
--- string.h ---
  GEN      string.h
--- sys/random.h ---
  GEN      sys/random.h
--- sys/stat.h ---
--- sys/types.h ---
--- sys/stat.h ---
  GEN      sys/stat.h
--- sys/types.h ---
  GEN      sys/types.h
--- sys/wait.h ---
  GEN      sys/wait.h
--- time.h ---
--- unistd.h ---
--- time.h ---
  GEN      time.h
--- unistd.h ---
  GEN      unistd.h
--- wchar.h ---
  GEN      wchar.h
--- wctype.h ---
  GEN      wctype.h
--- all ---
/opt/pkg/bin/bmake  all-recursive
--- all-recursive ---
--- malloc/.dirstamp ---
--- malloc/.deps/.dirstamp ---
--- glthread/.dirstamp ---
--- glthread/.deps/.dirstamp ---
--- libgnu_la-argz.lo ---
--- libgnu_la-basename-lgpl.lo ---
--- libgnu_la-argz.lo ---
  CC       libgnu_la-argz.lo
--- libgnu_la-cloexec.lo ---
  CC       libgnu_la-cloexec.lo
--- libgnu_la-basename-lgpl.lo ---
  CC       libgnu_la-basename-lgpl.lo
--- libgnu_la-dirname-lgpl.lo ---
  CC       libgnu_la-dirname-lgpl.lo
--- libgnu_la-stripslash.lo ---
  CC       libgnu_la-stripslash.lo
--- libgnu_la-fd-hook.lo ---
--- libgnu_la-fstat.lo ---
--- libgnu_la-fd-hook.lo ---
  CC       libgnu_la-fd-hook.lo
--- libgnu_la-fstat.lo ---
  CC       libgnu_la-fstat.lo
--- libgnu_la-getopt.lo ---
  CC       libgnu_la-getopt.lo
--- libgnu_la-getopt1.lo ---
  CC       libgnu_la-getopt1.lo
--- libgnu_la-hard-locale.lo ---
  CC       libgnu_la-hard-locale.lo
--- libgnu_la-localcharset.lo ---
  CC       libgnu_la-localcharset.lo
--- libgnu_la-lstat.lo ---
  CC       libgnu_la-lstat.lo
--- libgnu_la-malloca.lo ---
  CC       libgnu_la-malloca.lo
--- libgnu_la-mempcpy.lo ---
  CC       libgnu_la-mempcpy.lo
--- libgnu_la-nl_langinfo.lo ---
  CC       libgnu_la-nl_langinfo.lo
--- libgnu_la-nl_langinfo-lock.lo ---
--- libgnu_la-rawmemchr.lo ---
--- libgnu_la-nl_langinfo-lock.lo ---
  CC       libgnu_la-nl_langinfo-lock.lo
--- libgnu_la-rawmemchr.lo ---
  CC       libgnu_la-rawmemchr.lo
--- libgnu_la-regex.lo ---
  CC       libgnu_la-regex.lo
--- libgnu_la-safe-alloc.lo ---
--- libgnu_la-se-context.lo ---
--- libgnu_la-safe-alloc.lo ---
  CC       libgnu_la-safe-alloc.lo
--- libgnu_la-se-context.lo ---
  CC       libgnu_la-se-context.lo
--- libgnu_la-se-label.lo ---
  CC       libgnu_la-se-label.lo
--- libgnu_la-se-selinux.lo ---
  CC       libgnu_la-se-selinux.lo
--- libgnu_la-setlocale_null.lo ---
  CC       libgnu_la-setlocale_null.lo
--- libgnu_la-stat-time.lo ---
  CC       libgnu_la-stat-time.lo
--- libgnu_la-strnlen1.lo ---
  CC       libgnu_la-strnlen1.lo
--- libgnu_la-tempname.lo ---
  CC       libgnu_la-tempname.lo
--- libgnu_la-unistd.lo ---
  CC       libgnu_la-unistd.lo
--- libgnu_la-wctype-h.lo ---
  CC       libgnu_la-wctype-h.lo
--- libgnu_la-wmempcpy.lo ---
  CC       libgnu_la-wmempcpy.lo
--- libgnu_la-xsize.lo ---
  CC       libgnu_la-xsize.lo
--- asnprintf.lo ---
  CC       asnprintf.lo
--- calloc.lo ---
  CC       calloc.lo
--- malloc.lo ---
  CC       malloc.lo
--- printf-args.lo ---
  CC       printf-args.lo
--- printf-parse.lo ---
  CC       printf-parse.lo
--- realloc.lo ---
  CC       realloc.lo
--- strstr.lo ---
  CC       strstr.lo
--- vasnprintf.lo ---
  CC       vasnprintf.lo
--- malloc/libgnu_la-dynarray_at_failure.lo ---
  CC       malloc/libgnu_la-dynarray_at_failure.lo
--- malloc/libgnu_la-dynarray_emplace_enlarge.lo ---
  CC       malloc/libgnu_la-dynarray_emplace_enlarge.lo
--- malloc/libgnu_la-dynarray_finalize.lo ---
  CC       malloc/libgnu_la-dynarray_finalize.lo
--- malloc/libgnu_la-dynarray_resize.lo ---
  CC       malloc/libgnu_la-dynarray_resize.lo
--- malloc/libgnu_la-dynarray_resize_clear.lo ---
  CC       malloc/libgnu_la-dynarray_resize_clear.lo
--- malloc/libgnu_la-scratch_buffer_grow.lo ---
--- malloc/libgnu_la-scratch_buffer_grow_preserve.lo ---
--- malloc/libgnu_la-scratch_buffer_grow.lo ---
  CC       malloc/libgnu_la-scratch_buffer_grow.lo
--- malloc/libgnu_la-scratch_buffer_grow_preserve.lo ---
  CC       malloc/libgnu_la-scratch_buffer_grow_preserve.lo
--- malloc/libgnu_la-scratch_buffer_set_array_size.lo ---
  CC       malloc/libgnu_la-scratch_buffer_set_array_size.lo
--- glthread/libgnu_la-lock.lo ---
  CC       glthread/libgnu_la-lock.lo
--- glthread/libgnu_la-threadlib.lo ---
  CC       glthread/libgnu_la-threadlib.lo
--- libgnu.la ---
  CCLD     libgnu.la
Making all in src
--- FORCE-datadir.h ---
echo '#define DATADIR "/opt/pkg/share"' > datadir.h1
../build/ac-aux/move-if-change datadir.h1 datadir.h
--- all ---
/opt/pkg/bin/bmake  all-am
--- augtool.o ---
--- augparse.o ---
--- augmatch.o ---
--- augprint.o ---
--- augtool.o ---
  CC       augtool.o
--- augparse.o ---
  CC       augparse.o
--- augmatch.o ---
  CC       augmatch.o
--- augprint.o ---
  CC       augprint.o
augprint.c: In function 'str_next_pos':
augprint.c:305:16: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
  305 |         *pos = MIN(lpos, UINT_MAX);
      |                ^~~
augprint.c:305:16: warning: nested extern declaration of 'MIN' [-Wnested-externs]
augprint.c: In function 'choose_re_width':
augprint.c:1164:23: warning: implicit declaration of function 'MAX' [-Wimplicit-function-declaration]
 1164 |     max_re_width_ct = MAX(max_re_width_ct,use_regexp);
      |                       ^~~
augprint.c:1164:23: warning: nested extern declaration of 'MAX' [-Wnested-externs]
--- augtool.o ---
In file included from /home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/readline.h:37,
                 from augtool.c:28:
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/rltypedefs.h:35:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   35 | typedef int Function () __attribute__((deprecated));
      | ^~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/rltypedefs.h:36:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   36 | typedef void VFunction () __attribute__((deprecated));
      | ^~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/rltypedefs.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   37 | typedef char *CPFunction () __attribute__((deprecated));
      | ^~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/rltypedefs.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   38 | typedef char **CPPFunction () __attribute__((deprecated));
      | ^~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/readline.h:354:15: warning: redundant redeclaration of 'rl_make_bare_keymap' [-Wredundant-decls]
  354 | extern Keymap rl_make_bare_keymap (void);
      |               ^~~~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/readline.h:38:
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/keymaps.h:68:15: note: previous declaration of 'rl_make_bare_keymap' with type 'KEYMAP_ENTRY *(void)' {aka 'struct _keymap_entry *(void)'}
   68 | extern Keymap rl_make_bare_keymap (void);
      |               ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/readline.h:356:15: warning: redundant redeclaration of 'rl_copy_keymap' [-Wredundant-decls]
  356 | extern Keymap rl_copy_keymap (Keymap);
      |               ^~~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/keymaps.h:71:15: note: previous declaration of 'rl_copy_keymap' with type 'KEYMAP_ENTRY *(KEYMAP_ENTRY *)' {aka 'struct _keymap_entry *(struct _keymap_entry *)'}
   71 | extern Keymap rl_copy_keymap (Keymap);
      |               ^~~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/readline.h:357:15: warning: redundant redeclaration of 'rl_make_keymap' [-Wredundant-decls]
  357 | extern Keymap rl_make_keymap (void);
      |               ^~~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/keymaps.h:76:15: note: previous declaration of 'rl_make_keymap' with type 'KEYMAP_ENTRY *(void)' {aka 'struct _keymap_entry *(void)'}
   76 | extern Keymap rl_make_keymap (void);
      |               ^~~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/readline.h:358:13: warning: redundant redeclaration of 'rl_discard_keymap' [-Wredundant-decls]
  358 | extern void rl_discard_keymap (Keymap);
      |             ^~~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/keymaps.h:79:13: note: previous declaration of 'rl_discard_keymap' with type 'void(KEYMAP_ENTRY *)' {aka 'void(struct _keymap_entry *)'}
   79 | extern void rl_discard_keymap (Keymap);
      |             ^~~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/readline.h:361:15: warning: redundant redeclaration of 'rl_get_keymap_by_name' [-Wredundant-decls]
  361 | extern Keymap rl_get_keymap_by_name (const char *);
      |               ^~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/keymaps.h:85:15: note: previous declaration of 'rl_get_keymap_by_name' with type 'KEYMAP_ENTRY *(const char *)' {aka 'struct _keymap_entry *(const char *)'}
   85 | extern Keymap rl_get_keymap_by_name (const char *);
      |               ^~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/readline.h:363:13: warning: redundant redeclaration of 'rl_set_keymap' [-Wredundant-decls]
  363 | extern void rl_set_keymap (Keymap);
      |             ^~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/keymaps.h:91:13: note: previous declaration of 'rl_set_keymap' with type 'void(KEYMAP_ENTRY *)' {aka 'void(struct _keymap_entry *)'}
   91 | extern void rl_set_keymap (Keymap);
      |             ^~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/readline.h:364:15: warning: redundant redeclaration of 'rl_get_keymap' [-Wredundant-decls]
  364 | extern Keymap rl_get_keymap (void);
      |               ^~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/keymaps.h:88:15: note: previous declaration of 'rl_get_keymap' with type 'KEYMAP_ENTRY *(void)' {aka 'struct _keymap_entry *(void)'}
   88 | extern Keymap rl_get_keymap (void);
      |               ^~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/readline.h:366:12: warning: redundant redeclaration of 'rl_set_keymap_name' [-Wredundant-decls]
  366 | extern int rl_set_keymap_name (const char *, Keymap);
      |            ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/keymaps.h:94:12: note: previous declaration of 'rl_set_keymap_name' with type 'int(const char *, KEYMAP_ENTRY *)' {aka 'int(const char *, struct _keymap_entry *)'}
   94 | extern int rl_set_keymap_name (const char *, Keymap);
      |            ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/augeas/work/.buildlink/include/readline/readline.h:411:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  411 | extern int rl_message ();
      | ^~~~~~
--- fa.lo ---
  CC       fa.lo
--- augmatch.o ---
In file included from memory.h:26,
                 from augmatch.c:30:
In function 'guess_lens_name',
    inlined from 'main' at augmatch.c:396:16:
internal.h:229:19: warning: inlining failed in call to 'streqv': call is unlikely and code size would grow [-Winline]
  229 | static inline int streqv(const char *a, const char *b) {
      |                   ^~~~~~
augmatch.c:294:9: note: called from here
  294 |     if (streqv(ext, ".json")) {
      |         ^~~~~~~~~~~~~~~~~~~~
internal.h:229:19: warning: inlining failed in call to 'streqv': call is unlikely and code size would grow [-Winline]
  229 | static inline int streqv(const char *a, const char *b) {
      |                   ^~~~~~
augmatch.c:296:16: note: called from here
  296 |     } else if (streqv(ext, ".xml")) {
      |                ^~~~~~~~~~~~~~~~~~~
In function 'check_load_error',
    inlined from 'main' at augmatch.c:434:5:
internal.h:229:19: warning: inlining failed in call to 'streqv': call is unlikely and code size would grow [-Winline]
  229 | static inline int streqv(const char *a, const char *b) {
      |                   ^~~~~~
augmatch.c:150:9: note: called from here
  150 |     if (streqv(msg, "parse_failed")) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
internal.h:229:19: warning: inlining failed in call to 'streqv': call is unlikely and code size would grow [-Winline]
  229 | static inline int streqv(const char *a, const char *b) {
      |                   ^~~~~~
augmatch.c:152:16: note: called from here
  152 |     } else if (streqv(msg, "read_failed")) {
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'aug_closep',
    inlined from 'main' at augmatch.c:305:40:
augmatch.c:48:5: warning: 'aug' may be used uninitialized [-Wmaybe-uninitialized]
   48 |     aug_close(*p);
      |     ^~~~~~~~~~~~~
augmatch.c: In function 'main':
augmatch.c:305:40: note: 'aug' was declared here
  305 |     cleanup(aug_closep) struct augeas *aug;
      |                                        ^~~
--- hash.lo ---
  CC       hash.lo
--- memory.lo ---
  CC       memory.lo
--- ref.lo ---
  CC       ref.lo
--- augeas.lo ---
  CC       augeas.lo
--- augrun.lo ---
  CC       augrun.lo
--- pathx.lo ---
  CC       pathx.lo
--- augrun.lo ---
augrun.c: In function 'nexttoken':
augrun.c:160:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
  160 |                     if (quot) break;
      |                        ^
augrun.c:162:17: note: here
  162 |                 case '\'':
      |                 ^~~~
augrun.c:164:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
  164 |                     if (quot && quot != *(s+1)) break;
      |                        ^
augrun.c:166:17: note: here
  166 |                 case '\\': /* pass next character through */
      |                 ^~~~
--- internal.lo ---
  CC       internal.lo
--- syntax.lo ---
  CC       syntax.lo
--- builtin.lo ---
  CC       builtin.lo
--- lens.lo ---
  CC       lens.lo
--- regexp.lo ---
  CC       regexp.lo
--- transform.lo ---
  CC       transform.lo
--- ast.lo ---
  CC       ast.lo
--- get.lo ---
  CC       get.lo
--- put.lo ---
  CC       put.lo
--- get.lo ---
In file included from get.c:30:
get.c: In function 'push_frame':
internal.h:271:25: warning: 'memset' offset [0, 31] is out of the bounds [0, 0] [-Warray-bounds=]
  271 | #define MEMZERO(ptr, n) memset((ptr), 0, (n) * sizeof(*(ptr)));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
get.c:1095:5: note: in expansion of macro 'MEMZERO'
 1095 |     MEMZERO(top, 1);
      |     ^~~~~~~
--- info.lo ---
  CC       info.lo
--- errcode.lo ---
  CC       errcode.lo
--- jmt.lo ---
  CC       jmt.lo
--- xml.lo ---
  CC       xml.lo
--- parser.lo ---
  CC       parser.lo
parser.c: In function 'yy_reduce_print':
parser.c:1091:36: warning: array subscript has type 'char' [-Wchar-subscripts]
 1091 |                        yystos[yyssp[yyi + 1 - yynrhs]],
      |                               ~~~~~^~~~~~~~~~~~~~~~~~
parser.c: In function 'yysyntax_error':
parser.c:1269:24: warning: array subscript has type 'char' [-Wchar-subscripts]
 1269 |       int yyn = yypact[*yyssp];
      |                        ^~~~~~
parser.c: In function 'augl_parse':
parser.c:2283:26: warning: array subscript has type 'char' [-Wchar-subscripts]
 2283 |                   yystos[*yyssp], yyvsp, yylsp, term, scanner);
      |                          ^~~~~~
--- libfa.la ---
  CCLD     libfa.la
--- liblexer_la-lexer.lo ---
  CC       liblexer_la-lexer.lo
--- liblexer.la ---
  CCLD     liblexer.la
--- libaugeas.la ---
  CCLD     libaugeas.la
--- augmatch ---
--- augparse ---
--- augprint ---
--- augtool ---
--- augparse ---
  CCLD     augparse
--- augmatch ---
  CCLD     augmatch
--- augprint ---
  CCLD     augprint
--- augtool ---
  CCLD     augtool
--- augprint ---
Undefined			first referenced
 symbol  			    in file
MAX                                 augprint.o
MIN                                 augprint.o
ld: fatal: symbol referencing errors. No output written to .libs/augprint
collect2: error: ld returned 1 exit status
*** [augprint] Error code 1

bmake[3]: stopped making "all-am" in /home/pbulk/build/sysutils/augeas/work/augeas-1.14.1/src
bmake[3]: 1 error

bmake[3]: stopped making "all-am" in /home/pbulk/build/sysutils/augeas/work/augeas-1.14.1/src

bmake[2]: stopped making "all" in /home/pbulk/build/sysutils/augeas/work/augeas-1.14.1/src

bmake[1]: stopped making "all-recursive" in /home/pbulk/build/sysutils/augeas/work/augeas-1.14.1

bmake: stopped making "all" in /home/pbulk/build/sysutils/augeas/work/augeas-1.14.1
*** Error code 2

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

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