+ 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-20210327nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/quickjs-20210327nb2/work.log
===> Building for quickjs-20210327nb2
mkdir -p .obj .obj/examples .obj/tests
gcc -g -Wall -MMD -MF .obj/quickjs.check.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2021-03-27\" -DCONFIG_BIGNUM -DCONFIG_CHECK_JSVALUE -c -o .obj/quickjs.check.o quickjs.c
gcc -g -Wall -MMD -MF .obj/qjs.check.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2021-03-27\" -DCONFIG_BIGNUM -DCONFIG_CHECK_JSVALUE -c -o .obj/qjs.check.o qjs.c
gcc -g -Wall -MMD -MF .obj/qjs.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2021-03-27\" -DCONFIG_BIGNUM -O2 -flto -c -o .obj/qjs.o qjs.c
gcc -g -Wall -MMD -MF .obj/qjsc.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2021-03-27\" -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 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:1697:12: warning: implicit declaration of function 'malloc_usable_size'; did you mean 'js_malloc_usable_size'? [-Wimplicit-function-declaration]
 1697 |     return malloc_usable_size(ptr);
      |            ^~~~~~~~~~~~~~~~~~
      |            js_malloc_usable_size
quickjs.c: At top level:
quickjs.c:1771:5: error: 'malloc_usable_size' undeclared here (not in a function); did you mean 'js_malloc_usable_size'?
 1771 |     malloc_usable_size,
      |     ^~~~~~~~~~~~~~~~~~
      |     js_malloc_usable_size
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__))
      | 
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(ptr);
      |            ^~~~~~~~~~~~~~~~~~
      |            js_malloc_usable_size
qjs.c: At top level:
qjs.c:277:5: error: 'malloc_usable_size' undeclared here (not in a function); did you mean 'js_malloc_usable_size'?
  277 |     malloc_usable_size,
      |     ^~~~~~~~~~~~~~~~~~
      |     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(ptr);
      |            ^~~~~~~~~~~~~~~~~~
      |            js_malloc_usable_size
qjs.c: At top level:
qjs.c:277:5: error: 'malloc_usable_size' undeclared here (not in a function); did you mean 'js_malloc_usable_size'?
  277 |     malloc_usable_size,
      |     ^~~~~~~~~~~~~~~~~~
      |     js_malloc_usable_size
quickjs.c: In function 'js_c_function_data_call':
quickjs.c:5112:19: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
 5112 |         arg_buf = alloca(sizeof(arg_buf[0]) * s->length);
      |                   ^~~~~~
quickjs.c:5112:19: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
gmake: *** [Makefile:304: .obj/qjs.check.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [Makefile:283: .obj/qjs.o] Error 1
quickjs.c: In function 'js_call_c_function':
quickjs.c:16060:19: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
16060 |         arg_buf = alloca(sizeof(arg_buf[0]) * arg_count);
      |                   ^~~~~~
quickjs.c: In function 'js_call_bound_function':
quickjs.c:16171:15: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
16171 |     arg_buf = alloca(sizeof(JSValue) * arg_count);
      |               ^~~~~~
quickjs.c: In function 'JS_CallInternal':
quickjs.c:16302:17: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
16302 |     local_buf = alloca(alloca_size);
      |                 ^~~~~~
quickjs.c: In function 'getTimezoneOffset':
quickjs.c:42029:15: error: 'struct tm' has no member named 'tm_gmtoff'
42029 |     return -tm.tm_gmtoff / 60;
      |               ^
quickjs.c:42031:1: warning: control reaches end of non-void function [-Wreturn-type]
42031 | }
      | ^
gmake: *** [Makefile:304: .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