>>> Building on exopi-2 under lang/quickjs BDEPENDS = [devel/gmake;archivers/xz] DIST = [lang/quickjs:quickjs-2024-01-13.tar.xz] FULLPKGNAME = quickjs-2024.01.13 Avoided depends for xz-5.6.3 gmake-4.4.1 distfiles size=765800 >>> Running build in lang/quickjs at 1734978010.63 ===> lang/quickjs ===> Building from scratch quickjs-2024.01.13 ===> quickjs-2024.01.13 depends on: gmake-* -> gmake-4.4.1 ===> quickjs-2024.01.13 depends on: xz->=5.4.0 -> xz-5.6.3 ===> Verifying specs: c m pthread ===> found c.100.3 m.10.1 pthread.27.1 ===> Checking files for quickjs-2024.01.13 `/exopi-cvs/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: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for quickjs-2024.01.13 ===> Configuring for quickjs-2024.01.13 ===> 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:10774:30: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] else if (d > INT64_MAX) ~ ^~~~~~~~~ /usr/include/sys/stdint.h:118:20: note: expanded from macro 'INT64_MAX' #define INT64_MAX 0x7fffffffffffffffLL ^~~~~~~~~~~~~~~~~~~~ quickjs.c:55332:25: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] if (isnan(d) || d > INT64_MAX) ~ ^~~~~~~~~ /usr/include/sys/stdint.h:118:20: note: expanded from macro 'INT64_MAX' #define INT64_MAX 0x7fffffffffffffffLL ^~~~~~~~~~~~~~~~~~~~ 2 warnings generated. 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 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 quickjs.c:10774:30: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] else if (d > INT64_MAX) ~ ^~~~~~~~~ /usr/include/sys/stdint.h:118:20: note: expanded from macro 'INT64_MAX' #define INT64_MAX 0x7fffffffffffffffLL ^~~~~~~~~~~~~~~~~~~~ quickjs.c:55332:25: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] if (isnan(d) || d > INT64_MAX) ~ ^~~~~~~~~ /usr/include/sys/stdint.h:118:20: note: expanded from macro 'INT64_MAX' #define INT64_MAX 0x7fffffffffffffffLL ^~~~~~~~~~~~~~~~~~~~ 2 warnings generated. 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 ld: warning: quickjs-libc.c(.obj/quickjs-libc.o:(js_module_loader)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: quickjs.c(.obj/quickjs.o:(js_dtoa1)): warning: sprintf() is often misused, please use snprintf() ld: warning: quickjs.c(.obj/quickjs.o:(js_host_resolve_imported_module)): warning: strcat() is almost always misused, please use strlcat() ./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 ld: warning: quickjs.c(.obj/quickjs.o:(js_dtoa1)): warning: sprintf() is often misused, please use snprintf() ld: warning: quickjs.c(.obj/quickjs.o:(js_dtoa1)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: quickjs.c(.obj/quickjs.o:(js_host_resolve_imported_module)): warning: strcat() is almost always misused, please use strlcat() 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 ld: warning: quickjs-libc.c(.obj/quickjs-libc.o:(js_module_loader)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: run-test262.c(.obj/run-test262.o:(str_append)): warning: strcat() is almost always misused, please use strlcat() ld: warning: quickjs.c(.obj/quickjs.o:(js_dtoa1)): 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 ld: warning: quickjs-libc.c(.obj/quickjs-libc.o:(js_module_loader)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: quickjs.c(.obj/quickjs.o:(js_dtoa1)): warning: sprintf() is often misused, please use snprintf() ld: warning: quickjs.c(.obj/quickjs.o:(js_host_resolve_imported_module)): warning: strcat() is almost always misused, please use strlcat() ./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 ld: warning: quickjs.c(quickjs.o:(js_dtoa1) in archive ./libquickjs.a): warning: sprintf() is often misused, please use snprintf() ld: warning: quickjs-libc.c(quickjs-libc.o:(js_module_loader) in archive ./libquickjs.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: quickjs.c(quickjs.o:(js_host_resolve_imported_module) in archive ./libquickjs.a): warning: strcat() is almost always misused, please use strlcat() ./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 ld: warning: quickjs.c(quickjs.o:(js_dtoa1) in archive libquickjs.a): warning: sprintf() is often misused, please use snprintf() ld: warning: quickjs.c(quickjs.o:(js_dtoa1) in archive libquickjs.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: quickjs.c(quickjs.o:(js_host_resolve_imported_module) in archive libquickjs.a): warning: strcat() is almost always misused, please use strlcat() 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 package in lang/quickjs at 1734978064.72 ===> lang/quickjs ===> Faking installation for quickjs-2024.01.13 mkdir -p "/exopi-obj/pobj/quickjs-2024.01.13/fake-amd64/usr/local/bin" strip qjs qjsc install -m755 qjs qjsc "/exopi-obj/pobj/quickjs-2024.01.13/fake-amd64/usr/local/bin" ln -sf qjs "/exopi-obj/pobj/quickjs-2024.01.13/fake-amd64/usr/local/bin/qjscalc" mkdir -p "/exopi-obj/pobj/quickjs-2024.01.13/fake-amd64/usr/local/lib/quickjs" install -m644 libquickjs.a "/exopi-obj/pobj/quickjs-2024.01.13/fake-amd64/usr/local/lib/quickjs" mkdir -p "/exopi-obj/pobj/quickjs-2024.01.13/fake-amd64/usr/local/include/quickjs" install -m644 quickjs.h quickjs-libc.h "/exopi-obj/pobj/quickjs-2024.01.13/fake-amd64/usr/local/include/quickjs" ===> Building package for quickjs-2024.01.13 Create /exopi-cvs/ports/packages/amd64/all/quickjs-2024.01.13.tgz 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|****************** | 28% archiving|*********************************** | 55% archiving|************************************ | 56% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/quickjs-2024.01.13.tgz >>> Running clean in lang/quickjs at 1734978066.82 ===> lang/quickjs ===> Cleaning for quickjs-2024.01.13 >>> Ended at 1734978067.04 max_stuck=22.69/build=54.10/package=2.10/clean=0.25