=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/lang/quickjs", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for quickjs-20260604 mkdir -p .obj .obj/examples .obj/tests gcc -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -MMD -MF .obj/quickjs.check.o.d -Wno-array-bounds -Wno-format-truncation -Wno-infinite-recursion -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2026-06-04\" -DCONFIG_CHECK_JSVALUE -c -o .obj/quickjs.check.o quickjs.c gcc -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -MMD -MF .obj/qjs.check.o.d -Wno-array-bounds -Wno-format-truncation -Wno-infinite-recursion -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2026-06-04\" -DCONFIG_CHECK_JSVALUE -c -o .obj/qjs.check.o qjs.c gcc -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -MMD -MF .obj/qjs.o.d -Wno-array-bounds -Wno-format-truncation -Wno-infinite-recursion -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2026-06-04\" -O2 -c -o .obj/qjs.o qjs.c In file included from qjs.c:43: cutils.h:36: warning: "__maybe_unused" redefined 36 | #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:43: cutils.h:36: warning: "__maybe_unused" redefined 36 | #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 quickjs.c:43: cutils.h:36: warning: "__maybe_unused" redefined 36 | #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__)) | qjs.c: In function 'js_trace_malloc_usable_size': qjs.c:148:12: warning: implicit declaration of function 'malloc_usable_size'; did you mean 'js_malloc_usable_size'? [-Wimplicit-function-declaration] 148 | return malloc_usable_size((void *)ptr); | ^~~~~~~~~~~~~~~~~~ | js_malloc_usable_size qjs.c: In function 'js_trace_malloc_usable_size': qjs.c:148:12: warning: implicit declaration of function 'malloc_usable_size'; did you mean 'js_malloc_usable_size'? [-Wimplicit-function-declaration] 148 | return malloc_usable_size((void *)ptr); | ^~~~~~~~~~~~~~~~~~ | js_malloc_usable_size quickjs.c: In function 'js_def_malloc_usable_size': quickjs.c:2157:12: warning: implicit declaration of function 'malloc_usable_size'; did you mean 'js_malloc_usable_size'? [-Wimplicit-function-declaration] 2157 | return malloc_usable_size((void *)ptr); | ^~~~~~~~~~~~~~~~~~ | js_malloc_usable_size quickjs.c: In function 'js_c_function_data_call': quickjs.c:6043:19: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 6043 | arg_buf = alloca(sizeof(arg_buf[0]) * s->length); | ^~~~~~ quickjs.c:6043:19: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] gcc -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -MMD -MF .obj/qjsc.o.d -Wno-array-bounds -Wno-format-truncation -Wno-infinite-recursion -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2026-06-04\" -DCONFIG_CC=\"gcc\" -DCONFIG_PREFIX=\"/opt/local\" -DCONFIG_LDL -O2 -c -o .obj/qjsc.o qjsc.c gcc -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -MMD -MF .obj/quickjs.o.d -Wno-array-bounds -Wno-format-truncation -Wno-infinite-recursion -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2026-06-04\" -O2 -c -o .obj/quickjs.o quickjs.c In file included from qjsc.c:36: cutils.h:36: warning: "__maybe_unused" redefined 36 | #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 quickjs.c:43: cutils.h:36: warning: "__maybe_unused" redefined 36 | #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:2157:12: warning: implicit declaration of function 'malloc_usable_size'; did you mean 'js_malloc_usable_size'? [-Wimplicit-function-declaration] 2157 | return malloc_usable_size((void *)ptr); | ^~~~~~~~~~~~~~~~~~ | js_malloc_usable_size quickjs.c: In function 'js_c_function_data_call': quickjs.c:6043:19: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 6043 | arg_buf = alloca(sizeof(arg_buf[0]) * s->length); | ^~~~~~ quickjs.c:6043:19: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] gcc -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -MMD -MF .obj/dtoa.o.d -Wno-array-bounds -Wno-format-truncation -Wno-infinite-recursion -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2026-06-04\" -O2 -c -o .obj/dtoa.o dtoa.c In file included from dtoa.c:35: cutils.h:36: warning: "__maybe_unused" redefined 36 | #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 dtoa.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:17628:19: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 17628 | arg_buf = alloca(sizeof(arg_buf[0]) * arg_count); | ^~~~~~ quickjs.c: In function 'js_call_bound_function': quickjs.c:17739:15: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 17739 | arg_buf = alloca(sizeof(JSValue) * arg_count); | ^~~~~~ quickjs.c: In function 'JS_CallInternal': quickjs.c:17880:17: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 17880 | local_buf = alloca(alloca_size); | ^~~~~~ quickjs.c: In function 'js_call_c_function': quickjs.c:17628:19: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 17628 | arg_buf = alloca(sizeof(arg_buf[0]) * arg_count); | ^~~~~~ quickjs.c: In function 'js_call_bound_function': quickjs.c:17739:15: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 17739 | arg_buf = alloca(sizeof(JSValue) * arg_count); | ^~~~~~ quickjs.c: In function 'JS_CallInternal': quickjs.c:17880:17: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 17880 | local_buf = alloca(alloca_size); | ^~~~~~ gcc -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -MMD -MF .obj/libregexp.o.d -Wno-array-bounds -Wno-format-truncation -Wno-infinite-recursion -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2026-06-04\" -O2 -c -o .obj/libregexp.o libregexp.c In file included from libregexp.c:31: cutils.h:36: warning: "__maybe_unused" redefined 36 | #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 -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -MMD -MF .obj/libunicode.o.d -Wno-array-bounds -Wno-format-truncation -Wno-infinite-recursion -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2026-06-04\" -O2 -c -o .obj/libunicode.o libunicode.c In file included from libunicode.c:30: cutils.h:36: warning: "__maybe_unused" redefined 36 | #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__)) | gcc -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -MMD -MF .obj/cutils.o.d -Wno-array-bounds -Wno-format-truncation -Wno-infinite-recursion -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2026-06-04\" -O2 -c -o .obj/cutils.o cutils.c In file included from cutils.c:30: cutils.h:36: warning: "__maybe_unused" redefined 36 | #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 -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -Wall -MMD -MF .obj/quickjs-libc.o.d -Wno-array-bounds -Wno-format-truncation -Wno-infinite-recursion -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2026-06-04\" -O2 -c -o .obj/quickjs-libc.o quickjs-libc.c In file included from quickjs-libc.c:76: cutils.h:36: warning: "__maybe_unused" redefined 36 | #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:2094:5: error: unknown type name 'sighandler_t'; did you mean 'sa_handler'? 2094 | sighandler_t handler; | ^~~~~~~~~~~~ | sa_handler quickjs-libc.c:2111:21: warning: assignment to 'int' from 'void (*)(int)' makes integer from pointer without a cast [-Wint-conversion] 2111 | handler = SIG_DFL; | ^ quickjs-libc.c:2113:21: warning: assignment to 'int' from 'void (*)(int)' makes integer from pointer without a cast [-Wint-conversion] 2113 | handler = SIG_IGN; | ^ quickjs-libc.c:2114:25: warning: passing argument 2 of 'signal' makes pointer from integer without a cast [-Wint-conversion] 2114 | 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:397: .obj/quickjs-libc.o] Error 1 gmake: *** Waiting for unfinished jobs.... quickjs.c: In function 'getTimezoneOffset': quickjs.c:47283:18: error: 'struct tm' has no member named 'tm_gmtoff' 47283 | res = -tm.tm_gmtoff / 60; | ^ quickjs.c: In function 'getTimezoneOffset': quickjs.c:47283:18: error: 'struct tm' has no member named 'tm_gmtoff' 47283 | res = -tm.tm_gmtoff / 60; | ^ gmake: *** [Makefile:418: .obj/quickjs.check.o] Error 1 gmake: *** [Makefile:397: .obj/quickjs.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/lang/quickjs *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/lang/quickjs