+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-core-0.13.0nb1/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocaml-core-0.13.0nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 ===> Building for ocaml-core-0.13.0nb1 ocamlopt .ppx/57ef275c515ec1fe105f6ff0979f5a61/ppx.exe ld: warning: file /opt/local/lib/ocaml/site-lib/stdlib-shims/stdlib_shims.a ignored: unable to locate archive symbol table gcc error_checking_mutex/src/error_checking_mutex_stubs.o error_checking_mutex_stubs.c:85:2: warning: #warning "_POSIX_THREADS not defined or < 200112; unix_create_error_checking_mutex not available" [-Wcpp] 85 | #warning "_POSIX_THREADS not defined or < 200112; unix_create_error_checking_mutex not available" | ^~~~~~~ File "src/bigstring.ml", line 128, characters 9-22: 128 | [%%ifdef JSC_NOSIGPIPE] ^^^^^^^^^^^^^ Error: optcomp: doesn't know about JSC_NOSIGPIPE. You need to either define it or undefine it with #undef. Optcomp doesn't accept variables it doesn't know about to avoid typos. gcc src/bigstring_stubs.o bigstring_stubs.c:39: warning: "__BYTE_ORDER" redefined 39 | #define __BYTE_ORDER _BYTE_ORDER | In file included from bigstring_stubs.c:37: /usr/include/endian.h:35: note: this is the location of the previous definition 35 | #define __BYTE_ORDER LITTLE_ENDIAN | bigstring_stubs.c:40: warning: "__LITTLE_ENDIAN" redefined 40 | #define __LITTLE_ENDIAN _LITTLE_ENDIAN | In file included from bigstring_stubs.c:37: /usr/include/endian.h:30: note: this is the location of the previous definition 30 | #define __LITTLE_ENDIAN 1234 | bigstring_stubs.c:41: warning: "__BIG_ENDIAN" redefined 41 | #define __BIG_ENDIAN _BIG_ENDIAN | In file included from bigstring_stubs.c:37: /usr/include/endian.h:31: note: this is the location of the previous definition 31 | #define __BIG_ENDIAN 4321 | bigstring_stubs.c:735:2: warning: #warning "Neither MSG_NOSIGNAL nor SO_NOSIGPIPE defined; bigstring_send{,msg}_noblocking_no_sigpipe not implemented" [-Wcpp] 735 | #warning "Neither MSG_NOSIGNAL nor SO_NOSIGPIPE defined; bigstring_send{,msg}_noblocking_no_sigpipe not implemented" | ^~~~~~~ bigstring_stubs.c:736:2: warning: #warning "Platform not supported. Please report this." [-Wcpp] 736 | #warning "Platform not supported. Please report this." | ^~~~~~~ gcc src/nss_stubs.o (exit 1) (cd _build/default/src && /home/pbulk/build/devel/ocaml-core/work/.cwrapper/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -fno-strict-aliasing -fwrapv -fPIC -D_LARGEFILE64_SOURCE -g -I /opt/local/lib/ocaml -I /opt/local/lib/ocaml/site-lib/base -I /opt/local/lib/ocaml/site-lib/base/base_internalhash_types -I /opt/local/lib/ocaml/site-lib/base/caml -I /opt/local/lib/ocaml/site-lib/base/md5 -I /opt/local/lib/ocaml/site-lib/base/shadow_stdlib -I /opt/local/lib/ocaml/site-lib/base_bigstring -I /opt/local/lib/ocaml/site-lib/base_quickcheck -I /opt/local/lib/ocaml/site-lib/bin_prot -I /opt/local/lib/ocaml/site-lib/bin_prot/shape -I /opt/local/lib/ocaml/site-lib/core_kernel -I /opt/local/lib/ocaml/site-lib/core_kernel/base_for_tests -I /opt/local/lib/ocaml/site-lib/core_kernel/bounded_int_table -I /opt/local/lib/ocaml/site-lib/core_kernel/flags -I /opt/local/lib/ocaml/site-lib/core_kernel/version_util -I /opt/local/lib/ocaml/site-lib/fieldslib -I /opt/local/lib/ocaml/site-lib/jane-street-headers -I /opt/local/lib/ocaml/site-lib/parsexp -I /opt/local/lib/ocaml/site-lib/ppx_assert/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_bench/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_compare/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_enumerate/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_expect/collector -I /opt/local/lib/ocaml/site-lib/ppx_expect/common -I /opt/local/lib/ocaml/site-lib/ppx_expect/config -I /opt/local/lib/ocaml/site-lib/ppx_hash/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_here/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_inline_test/config -I /opt/local/lib/ocaml/site-lib/ppx_inline_test/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_module_timer/runtime -I /opt/local/lib/ocaml/site-lib/ppx_sexp_conv/runtime-lib -I /opt/local/lib/ocaml/site-lib/sexplib -I /opt/local/lib/ocaml/site-lib/sexplib/unix -I /opt/local/lib/ocaml/site-lib/sexplib0 -I /opt/local/lib/ocaml/site-lib/spawn -I /opt/local/lib/ocaml/site-lib/splittable_random -I /opt/local/lib/ocaml/site-lib/stdio -I /opt/local/lib/ocaml/site-lib/time_now -I /opt/local/lib/ocaml/site-lib/typerep -I /opt/local/lib/ocaml/site-lib/variantslib -I /opt/local/lib/ocaml/threads -I ../error_checking_mutex/src -o nss_stubs.o -c nss_stubs.c) nss_stubs.c: In function 'core_unix_getgrgid_r': nss_stubs.c:71:12: error: too many arguments to function 'getgrgid_r' 71 | retval = getgrgid_r(gid, &entry, buf, buflen, &result); | ^~~~~~~~~~ In file included from nss_stubs.c:7: /usr/include/grp.h:148:22: note: declared here 148 | extern struct group *getgrgid_r(gid_t, struct group *, char *, int); | ^~~~~~~~~~ nss_stubs.c:71:10: warning: assignment to 'int' from 'struct group *' makes integer from pointer without a cast [-Wint-conversion] 71 | retval = getgrgid_r(gid, &entry, buf, buflen, &result); | ^ nss_stubs.c: In function 'core_unix_getpwuid_r': nss_stubs.c:102:12: error: too many arguments to function 'getpwuid_r' 102 | retval = getpwuid_r(uid, &entry, buf, buflen, &result); | ^~~~~~~~~~ In file included from nss_stubs.c:8: /usr/include/pwd.h:166:23: note: declared here 166 | extern struct passwd *getpwuid_r(uid_t, struct passwd *, char *, int); | ^~~~~~~~~~ nss_stubs.c:102:10: warning: assignment to 'int' from 'struct passwd *' makes integer from pointer without a cast [-Wint-conversion] 102 | retval = getpwuid_r(uid, &entry, buf, buflen, &result); | ^ nss_stubs.c: In function 'core_unix_getpwnam_r': nss_stubs.c:133:12: error: too many arguments to function 'getpwnam_r' 133 | retval = getpwnam_r(nam, &entry, buf, buflen, &result); | ^~~~~~~~~~ In file included from nss_stubs.c:8: /usr/include/pwd.h:167:23: note: declared here 167 | extern struct passwd *getpwnam_r(const char *, struct passwd *, char *, int); | ^~~~~~~~~~ nss_stubs.c:133:10: warning: assignment to 'int' from 'struct passwd *' makes integer from pointer without a cast [-Wint-conversion] 133 | retval = getpwnam_r(nam, &entry, buf, buflen, &result); | ^ nss_stubs.c: In function 'core_unix_getgrnam_r': nss_stubs.c:164:12: error: too many arguments to function 'getgrnam_r' 164 | retval = getgrnam_r(nam, &entry, buf, buflen, &result); | ^~~~~~~~~~ In file included from nss_stubs.c:7: /usr/include/grp.h:149:22: note: declared here 149 | extern struct group *getgrnam_r(const char *, struct group *, char *, int); | ^~~~~~~~~~ nss_stubs.c:164:10: warning: assignment to 'int' from 'struct group *' makes integer from pointer without a cast [-Wint-conversion] 164 | retval = getgrnam_r(nam, &entry, buf, buflen, &result); | ^ gcc src/unix_stubs.o (exit 1) (cd _build/default/src && /home/pbulk/build/devel/ocaml-core/work/.cwrapper/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -fno-strict-aliasing -fwrapv -fPIC -D_LARGEFILE64_SOURCE -g -I /opt/local/lib/ocaml -I /opt/local/lib/ocaml/site-lib/base -I /opt/local/lib/ocaml/site-lib/base/base_internalhash_types -I /opt/local/lib/ocaml/site-lib/base/caml -I /opt/local/lib/ocaml/site-lib/base/md5 -I /opt/local/lib/ocaml/site-lib/base/shadow_stdlib -I /opt/local/lib/ocaml/site-lib/base_bigstring -I /opt/local/lib/ocaml/site-lib/base_quickcheck -I /opt/local/lib/ocaml/site-lib/bin_prot -I /opt/local/lib/ocaml/site-lib/bin_prot/shape -I /opt/local/lib/ocaml/site-lib/core_kernel -I /opt/local/lib/ocaml/site-lib/core_kernel/base_for_tests -I /opt/local/lib/ocaml/site-lib/core_kernel/bounded_int_table -I /opt/local/lib/ocaml/site-lib/core_kernel/flags -I /opt/local/lib/ocaml/site-lib/core_kernel/version_util -I /opt/local/lib/ocaml/site-lib/fieldslib -I /opt/local/lib/ocaml/site-lib/jane-street-headers -I /opt/local/lib/ocaml/site-lib/parsexp -I /opt/local/lib/ocaml/site-lib/ppx_assert/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_bench/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_compare/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_enumerate/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_expect/collector -I /opt/local/lib/ocaml/site-lib/ppx_expect/common -I /opt/local/lib/ocaml/site-lib/ppx_expect/config -I /opt/local/lib/ocaml/site-lib/ppx_hash/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_here/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_inline_test/config -I /opt/local/lib/ocaml/site-lib/ppx_inline_test/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_module_timer/runtime -I /opt/local/lib/ocaml/site-lib/ppx_sexp_conv/runtime-lib -I /opt/local/lib/ocaml/site-lib/sexplib -I /opt/local/lib/ocaml/site-lib/sexplib/unix -I /opt/local/lib/ocaml/site-lib/sexplib0 -I /opt/local/lib/ocaml/site-lib/spawn -I /opt/local/lib/ocaml/site-lib/splittable_random -I /opt/local/lib/ocaml/site-lib/stdio -I /opt/local/lib/ocaml/site-lib/time_now -I /opt/local/lib/ocaml/site-lib/typerep -I /opt/local/lib/ocaml/site-lib/variantslib -I /opt/local/lib/ocaml/threads -I ../error_checking_mutex/src -o unix_stubs.o -c unix_stubs.c) In file included from /opt/local/lib/ocaml/site-lib/jane-street-headers/ocaml_utils.h:6, from unix_stubs.c:57: unix_stubs.c: In function 'unix_O_ASYNC': unix_stubs.c:89:18: error: 'O_ASYNC' undeclared (first use in this function); did you mean 'O_DSYNC'? 89 | UNIX_INT63_CONST(O_ASYNC) | ^~~~~~~ /opt/local/lib/ocaml/caml/mlvalues.h:75:47: note: in definition of macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /opt/local/lib/ocaml/site-lib/jane-street-headers/ocaml_utils.h:37:55: note: in expansion of macro 'caml_alloc_int63' 37 | CAMLprim value name(value __unused v_unit) { return caml_alloc_int63(z); } | ^~~~~~~~~~~~~~~~ unix_stubs.c:83:33: note: in expansion of macro 'DEFINE_INT63_CONSTANT' 83 | #define UNIX_INT63_CONST(CONST) DEFINE_INT63_CONSTANT(unix_##CONST,CONST) | ^~~~~~~~~~~~~~~~~~~~~ unix_stubs.c:89:1: note: in expansion of macro 'UNIX_INT63_CONST' 89 | UNIX_INT63_CONST(O_ASYNC) | ^~~~~~~~~~~~~~~~ unix_stubs.c:89:18: note: each undeclared identifier is reported only once for each function it appears in 89 | UNIX_INT63_CONST(O_ASYNC) | ^~~~~~~ /opt/local/lib/ocaml/caml/mlvalues.h:75:47: note: in definition of macro 'Val_long' 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ /opt/local/lib/ocaml/site-lib/jane-street-headers/ocaml_utils.h:37:55: note: in expansion of macro 'caml_alloc_int63' 37 | CAMLprim value name(value __unused v_unit) { return caml_alloc_int63(z); } | ^~~~~~~~~~~~~~~~ unix_stubs.c:83:33: note: in expansion of macro 'DEFINE_INT63_CONSTANT' 83 | #define UNIX_INT63_CONST(CONST) DEFINE_INT63_CONSTANT(unix_##CONST,CONST) | ^~~~~~~~~~~~~~~~~~~~~ unix_stubs.c:89:1: note: in expansion of macro 'UNIX_INT63_CONST' 89 | UNIX_INT63_CONST(O_ASYNC) | ^~~~~~~~~~~~~~~~ unix_stubs.c: In function 'core_unix_get_in_addr_for_interface': unix_stubs.c:727:19: error: 'SIOCGIFADDR' undeclared (first use in this function) 727 | if (ioctl(fd, SIOCGIFADDR, &ifr) < 0) | ^~~~~~~~~~~ In file included from /opt/local/lib/ocaml/site-lib/jane-street-headers/ocaml_utils.h:6, from unix_stubs.c:57: unix_stubs.c: In function 'core_unix_realpath': /opt/local/lib/ocaml/caml/mlvalues.h:265:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ^ unix_stubs.c:857:16: note: in expansion of macro 'String_val' 857 | char *path = String_val(v_path); | ^~~~~~~~~~ unix_stubs.c: In function 'core_unix_mcast_modify': unix_stubs.c:1125:23: error: 'SIOCGIFADDR' undeclared (first use in this function) 1125 | if (ioctl(fd, SIOCGIFADDR, &ifreq) < 0) | ^~~~~~~~~~~ gcc syslog/src/syslog_stubs.o (exit 1) (cd _build/default/syslog/src && /home/pbulk/build/devel/ocaml-core/work/.cwrapper/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -fno-strict-aliasing -fwrapv -fPIC -g -I /opt/local/lib/ocaml -I /opt/local/lib/ocaml/site-lib/base -I /opt/local/lib/ocaml/site-lib/base/base_internalhash_types -I /opt/local/lib/ocaml/site-lib/base/caml -I /opt/local/lib/ocaml/site-lib/base/md5 -I /opt/local/lib/ocaml/site-lib/base/shadow_stdlib -I /opt/local/lib/ocaml/site-lib/base_bigstring -I /opt/local/lib/ocaml/site-lib/base_quickcheck -I /opt/local/lib/ocaml/site-lib/bin_prot -I /opt/local/lib/ocaml/site-lib/bin_prot/shape -I /opt/local/lib/ocaml/site-lib/core_kernel -I /opt/local/lib/ocaml/site-lib/core_kernel/base_for_tests -I /opt/local/lib/ocaml/site-lib/core_kernel/bounded_int_table -I /opt/local/lib/ocaml/site-lib/core_kernel/flags -I /opt/local/lib/ocaml/site-lib/core_kernel/version_util -I /opt/local/lib/ocaml/site-lib/fieldslib -I /opt/local/lib/ocaml/site-lib/jane-street-headers -I /opt/local/lib/ocaml/site-lib/parsexp -I /opt/local/lib/ocaml/site-lib/ppx_assert/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_bench/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_compare/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_enumerate/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_expect/collector -I /opt/local/lib/ocaml/site-lib/ppx_expect/common -I /opt/local/lib/ocaml/site-lib/ppx_expect/config -I /opt/local/lib/ocaml/site-lib/ppx_hash/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_here/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_inline_test/config -I /opt/local/lib/ocaml/site-lib/ppx_inline_test/runtime-lib -I /opt/local/lib/ocaml/site-lib/ppx_module_timer/runtime -I /opt/local/lib/ocaml/site-lib/ppx_sexp_conv/runtime-lib -I /opt/local/lib/ocaml/site-lib/sexplib -I /opt/local/lib/ocaml/site-lib/sexplib/unix -I /opt/local/lib/ocaml/site-lib/sexplib0 -I /opt/local/lib/ocaml/site-lib/spawn -I /opt/local/lib/ocaml/site-lib/splittable_random -I /opt/local/lib/ocaml/site-lib/stdio -I /opt/local/lib/ocaml/site-lib/time_now -I /opt/local/lib/ocaml/site-lib/typerep -I /opt/local/lib/ocaml/site-lib/variantslib -I /opt/local/lib/ocaml/threads -I ../../error_checking_mutex/src -I ../../src -o syslog_stubs.o -c syslog_stubs.c) syslog_stubs.c:14:58: error: 'LOG_PERROR' undeclared here (not in a function); did you mean 'LOG_ERR'? 14 | LOG_PID, LOG_CONS, LOG_ODELAY, LOG_NDELAY, LOG_NOWAIT, LOG_PERROR | ^~~~~~~~~~ | LOG_ERR *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/devel/ocaml-core *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/devel/ocaml-core