+ 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.2nb14/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cfengine-3.15.2nb14/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for cfengine-3.15.2nb14 Making all in libntech Making all in libcompat CC generic_at.lo In file included from ../libutils/platform.h:36, from generic_at.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC getopt.lo CC getopt1.lo CC memdup.lo In file included from memdup.c:26: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC rpl_ctime.lo In file included from ../libutils/platform.h:36, from rpl_ctime.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC strrstr.lo CCLD libcompat.la Making all in libutils CC alloc.lo In file included from ./platform.h:36, from alloc.c:26: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC array_map.lo In file included from ./platform.h:36, from array_map.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC buffer.lo In file included from ./platform.h:36, from buffer.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC cleanup.lo In file included from ./platform.h:36, from cleanup.c:27: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | In file included from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from ./alloc.h:28, from cleanup.c:25: /usr/include/sys/feature_tests.h:357: note: this is the location of the previous definition 357 | #define _XOPEN_SOURCE 700 | CC csv_writer.lo In file included from ./platform.h:36, from ./csv_writer.h:32, from csv_writer.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC csv_parser.lo In file included from ./platform.h:36, from csv_parser.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC file_lib.lo In file included from ./platform.h:36, from file_lib.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC hash_map.lo In file included from ./platform.h:36, from hash_map.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC ip_address.lo In file included from ./platform.h:36, from ip_address.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC json.lo In file included from ./platform.h:36, from ./logging.h:30, from json.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC json-utils.lo In file included from ./platform.h:36, from json-utils.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC json-yaml.lo In file included from ./platform.h:36, from ./logging.h:30, from json-yaml.c:26: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | In file included from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from ./alloc.h:28, from json-yaml.c:25: /usr/include/sys/feature_tests.h:357: note: this is the location of the previous definition 357 | #define _XOPEN_SOURCE 700 | CC known_dirs.lo In file included from ./platform.h:36, from ./known_dirs.h:28, from known_dirs.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition 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, | ~~~~~~^~~ ./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 In file included from ./platform.h:36, from ./refcount.h:28, from ./list.h:29, from list.c:27: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | In file included from /usr/include/assert.h:38, from list.c:25: /usr/include/sys/feature_tests.h:357: note: this is the location of the previous definition 357 | #define _XOPEN_SOURCE 700 | CC logging.lo In file included from ./platform.h:36, from ./logging.h:30, from logging.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC man.lo In file included from ./platform.h:36, from ./man.h:28, from man.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC map.lo In file included from ./platform.h:36, from map.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC misc_lib.lo In file included from ./platform.h:36, from ./misc_lib.h:28, from misc_lib.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition 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: /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 In file included from ./platform.h:36, from mustache.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC mutex.lo In file included from ./platform.h:36, from ./mutex.h:28, from mutex.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC passopenfile.lo In file included from ./platform.h:36, from ./passopenfile.h:73, from passopenfile.c:24: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC path.lo In file included from ./platform.h:36, from ./path.h:28, from path.c:1: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC proc_keyvalue.lo In file included from ./platform.h:36, from ./proc_keyvalue.h:28, from proc_keyvalue.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC queue.lo In file included from ./platform.h:36, from ./queue.h:25, from queue.c:26: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | In file included from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from ./alloc.h:28, from queue.c:25: /usr/include/sys/feature_tests.h:357: note: this is the location of the previous definition 357 | #define _XOPEN_SOURCE 700 | CC rb-tree.lo In file included from ./platform.h:36, from ./rb-tree.h:27, from rb-tree.c:24: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC refcount.lo In file included from ./platform.h:36, from ./refcount.h:28, from refcount.c:26: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | In file included from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from ./alloc.h:28, from refcount.c:25: /usr/include/sys/feature_tests.h:357: note: this is the location of the previous definition 357 | #define _XOPEN_SOURCE 700 | CC ring_buffer.lo In file included from ./platform.h:36, from ./ring_buffer.h:27, from ring_buffer.c:24: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC sequence.lo In file included from ./platform.h:36, from sequence.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC string_sequence.lo In file included from ./platform.h:36, from string_sequence.c:1: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC set.lo In file included from ./platform.h:36, from set.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC stack.lo In file included from ./platform.h:36, from stack.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC threaded_stack.lo In file included from ./platform.h:36, from threaded_stack.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC statistics.lo In file included from ./platform.h:36, from statistics.c:27: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC string_lib.lo In file included from ./platform.h:36, from string_lib.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC threaded_deque.lo In file included from ./platform.h:36, from threaded_deque.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC threaded_queue.lo In file included from ./platform.h:36, from threaded_queue.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC unicode.lo CC version_comparison.lo CC writer.lo In file included from ./platform.h:36, from writer.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC xml_writer.lo In file included from ./platform.h:36, from ./xml_writer.h:28, from xml_writer.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC encode.lo In file included from ./platform.h:36, from encode.c:26: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC libcrypto-compat.lo In file included from ./platform.h:36, from ./libcrypto-compat.h:4, from libcrypto-compat.c:11: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition CC hash.lo In file included from ./platform.h:36, from hash.c:25: ../config.h:1156: warning: "_XOPEN_SOURCE" redefined 1156 | #define _XOPEN_SOURCE 600 | : note: this is the location of the previous definition 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-bulktest/sysutils/cfengine3 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/cfengine3