>>> Building on sparc64-0d under lang/quickjs BDEPENDS = [lang/gcc/8,-libs;lang/gcc/8;archivers/xz;lang/gcc/8,-c++;devel/gmake] DIST = [lang/quickjs:quickjs-2024-01-13.tar.xz] FULLPKGNAME = quickjs-2024.01.13 RDEPENDS = [lang/gcc/8,-libs] Avoided depends for gcc-8.4.0p25 gmake-4.4.1 g++-8.4.0p25 gcc-libs-8.4.0p25 xz-5.6.4 distfiles size=765800 >>> Running patch in lang/quickjs at 1737982696.54 ===> lang/quickjs ===> Building from scratch quickjs-2024.01.13 Package database already locked... awaiting release... done! ===> quickjs-2024.01.13 depends on: gcc->=8,<9 -> gcc-8.4.0p25 ===> quickjs-2024.01.13 depends on: g++->=8,<9 -> g++-8.4.0p25 ===> quickjs-2024.01.13 depends on: gmake-* -> gmake-4.4.1 ===> quickjs-2024.01.13 depends on: xz->=5.4.0 -> xz-5.6.4 ===> quickjs-2024.01.13 depends on: gcc-libs->=8,<9 -> gcc-libs-8.4.0p25 ===> Verifying specs: c m pthread ===> found c.100.3 m.10.1 pthread.27.1 ===> Checking files for quickjs-2024.01.13 `/usr/ports/distfiles/quickjs-2024-01-13.tar.xz' is up to date. >> (SHA256) all files: OK ===> Extracting for quickjs-2024.01.13 ===> Patching for quickjs-2024.01.13 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Remove hardcoded -O2 |Use default ar |Don't use LTO |Remove warning clang doesn't understand |Remove -ldl | |Index: Makefile |--- Makefile.orig |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 28. Hunk #2 succeeded at 99. Hunk #3 succeeded at 123. Hunk #4 succeeded at 195. done ===> Applying OpenBSD patch patch-cutils_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Properly detect endianness. | |Index: cutils.h |--- cutils.h.orig |+++ cutils.h -------------------------- Patching file cutils.h using Plan A... Hunk #1 succeeded at 28. done ===> Applying OpenBSD patch patch-qjs_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: qjs.c |--- qjs.c.orig |+++ qjs.c -------------------------- Patching file qjs.c using Plan A... Hunk #1 succeeded at 152. done ===> Applying OpenBSD patch patch-qjsc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Remove -ldl | |Index: qjsc.c |--- qjsc.c.orig |+++ qjsc.c -------------------------- Patching file qjsc.c using Plan A... Hunk #1 succeeded at 449. done ===> Applying OpenBSD patch patch-quickjs-libc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: quickjs-libc.c |--- quickjs-libc.c.orig |+++ quickjs-libc.c -------------------------- Patching file quickjs-libc.c using Plan A... Hunk #1 succeeded at 55. done ===> Applying OpenBSD patch patch-quickjs_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: quickjs.c |--- quickjs.c.orig |+++ quickjs.c -------------------------- Patching file quickjs.c using Plan A... Hunk #1 succeeded at 1705. done ===> Applying OpenBSD patch patch-tests_test_builtin_js Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Disable tests that fail on OpenBSD. |More info: https://github.com/NetBSD/pkgsrc/blob/trunk/lang/quickjs/patches/patch-tests_test__builtin.js | |Fix the Float32Array test on big-endian platforms. | |Index: tests/test_builtin.js |--- tests/test_builtin.js.orig |+++ tests/test_builtin.js -------------------------- Patching file tests/test_builtin.js using Plan A... Hunk #1 succeeded at 336. done ===> Applying OpenBSD patch patch-tests_test_std_js Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |This test waits forever if the process ignores SIGQUIT. | |Index: tests/test_std.js |--- tests/test_std.js.orig |+++ tests/test_std.js -------------------------- Patching file tests/test_std.js using Plan A... Hunk #1 succeeded at 253. done ===> Compiler link: gcc -> /usr/local/bin/egcc ===> Compiler link: cc -> /usr/local/bin/egcc ===> Compiler link: c++ -> /usr/local/bin/eg++ ===> Compiler link: g++ -> /usr/local/bin/eg++ >>> Running configure in lang/quickjs at 1737982713.24 ===> lang/quickjs ===> Generating configure for quickjs-2024.01.13 ===> Configuring for quickjs-2024.01.13 >>> Running build in lang/quickjs at 1737982714.81 ===> lang/quickjs ===> Building for quickjs-2024.01.13 mkdir -p .obj .obj/examples .obj/tests cc -O2 -pipe -Wall -MMD -MF .obj/quickjs.check.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -DCONFIG_CHECK_JSVALUE -c -o .obj/quickjs.check.o quickjs.c quickjs.c: In function 'js_async_generator_next': quickjs.c:18574:12: warning: 'resolving_funcs[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] return JS_CallInternal(ctx, func_obj, this_obj, JS_UNDEFINED, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ argc, (JSValue *)argv, JS_CALL_FLAG_COPY_ARGV); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quickjs.c:19565:22: note: 'resolving_funcs[1]' was declared here JSValue promise, resolving_funcs[2]; ^~~~~~~~~~~~~~~ quickjs.c: In function 'js_async_from_sync_iterator_next': quickjs.c:18574:12: warning: 'resolving_funcs[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] return JS_CallInternal(ctx, func_obj, this_obj, JS_UNDEFINED, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ argc, (JSValue *)argv, JS_CALL_FLAG_COPY_ARGV); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quickjs.c:48756:22: note: 'resolving_funcs[1]' was declared here JSValue promise, resolving_funcs[2], value, err, method; ^~~~~~~~~~~~~~~ quickjs.c: In function 'JS_LoadModule': quickjs.c:18574:12: warning: '*((void *)&resolving_funcs+8)' may be used uninitialized in this function [-Wmaybe-uninitialized] return JS_CallInternal(ctx, func_obj, this_obj, JS_UNDEFINED, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ argc, (JSValue *)argv, JS_CALL_FLAG_COPY_ARGV); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quickjs.c:28452:22: note: '*((void *)&resolving_funcs+8)' was declared here JSValue promise, resolving_funcs[2]; ^~~~~~~~~~~~~~~ quickjs.c:28434:18: warning: 'resolving_funcs' may be used uninitialized in this function [-Wmaybe-uninitialized] func_data[0] = resolving_funcs[0]; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ quickjs.c:28452:22: note: 'resolving_funcs' was declared here JSValue promise, resolving_funcs[2]; ^~~~~~~~~~~~~~~ cc -O2 -pipe -Wall -MMD -MF .obj/qjs.check.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -DCONFIG_CHECK_JSVALUE -c -o .obj/qjs.check.o qjs.c cc -O2 -pipe -Wall -MMD -MF .obj/qjs.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -c -o .obj/qjs.o qjs.c cc -O2 -pipe -Wall -MMD -MF .obj/qjsc.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -DCONFIG_CC=\"cc\" -DCONFIG_PREFIX=\"/usr/local\" -c -o .obj/qjsc.o qjsc.c qjsc.c: In function 'jsc_module_loader.part.1': qjsc.c:221:46: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(cname1, sizeof(cname1), "%s_%d", cname, suffix_num); ^~ qjsc.c:221:9: note: 'snprintf' output between 3 and 1036 bytes into a destination of size 1024 snprintf(cname1, sizeof(cname1), "%s_%d", cname, suffix_num); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qjsc.c: In function 'main': qjsc.c:416:35: warning: '/quickjs.h' directive output may be truncated writing 10 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s/quickjs.h", exe_dir); ^~~~~~~~~~ qjsc.c:416:5: note: 'snprintf' output between 11 and 1034 bytes into a destination of size 1024 snprintf(buf, sizeof(buf), "%s/quickjs.h", exe_dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qjsc.c:448:47: warning: '/libquickjs' directive output may be truncated writing 11 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(libjsname, sizeof(libjsname), "%s/libquickjs%s%s.a", ^~~~~~~~~~~ qjsc.c:448:5: note: 'snprintf' output between 14 and 1037 bytes into a destination of size 1024 snprintf(libjsname, sizeof(libjsname), "%s/libquickjs%s%s.a", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib_dir, bn_suffix, lto_suffix); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -pipe -Wall -MMD -MF .obj/quickjs.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -c -o .obj/quickjs.o quickjs.c cc -O2 -pipe -Wall -MMD -MF .obj/libregexp.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -c -o .obj/libregexp.o libregexp.c cc -O2 -pipe -Wall -MMD -MF .obj/libunicode.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -c -o .obj/libunicode.o libunicode.c cc -O2 -pipe -Wall -MMD -MF .obj/cutils.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -c -o .obj/cutils.o cutils.c cc -O2 -pipe -Wall -MMD -MF .obj/quickjs-libc.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -c -o .obj/quickjs-libc.o quickjs-libc.c cc -O2 -pipe -Wall -MMD -MF .obj/libbf.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -c -o .obj/libbf.o libbf.c cc -g -o qjsc .obj/qjsc.o .obj/quickjs.o .obj/libregexp.o .obj/libunicode.o .obj/cutils.o .obj/quickjs-libc.o .obj/libbf.o -lm -lpthread .obj/quickjs.o: In function `js_host_resolve_imported_module': quickjs.c:(.text+0x2e7e0): warning: strcat() is almost always misused, please use strlcat() .obj/quickjs.o: In function `js_dtoa': quickjs.c:(.text+0x30d50): warning: strcpy() is almost always misused, please use strlcpy() quickjs.c:(.text+0x31060): warning: sprintf() is often misused, please use snprintf() ./qjsc -c -o repl.c -m repl.js cc -O2 -pipe -Wall -MMD -MF .obj/repl.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -c -o .obj/repl.o repl.c ./qjsc -fbignum -c -o qjscalc.c qjscalc.js cc -O2 -pipe -Wall -MMD -MF .obj/qjscalc.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -c -o .obj/qjscalc.o qjscalc.c cc -g -rdynamic -o qjs .obj/qjs.o .obj/repl.o .obj/quickjs.o .obj/libregexp.o .obj/libunicode.o .obj/cutils.o .obj/quickjs-libc.o .obj/libbf.o .obj/qjscalc.o -lm -lpthread .obj/quickjs.o: In function `js_host_resolve_imported_module': quickjs.c:(.text+0x2e7e0): warning: strcat() is almost always misused, please use strlcat() .obj/quickjs.o: In function `js_dtoa': quickjs.c:(.text+0x30d50): warning: strcpy() is almost always misused, please use strlcpy() quickjs.c:(.text+0x31060): warning: sprintf() is often misused, please use snprintf() cc -O2 -pipe -Wall -MMD -MF .obj/run-test262.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -c -o .obj/run-test262.o run-test262.c cc -g -o run-test262 .obj/run-test262.o .obj/quickjs.o .obj/libregexp.o .obj/libunicode.o .obj/cutils.o .obj/quickjs-libc.o .obj/libbf.o -lm -lpthread .obj/quickjs.o: In function `js_host_resolve_imported_module': quickjs.c:(.text+0x2e7e0): warning: strcat() is almost always misused, please use strlcat() .obj/run-test262.o: In function `str_append': run-test262.c:(.text+0x1c40): warning: strcpy() is almost always misused, please use strlcpy() .obj/quickjs.o: In function `js_dtoa': quickjs.c:(.text+0x31060): warning: sprintf() is often misused, please use snprintf() ln -sf qjs qjscalc ar rcs libquickjs.a .obj/quickjs.o .obj/libregexp.o .obj/libunicode.o .obj/cutils.o .obj/quickjs-libc.o .obj/libbf.o ./qjsc -e -fno-string-normalize -fno-map -fno-promise -fno-typedarray -fno-typedarray -fno-regexp -fno-json -fno-eval -fno-proxy -fno-date -fno-module-loader -fno-bigint -o hello.c examples/hello.js cc -O2 -pipe -Wall -MMD -MF .obj/hello.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -c -o .obj/hello.o hello.c cc -g -o examples/hello .obj/hello.o .obj/quickjs.o .obj/libregexp.o .obj/libunicode.o .obj/cutils.o .obj/quickjs-libc.o .obj/libbf.o -lm -lpthread .obj/quickjs.o: In function `js_host_resolve_imported_module': quickjs.c:(.text+0x2e7e0): warning: strcat() is almost always misused, please use strlcat() .obj/quickjs.o: In function `js_dtoa': quickjs.c:(.text+0x30d50): warning: strcpy() is almost always misused, please use strlcpy() quickjs.c:(.text+0x31060): warning: sprintf() is often misused, please use snprintf() ./qjsc -fno-string-normalize -fno-map -fno-promise -fno-typedarray -fno-typedarray -fno-regexp -fno-json -fno-eval -fno-proxy -fno-date -m -o examples/hello_module examples/hello_module.js ./libquickjs.a(quickjs.o): In function `js_host_resolve_imported_module': quickjs.c:(.text+0x2e7e0): warning: strcat() is almost always misused, please use strlcat() ./libquickjs.a(quickjs.o): In function `js_dtoa': quickjs.c:(.text+0x30d50): warning: strcpy() is almost always misused, please use strlcpy() quickjs.c:(.text+0x31060): warning: sprintf() is often misused, please use snprintf() ./qjsc -e -M examples/fib.so,fib -m -o test_fib.c examples/test_fib.js cc -O2 -pipe -Wall -MMD -MF .obj/test_fib.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -c -o .obj/test_fib.o test_fib.c cc -O2 -pipe -Wall -MMD -MF .obj/fib.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -c -o .obj/examples/fib.o examples/fib.c cc -g -o examples/test_fib .obj/test_fib.o .obj/examples/fib.o libquickjs.a -lm -lpthread libquickjs.a(quickjs.o): In function `js_host_resolve_imported_module': quickjs.c:(.text+0x2e7e0): warning: strcat() is almost always misused, please use strlcat() libquickjs.a(quickjs.o): In function `js_dtoa': quickjs.c:(.text+0x30d50): warning: strcpy() is almost always misused, please use strlcpy() quickjs.c:(.text+0x31060): warning: sprintf() is often misused, please use snprintf() cc -O2 -pipe -Wall -MMD -MF .obj/fib.pic.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -fPIC -DJS_SHARED_LIBRARY -c -o .obj/examples/fib.pic.o examples/fib.c cc -g -shared -o examples/fib.so .obj/examples/fib.pic.o cc -O2 -pipe -Wall -MMD -MF .obj/point.pic.o.d -Wno-array-bounds -fwrapv -D_GNU_SOURCE -DCONFIG_VERSION=\"2024-01-13\" -DCONFIG_BIGNUM -fPIC -DJS_SHARED_LIBRARY -c -o .obj/examples/point.pic.o examples/point.c cc -g -shared -o examples/point.so .obj/examples/point.pic.o >>> Running fake in lang/quickjs at 1737983326.03 ===> lang/quickjs ===> Faking installation for quickjs-2024.01.13 mkdir -p "/usr/obj/ports/quickjs-2024.01.13/fake-sparc64/usr/local/bin" strip qjs qjsc install -m755 qjs qjsc "/usr/obj/ports/quickjs-2024.01.13/fake-sparc64/usr/local/bin" ln -sf qjs "/usr/obj/ports/quickjs-2024.01.13/fake-sparc64/usr/local/bin/qjscalc" mkdir -p "/usr/obj/ports/quickjs-2024.01.13/fake-sparc64/usr/local/lib/quickjs" install -m644 libquickjs.a "/usr/obj/ports/quickjs-2024.01.13/fake-sparc64/usr/local/lib/quickjs" mkdir -p "/usr/obj/ports/quickjs-2024.01.13/fake-sparc64/usr/local/include/quickjs" install -m644 quickjs.h quickjs-libc.h "/usr/obj/ports/quickjs-2024.01.13/fake-sparc64/usr/local/include/quickjs" >>> Running package in lang/quickjs at 1737983328.32 ===> lang/quickjs `/usr/obj/ports/quickjs-2024.01.13/fake-sparc64/.fake_done' is up to date. ===> Building package for quickjs-2024.01.13 Create /usr/ports/packages/sparc64/all/quickjs-2024.01.13.tgz LIB_DEPENDS STEM->=8,<9:lang/gcc/8,-libs not needed for lang/quickjs ? Creating package quickjs-2024.01.13 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|*** | 6% checksumming|******* | 11% checksumming|********** | 17% checksumming|************** | 22% checksumming|***************** | 28% checksumming|******************** | 33% checksumming|************************ | 39% checksumming|*************************** | 44% checksumming|******************************* | 50% checksumming|********************************** | 56% checksumming|************************************* | 61% checksumming|***************************************** | 67% checksumming|******************************************** | 72% checksumming|*********************************************** | 78% checksumming|*************************************************** | 83% checksumming|****************************************************** | 89% checksumming|********************************************************** | 94% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|************************* | 39% archiving|********************************************* | 70% archiving|*************************************************************** | 99% archiving|****************************************************************|100% Error: change in plist | Assuming the old and new builds were done correctly | (fully up-to-date ports tree including relevant MODULES), | then someone probably forgot to bump a REVISION. | (see bsd.port.mk(5), PACKAGE_REPOSITORY) --- /usr/ports/plist/sparc64/quickjs-2024.01.13 +++ /usr/ports/plist/sparc64/quickjs-2024.01.13-new @@ -4,9 +4,7 @@ @arch sparc64 +DESC @sha vsEIrcYszk0yAaUIRLw7KhVXQqafim9Kn6UbOa4Kg/U= -@depend lang/gcc/8,-libs:gcc-libs->=8,<9:gcc-libs-8.4.0p25 @wantlib c.100.3 -@wantlib estdc++.19.0 @wantlib m.10.1 @wantlib pthread.27.1 @cwd /usr/local *** Error 1 in lang/quickjs (/usr/ports/infrastructure/mk/bsd.port.mk:2249 '/usr/ports/packages/sparc64/all/quickjs-2024.01.13.tgz': @trap "...) *** Error 2 in lang/quickjs (/usr/ports/infrastructure/mk/bsd.port.mk:2733 '_internal-package': @case X${_DEPENDS_CACHE} in X) _DEPENDS_CAC...) *** Error 2 in lang/quickjs (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'package': @lock=quickjs-2024.01.13; export _LOCKS_HELD=" quickj...) ===> Exiting lang/quickjs with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'package': @: ${echo_msg:=echo}; : ${target:=package}; for i in ; do ...) >>> Ended at 1737983337.45 max_stuck=304.51/patch=16.81/configure=1.57/build=611.21/fake=2.29/package=9.21 Error: job failed with 512 on sparc64-0d at 1737983337