+ 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/cfengine-3.15.2nb12/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cfengine-3.15.2nb12/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for cfengine-3.15.2nb12
Making all in libntech
Making all in libcompat
  CC       generic_at.lo
  CC       getopt.lo
  CC       getopt1.lo
  CC       memdup.lo
  CC       rpl_ctime.lo
  CC       strrstr.lo
  CCLD     libcompat.la
Making all in libutils
  CC       alloc.lo
  CC       array_map.lo
  CC       buffer.lo
  CC       cleanup.lo
  CC       csv_writer.lo
  CC       csv_parser.lo
  CC       file_lib.lo
  CC       hash_map.lo
  CC       ip_address.lo
  CC       json.lo
  CC       json-utils.lo
  CC       json-yaml.lo
  CC       known_dirs.lo
known_dirs.c:51:40: warning: argument 1 of type 'char *' declared as a pointer [-Warray-parameter=]
   51 | const char *GetDefaultDir_helper(char *dir, const char *root_dir,
      |                                  ~~~~~~^~~
In file included from known_dirs.c:25:
./known_dirs.h:30:39: note: previously declared as an array 'char[1024]'
   30 | const char *GetDefaultDir_helper(char dir[PATH_MAX], const char *root_dir,
      |                                  ~~~~~^~~~~~~~~~~~~
  CC       list.lo
  CC       logging.lo
  CC       man.lo
  CC       map.lo
  CC       misc_lib.lo
misc_lib.c: In function 'setenv_wrapper':
misc_lib.c:157:34: warning: passing argument 1 of 'snprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  157 |     int string_length = snprintf(buf, buffer_size, "%s=%s", name, value);
      |                                  ^~~
In file included from /usr/include/stdio.h:151,
                 from ./platform.h:72,
                 from ./misc_lib.h:28,
                 from misc_lib.c:25:
/usr/include/iso/stdio_c99.h:82:21: note: expected 'char * restrict' but argument is of type 'const char *'
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |                     ^
  CC       mustache.lo
  CC       mutex.lo
  CC       passopenfile.lo
  CC       path.lo
  CC       proc_keyvalue.lo
  CC       queue.lo
  CC       rb-tree.lo
  CC       refcount.lo
  CC       ring_buffer.lo
  CC       sequence.lo
  CC       string_sequence.lo
  CC       set.lo
  CC       stack.lo
  CC       threaded_stack.lo
  CC       statistics.lo
  CC       string_lib.lo
  CC       threaded_deque.lo
  CC       threaded_queue.lo
  CC       unicode.lo
  CC       version_comparison.lo
  CC       writer.lo
  CC       xml_writer.lo
  CC       encode.lo
  CC       libcrypto-compat.lo
  CC       hash.lo
In file included from hash.c:33:
./hash.h:64:28: error: unknown type name 'RSA'
   64 | Hash *HashNewFromKey(const RSA *rsa, HashMethod method);
      |                            ^~~
./hash.h:163:23: error: unknown type name 'RSA'
  163 | void HashPubKey(const RSA *key, unsigned char digest[EVP_MAX_MD_SIZE + 1], HashMethod type);
      |                       ^~~
hash.c:214:28: error: unknown type name 'RSA'
  214 | Hash *HashNewFromKey(const RSA *rsa, HashMethod method)
      |                            ^~~
hash.c: In function 'HashNewFromKey':
hash.c:226:5: error: implicit declaration of function 'RSA_get0_key' [-Werror=implicit-function-declaration]
  226 |     RSA_get0_key(rsa, &n, &e, NULL);
      |     ^~~~~~~~~~~~
hash.c: At top level:
hash.c:531:11: error: unknown type name 'RSA'
  531 |     const RSA *const key,
      |           ^~~
cc1: some warnings being treated as errors
gmake[4]: *** [Makefile:633: hash.lo] Error 1
gmake[3]: *** [Makefile:639: all-recursive] Error 1
gmake[2]: *** [Makefile:546: all] Error 2
gmake[1]: *** [Makefile:704: all-recursive] Error 1
gmake: *** [Makefile:593: all] Error 2
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/cfengine3