+ 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/quickjs-20240113/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/quickjs-20240113/work.log ===> Building for quickjs-20240113 mkdir -p .obj .obj/examples .obj/tests gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -MMD -MF .obj/quickjs.check.o.d -Wno-array-bounds -Wno-format-truncation -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -DCONFIG_CHECK_JSVALUE -c -o .obj/quickjs.check.o quickjs.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -MMD -MF .obj/qjs.check.o.d -Wno-array-bounds -Wno-format-truncation -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -DCONFIG_CHECK_JSVALUE -c -o .obj/qjs.check.o qjs.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -MMD -MF .obj/qjs.o.d -Wno-array-bounds -Wno-format-truncation -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -O2 -flto -c -o .obj/qjs.o qjs.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -MMD -MF .obj/qjsc.o.d -Wno-array-bounds -Wno-format-truncation -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -DCONFIG_CC=\"gcc\" -DCONFIG_PREFIX=\"/opt/pkg\" -DCONFIG_LTO -DCONFIG_LDL -O2 -flto -c -o .obj/qjsc.o qjsc.c In file included from qjs.c:41: cutils.h:38: warning: "__maybe_unused" redefined 38 | #define __maybe_unused __attribute__((unused)) | In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from qjs.c:25: /usr/include/sys/ccompile.h:169: note: this is the location of the previous definition 169 | #define __maybe_unused __sun_attr__((__unused__)) | In file included from qjs.c:41: cutils.h:38: warning: "__maybe_unused" redefined 38 | #define __maybe_unused __attribute__((unused)) | In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from qjs.c:25: /usr/include/sys/ccompile.h:169: note: this is the location of the previous definition 169 | #define __maybe_unused __sun_attr__((__unused__)) | qjs.c: In function 'js_trace_malloc_usable_size': qjs.c:155:12: warning: implicit declaration of function 'malloc_usable_size'; did you mean 'js_malloc_usable_size'? [-Wimplicit-function-declaration] 155 | return malloc_usable_size((void *)ptr); | ^~~~~~~~~~~~~~~~~~ | js_malloc_usable_size qjs.c: In function 'js_trace_malloc_usable_size': qjs.c:155:12: warning: implicit declaration of function 'malloc_usable_size'; did you mean 'js_malloc_usable_size'? [-Wimplicit-function-declaration] 155 | return malloc_usable_size((void *)ptr); | ^~~~~~~~~~~~~~~~~~ | js_malloc_usable_size In file included from quickjs.c:43: cutils.h:38: warning: "__maybe_unused" redefined 38 | #define __maybe_unused __attribute__((unused)) | In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from quickjs.c:25: /usr/include/sys/ccompile.h:169: note: this is the location of the previous definition 169 | #define __maybe_unused __sun_attr__((__unused__)) | In file included from qjsc.c:36: cutils.h:38: warning: "__maybe_unused" redefined 38 | #define __maybe_unused __attribute__((unused)) | In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from qjsc.c:24: /usr/include/sys/ccompile.h:169: note: this is the location of the previous definition 169 | #define __maybe_unused __sun_attr__((__unused__)) | quickjs.c: In function 'js_def_malloc_usable_size': quickjs.c:1716:12: warning: implicit declaration of function 'malloc_usable_size'; did you mean 'js_malloc_usable_size'? [-Wimplicit-function-declaration] 1716 | return malloc_usable_size((void *)ptr); | ^~~~~~~~~~~~~~~~~~ | js_malloc_usable_size quickjs.c: In function 'js_c_function_data_call': quickjs.c:5121:19: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 5121 | arg_buf = alloca(sizeof(arg_buf[0]) * s->length); | ^~~~~~ quickjs.c:5121:19: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -MMD -MF .obj/quickjs.o.d -Wno-array-bounds -Wno-format-truncation -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -O2 -flto -c -o .obj/quickjs.o quickjs.c In file included from quickjs.c:43: cutils.h:38: warning: "__maybe_unused" redefined 38 | #define __maybe_unused __attribute__((unused)) | In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from quickjs.c:25: /usr/include/sys/ccompile.h:169: note: this is the location of the previous definition 169 | #define __maybe_unused __sun_attr__((__unused__)) | quickjs.c: In function 'js_def_malloc_usable_size': quickjs.c:1716:12: warning: implicit declaration of function 'malloc_usable_size'; did you mean 'js_malloc_usable_size'? [-Wimplicit-function-declaration] 1716 | return malloc_usable_size((void *)ptr); | ^~~~~~~~~~~~~~~~~~ | js_malloc_usable_size quickjs.c: In function 'js_c_function_data_call': quickjs.c:5121:19: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 5121 | arg_buf = alloca(sizeof(arg_buf[0]) * s->length); | ^~~~~~ quickjs.c:5121:19: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -MMD -MF .obj/libregexp.o.d -Wno-array-bounds -Wno-format-truncation -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -O2 -flto -c -o .obj/libregexp.o libregexp.c In file included from libregexp.c:31: cutils.h:38: warning: "__maybe_unused" redefined 38 | #define __maybe_unused __attribute__((unused)) | In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from libregexp.c:24: /usr/include/sys/ccompile.h:169: note: this is the location of the previous definition 169 | #define __maybe_unused __sun_attr__((__unused__)) | gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -MMD -MF .obj/libunicode.o.d -Wno-array-bounds -Wno-format-truncation -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -O2 -flto -c -o .obj/libunicode.o libunicode.c libregexp.c: In function 'lre_exec': libregexp.c:2449:17: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 2449 | stack_buf = alloca(alloca_size); | ^~~~~~ libregexp.c:2449:17: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] In file included from libunicode.c:30: cutils.h:38: warning: "__maybe_unused" redefined 38 | #define __maybe_unused __attribute__((unused)) | In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from libunicode.c:24: /usr/include/sys/ccompile.h:169: note: this is the location of the previous definition 169 | #define __maybe_unused __sun_attr__((__unused__)) | quickjs.c: In function 'js_call_c_function': quickjs.c:15896:19: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 15896 | arg_buf = alloca(sizeof(arg_buf[0]) * arg_count); | ^~~~~~ quickjs.c: In function 'js_call_bound_function': quickjs.c:16007:15: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 16007 | arg_buf = alloca(sizeof(JSValue) * arg_count); | ^~~~~~ quickjs.c: In function 'JS_CallInternal': quickjs.c:16139:17: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 16139 | local_buf = alloca(alloca_size); | ^~~~~~ quickjs.c: In function 'js_call_c_function': quickjs.c:15896:19: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 15896 | arg_buf = alloca(sizeof(arg_buf[0]) * arg_count); | ^~~~~~ quickjs.c: In function 'js_call_bound_function': quickjs.c:16007:15: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 16007 | arg_buf = alloca(sizeof(JSValue) * arg_count); | ^~~~~~ quickjs.c: In function 'JS_CallInternal': quickjs.c:16139:17: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 16139 | local_buf = alloca(alloca_size); | ^~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -MMD -MF .obj/cutils.o.d -Wno-array-bounds -Wno-format-truncation -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -O2 -flto -c -o .obj/cutils.o cutils.c In file included from cutils.c:30: cutils.h:38: warning: "__maybe_unused" redefined 38 | #define __maybe_unused __attribute__((unused)) | In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from cutils.c:25: /usr/include/sys/ccompile.h:169: note: this is the location of the previous definition 169 | #define __maybe_unused __sun_attr__((__unused__)) | gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -Wall -MMD -MF .obj/quickjs-libc.o.d -Wno-array-bounds -Wno-format-truncation -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -O2 -flto -c -o .obj/quickjs-libc.o quickjs-libc.c In file included from quickjs-libc.c:70: cutils.h:38: warning: "__maybe_unused" redefined 38 | #define __maybe_unused __attribute__((unused)) | In file included from /usr/include/sys/feature_tests.h:34, from /usr/include/iso/stdlib_iso.h:49, from /usr/include/stdlib.h:41, from quickjs-libc.c:25: /usr/include/sys/ccompile.h:169: note: this is the location of the previous definition 169 | #define __maybe_unused __sun_attr__((__unused__)) | quickjs-libc.c: In function 'js_os_signal': quickjs-libc.c:1935:5: error: unknown type name 'sighandler_t'; did you mean 'sa_handler'? 1935 | sighandler_t handler; | ^~~~~~~~~~~~ | sa_handler quickjs-libc.c:1952:21: warning: assignment to 'int' from 'void (*)()' makes integer from pointer without a cast [-Wint-conversion] 1952 | handler = SIG_DFL; | ^ quickjs-libc.c:1954:21: warning: assignment to 'int' from 'void (*)()' makes integer from pointer without a cast [-Wint-conversion] 1954 | handler = SIG_IGN; | ^ quickjs-libc.c:1955:25: warning: passing argument 2 of 'signal' makes pointer from integer without a cast [-Wint-conversion] 1955 | signal(sig_num, handler); | ^~~~~~~ | | | int In file included from /usr/include/signal.h:42, from quickjs-libc.c:36: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ gmake: *** [Makefile:303: .obj/quickjs-libc.o] Error 1 gmake: *** Waiting for unfinished jobs.... quickjs.c: In function 'getTimezoneOffset': quickjs.c:43222:18: error: 'struct tm' has no member named 'tm_gmtoff' 43222 | res = -tm.tm_gmtoff / 60; | ^ quickjs.c: In function 'getTimezoneOffset': quickjs.c:43222:18: error: 'struct tm' has no member named 'tm_gmtoff' 43222 | res = -tm.tm_gmtoff / 60; | ^ gmake: *** [Makefile:303: .obj/quickjs.o] Error 1 gmake: *** [Makefile:324: .obj/quickjs.check.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/quickjs *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/quickjs