>>> njs: Building community/njs 0.7.4-r0 (using abuild 3.9.0-r0) started Wed, 25 May 2022 09:39:07 +0000 >>> njs: Checking sanity of /home/buildozer/aports/community/njs/APKBUILD... >>> njs: Analyzing dependencies... >>> njs: Installing for build: build-base libedit-dev openssl-dev pcre-dev expect (1/11) Installing ncurses-dev (6.3_p20220521-r0) (2/11) Installing libedit-dev (20210910.3.1-r0) (3/11) Installing openssl-dev (1.1.1o-r0) (4/11) Installing libpcre16 (8.45-r2) (5/11) Installing libpcre32 (8.45-r2) (6/11) Installing pcre (8.45-r2) (7/11) Installing libpcrecpp (8.45-r2) (8/11) Installing pcre-dev (8.45-r2) (9/11) Installing tcl (8.6.12-r0) (10/11) Installing expect (5.45.4-r2) (11/11) Installing .makedepends-njs (20220525.093907) Executing busybox-1.35.0-r13.trigger OK: 267 MiB in 101 packages >>> njs: Cleaning up srcdir >>> njs: Cleaning up pkgdir >>> njs: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/njs-0.7.4.tar.gz >>> njs: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/njs-0.7.4.tar.gz >>> njs: Checking sha512sums... njs-0.7.4.tar.gz: OK mktemp-busybox-compat.patch: OK >>> njs: Unpacking /var/cache/distfiles/v3.16/njs-0.7.4.tar.gz... >>> njs: mktemp-busybox-compat.patch patching file test/options configuring for Linux 5.15.32-0-lts armv8l checking for C compiler: gcc + using GNU C compiler + gcc version 11.2.1 20220219 (Alpine 11.2.1_git20220219) checking for sizeof(int) ... 4 checking for sizeof(u_int) ... 4 checking for sizeof(void *) ... 4 checking for sizeof(uintptr_t) ... 4 checking for sizeof(size_t) ... 4 checking for sizeof(off_t) ... 8 checking for sizeof(time_t) ... 8 checking for system byte ordering ... little checking for GCC unsigned __int128 ... not found checking for GCC __builtin_expect() ... found checking for GCC __builtin_unreachable() ... found checking for GCC __builtin_prefetch() ... found checking for GCC __builtin_clz() ... found checking for GCC __builtin_clzll() ... found checking for GCC __attribute__ visibility ... found checking for GCC __attribute__ malloc ... found checking for GCC __attribute__ aligned ... found checking for GCC __attribute__ packed ... found checking for Address sanitizer ... not found checking for Memory sanitizer ... not found checking for _mm_setcsr() ... not found checking for clock_gettime(CLOCK_MONOTONIC) ... found checking for struct tm.tm_gmtoff ... found checking for altzone ... not found checking for posix_memalign() ... found checking for getrandom() ... found checking for stat.st_atimespec ... not found checking for stat.st_birthtim ... not found checking for stat.st_atim ... found checking for explicit_bzero() ... found checking for PCRE2 library ... not found checking for PCRE library ... not found checking for PCRE library in /usr ... found checking for PCRE version ... 8.45 checking for GNU readline library ... not found checking for editline library in editline/readline.h ... found checking for OpenSSL library ... not found checking for OpenSSL library -lcrypto ... found checking for OpenSSL version ... "OpenSSL 1.1.1o 3 May 2022" creating build-debug/Makefile checking for expect ... found + Expect version: expect version 5.45.4 NJS configuration summary: + using CC: "gcc" + using CFLAGS: " -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer" + using PCRE library: -lpcre + using readline library: -ledit + using OpenSSL library: -lcrypto njs build dir: build-debug njs CLI: build-debug/njs gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_diyfp.o \ -MMD -MF build-debug/src/njs_diyfp.dep -MT build-debug/src/njs_diyfp.o \ src/njs_diyfp.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_dtoa.o \ -MMD -MF build-debug/src/njs_dtoa.dep -MT build-debug/src/njs_dtoa.o \ src/njs_dtoa.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_dtoa_fixed.o \ -MMD -MF build-debug/src/njs_dtoa_fixed.dep -MT build-debug/src/njs_dtoa_fixed.o \ src/njs_dtoa_fixed.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_str.o \ -MMD -MF build-debug/src/njs_str.dep -MT build-debug/src/njs_str.o \ src/njs_str.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_strtod.o \ -MMD -MF build-debug/src/njs_strtod.dep -MT build-debug/src/njs_strtod.o \ src/njs_strtod.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_murmur_hash.o \ -MMD -MF build-debug/src/njs_murmur_hash.dep -MT build-debug/src/njs_murmur_hash.o \ src/njs_murmur_hash.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_djb_hash.o \ -MMD -MF build-debug/src/njs_djb_hash.dep -MT build-debug/src/njs_djb_hash.o \ src/njs_djb_hash.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_utf8.o \ -MMD -MF build-debug/src/njs_utf8.dep -MT build-debug/src/njs_utf8.o \ src/njs_utf8.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_utf16.o \ -MMD -MF build-debug/src/njs_utf16.dep -MT build-debug/src/njs_utf16.o \ src/njs_utf16.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_arr.o \ -MMD -MF build-debug/src/njs_arr.dep -MT build-debug/src/njs_arr.o \ src/njs_arr.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_rbtree.o \ -MMD -MF build-debug/src/njs_rbtree.dep -MT build-debug/src/njs_rbtree.o \ src/njs_rbtree.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_lvlhsh.o \ -MMD -MF build-debug/src/njs_lvlhsh.dep -MT build-debug/src/njs_lvlhsh.o \ src/njs_lvlhsh.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_trace.o \ -MMD -MF build-debug/src/njs_trace.dep -MT build-debug/src/njs_trace.o \ src/njs_trace.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_random.o \ -MMD -MF build-debug/src/njs_random.dep -MT build-debug/src/njs_random.o \ src/njs_random.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_md5.o \ -MMD -MF build-debug/src/njs_md5.dep -MT build-debug/src/njs_md5.o \ src/njs_md5.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_sha1.o \ -MMD -MF build-debug/src/njs_sha1.dep -MT build-debug/src/njs_sha1.o \ src/njs_sha1.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_sha2.o \ -MMD -MF build-debug/src/njs_sha2.dep -MT build-debug/src/njs_sha2.o \ src/njs_sha2.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_time.o \ -MMD -MF build-debug/src/njs_time.dep -MT build-debug/src/njs_time.o \ src/njs_time.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_file.o \ -MMD -MF build-debug/src/njs_file.dep -MT build-debug/src/njs_file.o \ src/njs_file.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_malloc.o \ -MMD -MF build-debug/src/njs_malloc.dep -MT build-debug/src/njs_malloc.o \ src/njs_malloc.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_mp.o \ -MMD -MF build-debug/src/njs_mp.dep -MT build-debug/src/njs_mp.o \ src/njs_mp.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_sprintf.o \ -MMD -MF build-debug/src/njs_sprintf.dep -MT build-debug/src/njs_sprintf.o \ src/njs_sprintf.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_utils.o \ -MMD -MF build-debug/src/njs_utils.dep -MT build-debug/src/njs_utils.o \ src/njs_utils.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_chb.o \ -MMD -MF build-debug/src/njs_chb.dep -MT build-debug/src/njs_chb.o \ src/njs_chb.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_value.o \ -MMD -MF build-debug/src/njs_value.dep -MT build-debug/src/njs_value.o \ src/njs_value.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_vm.o \ -MMD -MF build-debug/src/njs_vm.dep -MT build-debug/src/njs_vm.o \ src/njs_vm.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_vmcode.o \ -MMD -MF build-debug/src/njs_vmcode.dep -MT build-debug/src/njs_vmcode.o \ src/njs_vmcode.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_boolean.o \ -MMD -MF build-debug/src/njs_boolean.dep -MT build-debug/src/njs_boolean.o \ src/njs_boolean.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_number.o \ -MMD -MF build-debug/src/njs_number.dep -MT build-debug/src/njs_number.o \ src/njs_number.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_symbol.o \ -MMD -MF build-debug/src/njs_symbol.dep -MT build-debug/src/njs_symbol.o \ src/njs_symbol.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_string.o \ -MMD -MF build-debug/src/njs_string.dep -MT build-debug/src/njs_string.o \ src/njs_string.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_object.o \ -MMD -MF build-debug/src/njs_object.dep -MT build-debug/src/njs_object.o \ src/njs_object.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_object_prop.o \ -MMD -MF build-debug/src/njs_object_prop.dep -MT build-debug/src/njs_object_prop.o \ src/njs_object_prop.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_array.o \ -MMD -MF build-debug/src/njs_array.dep -MT build-debug/src/njs_array.o \ src/njs_array.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_json.o \ -MMD -MF build-debug/src/njs_json.dep -MT build-debug/src/njs_json.o \ src/njs_json.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_function.o \ -MMD -MF build-debug/src/njs_function.dep -MT build-debug/src/njs_function.o \ src/njs_function.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_regexp.o \ -MMD -MF build-debug/src/njs_regexp.dep -MT build-debug/src/njs_regexp.o \ src/njs_regexp.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_date.o \ -MMD -MF build-debug/src/njs_date.dep -MT build-debug/src/njs_date.o \ src/njs_date.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_error.o \ -MMD -MF build-debug/src/njs_error.dep -MT build-debug/src/njs_error.o \ src/njs_error.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_math.o \ -MMD -MF build-debug/src/njs_math.dep -MT build-debug/src/njs_math.o \ src/njs_math.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_timer.o \ -MMD -MF build-debug/src/njs_timer.dep -MT build-debug/src/njs_timer.o \ src/njs_timer.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_module.o \ -MMD -MF build-debug/src/njs_module.dep -MT build-debug/src/njs_module.o \ src/njs_module.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_event.o \ -MMD -MF build-debug/src/njs_event.dep -MT build-debug/src/njs_event.o \ src/njs_event.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_extern.o \ -MMD -MF build-debug/src/njs_extern.dep -MT build-debug/src/njs_extern.o \ src/njs_extern.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_variable.o \ -MMD -MF build-debug/src/njs_variable.dep -MT build-debug/src/njs_variable.o \ src/njs_variable.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_builtin.o \ -MMD -MF build-debug/src/njs_builtin.dep -MT build-debug/src/njs_builtin.o \ src/njs_builtin.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_lexer.o \ -MMD -MF build-debug/src/njs_lexer.dep -MT build-debug/src/njs_lexer.o \ src/njs_lexer.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_lexer_keyword.o \ -MMD -MF build-debug/src/njs_lexer_keyword.dep -MT build-debug/src/njs_lexer_keyword.o \ src/njs_lexer_keyword.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_parser.o \ -MMD -MF build-debug/src/njs_parser.dep -MT build-debug/src/njs_parser.o \ src/njs_parser.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_generator.o \ -MMD -MF build-debug/src/njs_generator.dep -MT build-debug/src/njs_generator.o \ src/njs_generator.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_disassembler.o \ -MMD -MF build-debug/src/njs_disassembler.dep -MT build-debug/src/njs_disassembler.o \ src/njs_disassembler.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_array_buffer.o \ -MMD -MF build-debug/src/njs_array_buffer.dep -MT build-debug/src/njs_array_buffer.o \ src/njs_array_buffer.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_typed_array.o \ -MMD -MF build-debug/src/njs_typed_array.dep -MT build-debug/src/njs_typed_array.o \ src/njs_typed_array.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_promise.o \ -MMD -MF build-debug/src/njs_promise.dep -MT build-debug/src/njs_promise.o \ src/njs_promise.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_encoding.o \ -MMD -MF build-debug/src/njs_encoding.dep -MT build-debug/src/njs_encoding.o \ src/njs_encoding.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_iterator.o \ -MMD -MF build-debug/src/njs_iterator.dep -MT build-debug/src/njs_iterator.o \ src/njs_iterator.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_scope.o \ -MMD -MF build-debug/src/njs_scope.dep -MT build-debug/src/njs_scope.o \ src/njs_scope.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_async.o \ -MMD -MF build-debug/src/njs_async.dep -MT build-debug/src/njs_async.o \ src/njs_async.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/external/njs_regex.o \ -MMD -MF build-debug/external/njs_regex.dep -MT build-debug/external/njs_regex.o \ external/njs_regex.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/src/njs_buffer.o \ -MMD -MF build-debug/src/njs_buffer.dep -MT build-debug/src/njs_buffer.o \ src/njs_buffer.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/external/njs_crypto_module.o \ -MMD -MF build-debug/external/njs_crypto_module.dep -MT build-debug/external/njs_crypto_module.o \ external/njs_crypto_module.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/external/njs_webcrypto_module.o \ -MMD -MF build-debug/external/njs_webcrypto_module.dep -MT build-debug/external/njs_webcrypto_module.o \ external/njs_webcrypto_module.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/external/njs_fs_module.o \ -MMD -MF build-debug/external/njs_fs_module.dep -MT build-debug/external/njs_fs_module.o \ external/njs_fs_module.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/external/njs_query_string_module.o \ -MMD -MF build-debug/external/njs_query_string_module.dep -MT build-debug/external/njs_query_string_module.o \ external/njs_query_string_module.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ -o build-debug/build-debug/njs_modules.o \ -MMD -MF build-debug/build-debug/njs_modules.dep -MT build-debug/build-debug/njs_modules.o \ build-debug/njs_modules.c ar -r -c build-debug/libnjs.a \ build-debug/src/njs_diyfp.o build-debug/src/njs_dtoa.o build-debug/src/njs_dtoa_fixed.o build-debug/src/njs_str.o build-debug/src/njs_strtod.o build-debug/src/njs_murmur_hash.o build-debug/src/njs_djb_hash.o build-debug/src/njs_utf8.o build-debug/src/njs_utf16.o build-debug/src/njs_arr.o build-debug/src/njs_rbtree.o build-debug/src/njs_lvlhsh.o build-debug/src/njs_trace.o build-debug/src/njs_random.o build-debug/src/njs_md5.o build-debug/src/njs_sha1.o build-debug/src/njs_sha2.o build-debug/src/njs_time.o build-debug/src/njs_file.o build-debug/src/njs_malloc.o build-debug/src/njs_mp.o build-debug/src/njs_sprintf.o build-debug/src/njs_utils.o build-debug/src/njs_chb.o build-debug/src/njs_value.o build-debug/src/njs_vm.o build-debug/src/njs_vmcode.o build-debug/src/njs_boolean.o build-debug/src/njs_number.o build-debug/src/njs_symbol.o build-debug/src/njs_string.o build-debug/src/njs_object.o build-debug/src/njs_object_prop.o build-debug/src/njs_array.o build-debug/src/njs_json.o build-debug/src/njs_function.o build-debug/src/njs_regexp.o build-debug/src/njs_date.o build-debug/src/njs_error.o build-debug/src/njs_math.o build-debug/src/njs_timer.o build-debug/src/njs_module.o build-debug/src/njs_event.o build-debug/src/njs_extern.o build-debug/src/njs_variable.o build-debug/src/njs_builtin.o build-debug/src/njs_lexer.o build-debug/src/njs_lexer_keyword.o build-debug/src/njs_parser.o build-debug/src/njs_generator.o build-debug/src/njs_disassembler.o build-debug/src/njs_array_buffer.o build-debug/src/njs_typed_array.o build-debug/src/njs_promise.o build-debug/src/njs_encoding.o build-debug/src/njs_iterator.o build-debug/src/njs_scope.o build-debug/src/njs_async.o build-debug/external/njs_regex.o build-debug/src/njs_buffer.o build-debug/external/njs_crypto_module.o build-debug/external/njs_webcrypto_module.o build-debug/external/njs_fs_module.o build-debug/external/njs_query_string_module.o build-debug/build-debug/njs_modules.o gcc -O -o build-debug/njs -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -O -Os -fomit-frame-pointer \ -Isrc -Ibuild-debug -Injs \ src/njs_shell.c \ build-debug/libnjs.a \ -O -lm -lpcre -lcrypto -ledit configuring for Linux 5.15.32-0-lts armv8l checking for C compiler: gcc + using GNU C compiler + gcc version 11.2.1 20220219 (Alpine 11.2.1_git20220219) checking for sizeof(int) ... 4 checking for sizeof(u_int) ... 4 checking for sizeof(void *) ... 4 checking for sizeof(uintptr_t) ... 4 checking for sizeof(size_t) ... 4 checking for sizeof(off_t) ... 8 checking for sizeof(time_t) ... 8 checking for system byte ordering ... little checking for GCC unsigned __int128 ... not found checking for GCC __builtin_expect() ... found checking for GCC __builtin_unreachable() ... found checking for GCC __builtin_prefetch() ... found checking for GCC __builtin_clz() ... found checking for GCC __builtin_clzll() ... found checking for GCC __attribute__ visibility ... found checking for GCC __attribute__ malloc ... found checking for GCC __attribute__ aligned ... found checking for GCC __attribute__ packed ... found checking for Address sanitizer ... not found checking for Memory sanitizer ... not found checking for _mm_setcsr() ... not found checking for clock_gettime(CLOCK_MONOTONIC) ... found checking for struct tm.tm_gmtoff ... found checking for altzone ... not found checking for posix_memalign() ... found checking for getrandom() ... found checking for stat.st_atimespec ... not found checking for stat.st_birthtim ... not found checking for stat.st_atim ... found checking for explicit_bzero() ... found checking for PCRE2 library ... not found checking for PCRE library ... not found checking for PCRE library in /usr ... found checking for PCRE version ... 8.45 checking for GNU readline library ... not found checking for editline library in editline/readline.h ... found checking for OpenSSL library ... not found checking for OpenSSL library -lcrypto ... found checking for OpenSSL version ... "OpenSSL 1.1.1o 3 May 2022" creating build/Makefile checking for expect ... found + Expect version: expect version 5.45.4 NJS configuration summary: + using CC: "gcc" + using CFLAGS: " -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer" + using PCRE library: -lpcre + using readline library: -ledit + using OpenSSL library: -lcrypto njs build dir: build njs CLI: build/njs gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_diyfp.o \ -MMD -MF build/src/njs_diyfp.dep -MT build/src/njs_diyfp.o \ src/njs_diyfp.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_dtoa.o \ -MMD -MF build/src/njs_dtoa.dep -MT build/src/njs_dtoa.o \ src/njs_dtoa.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_dtoa_fixed.o \ -MMD -MF build/src/njs_dtoa_fixed.dep -MT build/src/njs_dtoa_fixed.o \ src/njs_dtoa_fixed.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_str.o \ -MMD -MF build/src/njs_str.dep -MT build/src/njs_str.o \ src/njs_str.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_strtod.o \ -MMD -MF build/src/njs_strtod.dep -MT build/src/njs_strtod.o \ src/njs_strtod.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_murmur_hash.o \ -MMD -MF build/src/njs_murmur_hash.dep -MT build/src/njs_murmur_hash.o \ src/njs_murmur_hash.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_djb_hash.o \ -MMD -MF build/src/njs_djb_hash.dep -MT build/src/njs_djb_hash.o \ src/njs_djb_hash.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_utf8.o \ -MMD -MF build/src/njs_utf8.dep -MT build/src/njs_utf8.o \ src/njs_utf8.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_utf16.o \ -MMD -MF build/src/njs_utf16.dep -MT build/src/njs_utf16.o \ src/njs_utf16.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_arr.o \ -MMD -MF build/src/njs_arr.dep -MT build/src/njs_arr.o \ src/njs_arr.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_rbtree.o \ -MMD -MF build/src/njs_rbtree.dep -MT build/src/njs_rbtree.o \ src/njs_rbtree.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_lvlhsh.o \ -MMD -MF build/src/njs_lvlhsh.dep -MT build/src/njs_lvlhsh.o \ src/njs_lvlhsh.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_trace.o \ -MMD -MF build/src/njs_trace.dep -MT build/src/njs_trace.o \ src/njs_trace.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_random.o \ -MMD -MF build/src/njs_random.dep -MT build/src/njs_random.o \ src/njs_random.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_md5.o \ -MMD -MF build/src/njs_md5.dep -MT build/src/njs_md5.o \ src/njs_md5.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_sha1.o \ -MMD -MF build/src/njs_sha1.dep -MT build/src/njs_sha1.o \ src/njs_sha1.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_sha2.o \ -MMD -MF build/src/njs_sha2.dep -MT build/src/njs_sha2.o \ src/njs_sha2.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_time.o \ -MMD -MF build/src/njs_time.dep -MT build/src/njs_time.o \ src/njs_time.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_file.o \ -MMD -MF build/src/njs_file.dep -MT build/src/njs_file.o \ src/njs_file.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_malloc.o \ -MMD -MF build/src/njs_malloc.dep -MT build/src/njs_malloc.o \ src/njs_malloc.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_mp.o \ -MMD -MF build/src/njs_mp.dep -MT build/src/njs_mp.o \ src/njs_mp.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_sprintf.o \ -MMD -MF build/src/njs_sprintf.dep -MT build/src/njs_sprintf.o \ src/njs_sprintf.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_utils.o \ -MMD -MF build/src/njs_utils.dep -MT build/src/njs_utils.o \ src/njs_utils.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_chb.o \ -MMD -MF build/src/njs_chb.dep -MT build/src/njs_chb.o \ src/njs_chb.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_value.o \ -MMD -MF build/src/njs_value.dep -MT build/src/njs_value.o \ src/njs_value.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_vm.o \ -MMD -MF build/src/njs_vm.dep -MT build/src/njs_vm.o \ src/njs_vm.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_vmcode.o \ -MMD -MF build/src/njs_vmcode.dep -MT build/src/njs_vmcode.o \ src/njs_vmcode.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_boolean.o \ -MMD -MF build/src/njs_boolean.dep -MT build/src/njs_boolean.o \ src/njs_boolean.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_number.o \ -MMD -MF build/src/njs_number.dep -MT build/src/njs_number.o \ src/njs_number.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_symbol.o \ -MMD -MF build/src/njs_symbol.dep -MT build/src/njs_symbol.o \ src/njs_symbol.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_string.o \ -MMD -MF build/src/njs_string.dep -MT build/src/njs_string.o \ src/njs_string.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_object.o \ -MMD -MF build/src/njs_object.dep -MT build/src/njs_object.o \ src/njs_object.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_object_prop.o \ -MMD -MF build/src/njs_object_prop.dep -MT build/src/njs_object_prop.o \ src/njs_object_prop.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_array.o \ -MMD -MF build/src/njs_array.dep -MT build/src/njs_array.o \ src/njs_array.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_json.o \ -MMD -MF build/src/njs_json.dep -MT build/src/njs_json.o \ src/njs_json.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_function.o \ -MMD -MF build/src/njs_function.dep -MT build/src/njs_function.o \ src/njs_function.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_regexp.o \ -MMD -MF build/src/njs_regexp.dep -MT build/src/njs_regexp.o \ src/njs_regexp.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_date.o \ -MMD -MF build/src/njs_date.dep -MT build/src/njs_date.o \ src/njs_date.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_error.o \ -MMD -MF build/src/njs_error.dep -MT build/src/njs_error.o \ src/njs_error.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_math.o \ -MMD -MF build/src/njs_math.dep -MT build/src/njs_math.o \ src/njs_math.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_timer.o \ -MMD -MF build/src/njs_timer.dep -MT build/src/njs_timer.o \ src/njs_timer.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_module.o \ -MMD -MF build/src/njs_module.dep -MT build/src/njs_module.o \ src/njs_module.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_event.o \ -MMD -MF build/src/njs_event.dep -MT build/src/njs_event.o \ src/njs_event.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_extern.o \ -MMD -MF build/src/njs_extern.dep -MT build/src/njs_extern.o \ src/njs_extern.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_variable.o \ -MMD -MF build/src/njs_variable.dep -MT build/src/njs_variable.o \ src/njs_variable.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_builtin.o \ -MMD -MF build/src/njs_builtin.dep -MT build/src/njs_builtin.o \ src/njs_builtin.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_lexer.o \ -MMD -MF build/src/njs_lexer.dep -MT build/src/njs_lexer.o \ src/njs_lexer.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_lexer_keyword.o \ -MMD -MF build/src/njs_lexer_keyword.dep -MT build/src/njs_lexer_keyword.o \ src/njs_lexer_keyword.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_parser.o \ -MMD -MF build/src/njs_parser.dep -MT build/src/njs_parser.o \ src/njs_parser.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_generator.o \ -MMD -MF build/src/njs_generator.dep -MT build/src/njs_generator.o \ src/njs_generator.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_disassembler.o \ -MMD -MF build/src/njs_disassembler.dep -MT build/src/njs_disassembler.o \ src/njs_disassembler.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_array_buffer.o \ -MMD -MF build/src/njs_array_buffer.dep -MT build/src/njs_array_buffer.o \ src/njs_array_buffer.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_typed_array.o \ -MMD -MF build/src/njs_typed_array.dep -MT build/src/njs_typed_array.o \ src/njs_typed_array.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_promise.o \ -MMD -MF build/src/njs_promise.dep -MT build/src/njs_promise.o \ src/njs_promise.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_encoding.o \ -MMD -MF build/src/njs_encoding.dep -MT build/src/njs_encoding.o \ src/njs_encoding.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_iterator.o \ -MMD -MF build/src/njs_iterator.dep -MT build/src/njs_iterator.o \ src/njs_iterator.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_scope.o \ -MMD -MF build/src/njs_scope.dep -MT build/src/njs_scope.o \ src/njs_scope.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_async.o \ -MMD -MF build/src/njs_async.dep -MT build/src/njs_async.o \ src/njs_async.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/external/njs_regex.o \ -MMD -MF build/external/njs_regex.dep -MT build/external/njs_regex.o \ external/njs_regex.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/src/njs_buffer.o \ -MMD -MF build/src/njs_buffer.dep -MT build/src/njs_buffer.o \ src/njs_buffer.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/external/njs_crypto_module.o \ -MMD -MF build/external/njs_crypto_module.dep -MT build/external/njs_crypto_module.o \ external/njs_crypto_module.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/external/njs_webcrypto_module.o \ -MMD -MF build/external/njs_webcrypto_module.dep -MT build/external/njs_webcrypto_module.o \ external/njs_webcrypto_module.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/external/njs_fs_module.o \ -MMD -MF build/external/njs_fs_module.dep -MT build/external/njs_fs_module.o \ external/njs_fs_module.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/external/njs_query_string_module.o \ -MMD -MF build/external/njs_query_string_module.dep -MT build/external/njs_query_string_module.o \ external/njs_query_string_module.c gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/build/njs_modules.o \ -MMD -MF build/build/njs_modules.dep -MT build/build/njs_modules.o \ build/njs_modules.c ar -r -c build/libnjs.a \ build/src/njs_diyfp.o build/src/njs_dtoa.o build/src/njs_dtoa_fixed.o build/src/njs_str.o build/src/njs_strtod.o build/src/njs_murmur_hash.o build/src/njs_djb_hash.o build/src/njs_utf8.o build/src/njs_utf16.o build/src/njs_arr.o build/src/njs_rbtree.o build/src/njs_lvlhsh.o build/src/njs_trace.o build/src/njs_random.o build/src/njs_md5.o build/src/njs_sha1.o build/src/njs_sha2.o build/src/njs_time.o build/src/njs_file.o build/src/njs_malloc.o build/src/njs_mp.o build/src/njs_sprintf.o build/src/njs_utils.o build/src/njs_chb.o build/src/njs_value.o build/src/njs_vm.o build/src/njs_vmcode.o build/src/njs_boolean.o build/src/njs_number.o build/src/njs_symbol.o build/src/njs_string.o build/src/njs_object.o build/src/njs_object_prop.o build/src/njs_array.o build/src/njs_json.o build/src/njs_function.o build/src/njs_regexp.o build/src/njs_date.o build/src/njs_error.o build/src/njs_math.o build/src/njs_timer.o build/src/njs_module.o build/src/njs_event.o build/src/njs_extern.o build/src/njs_variable.o build/src/njs_builtin.o build/src/njs_lexer.o build/src/njs_lexer_keyword.o build/src/njs_parser.o build/src/njs_generator.o build/src/njs_disassembler.o build/src/njs_array_buffer.o build/src/njs_typed_array.o build/src/njs_promise.o build/src/njs_encoding.o build/src/njs_iterator.o build/src/njs_scope.o build/src/njs_async.o build/external/njs_regex.o build/src/njs_buffer.o build/external/njs_crypto_module.o build/external/njs_webcrypto_module.o build/external/njs_fs_module.o build/external/njs_query_string_module.o build/build/njs_modules.o gcc -Os -o build/njs -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ src/njs_shell.c \ build/libnjs.a \ -Os -lm -lpcre -lcrypto -ledit INPUTRC=test/inputrc PATH=build:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin expect -f test/shell_test.exp spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> njs.version '0.7.4' >> ^Cspawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var a = 1 undefined >> >> a *= 2 2 >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >>  Display all 1354 possibilities? (y or n) >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >>  Display all 1354 possibilities? (y or n) $262 $262.detachArrayBuffer $262.detachArrayBuffer.length $262.detachArrayBuffer.name $262[Symbol.toStringTag] [Symbol.toStringTag] AggregateError AggregateError.length AggregateError.name AggregateError.prototype AggregateError.prototype.constructor AggregateError.prototype.message AggregateError.prototype.name arguments spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> O >> Objectspawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> Ma thspawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> cons  console console.time.length console.dump console.time.name console.dump.length console.timeEnd console.dump.name console.timeEnd.length console.log console.timeEnd.name console.log.length console[Symbol.toStringTag] console.log.name const console.time >> consspawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> O >> Object Object Object.assign Object.assign.length Object.assign.name Object.create Object.create.length Object.create.name Object.defineProperties Object.defineProperties.length Object.defineProperties.name Object.defineProperty Object.defineProperty.length Object.defineProperty.name Object.entries Object.entries.length Object.entries.name Object.freeze Object.freeze.length Object.freeze.name Object.getOwnPropertyDescriptor Object.getOwnPropertyDescriptor.length Object.getOwnPropertyDescriptor.name Object.getOwnPropertyDescriptors Object.getOwnPropertyDescriptors.length Object.getOwnPropertyDescriptors.name Object.getOwnPropertyNames Object.getOwnPropertyNames.length Object.getOwnPropertyNames.name Object.getOwnPropertySymbols Object.getOwnPropertySymbols.length Object.getOwnPropertySymbols.name Object.getPrototypeOf Object.getPrototypeOf.length Object.getPrototypeOf.name Object.is Object.is.length Object.is.name Object.isExtensible Object.isExtensible.length Object.isExtensible.name Object.isFrozen Object.isFrozen.length Object.isFrozen.name Object.isSealed Object.isSealed.length Object.isSealed.name Object.keys Object.keys.length Object.keys.name Object.length Object.name Object.preventExtensions Object.preventExtensions.length Object.preventExtensions.name Object.prototype Object.prototype.__proto__ Object.prototype.constructor Object.prototype.hasOwnProperty Object.prototype.hasOwnProperty.length Object.prototype.hasOwnProperty.name Object.prototype.isPrototypeOf Object.prototype.isPrototypeOf.length Object.prototype.isPrototypeOf.name Object.prototype.propertyIsEnumerable Object.prototype.propertyIsEnumerable.length Object.prototype.propertyIsEnumerable.name spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> Object.  Object.assign Object.assign.length Object.assign.name Object.create Object.create.length Object.create.name Object.defineProperties Object.defineProperties.length Object.defineProperties.name Object.defineProperty Object.defineProperty.length Object.defineProperty.name Object.entries Object.entries.length Object.entries.name Object.freeze Object.freeze.length Object.freeze.name Object.getOwnPropertyDescriptor Object.getOwnPropertyDescriptor.length Object.getOwnPropertyDescriptor.name Object.getOwnPropertyDescriptors Object.getOwnPropertyDescriptors.length Object.getOwnPropertyDescriptors.name Object.getOwnPropertyNames Object.getOwnPropertyNames.length Object.getOwnPropertyNames.name Object.getOwnPropertySymbols Object.getOwnPropertySymbols.length Object.getOwnPropertySymbols.name Object.getPrototypeOf Object.getPrototypeOf.length Object.getPrototypeOf.name Object.is Object.is.length Object.is.name Object.isExtensible Object.isExtensible.length Object.isExtensible.name Object.isFrozen Object.isFrozen.length Object.isFrozen.name Object.isSealed Object.isSealed.length Object.isSealed.name Object.keys Object.keys.length Object.keys.name Object.length Object.name Object.preventExtensions Object.preventExtensions.length Object.preventExtensions.name Object.prototype Object.prototype.__proto__ Object.prototype.constructor Object.prototype.hasOwnProperty Object.prototype.hasOwnProperty.length Object.prototype.hasOwnProperty.name Object.prototype.isPrototypeOf spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> Object.g et Object.getOwnPropertyDescriptor Object.getOwnPropertyDescriptor.length Object.getOwnPropertyDescriptor.name Object.getOwnPropertyDescriptors Object.getOwnPropertyDescriptors.length Object.getOwnPropertyDescriptors.name Object.getOwnPropertyNames Object.getOwnPropertyNames.length Object.getOwnPropertyNames.name Object.getOwnPropertySymbols Object.getOwnPropertySymbols.length Object.getOwnPropertySymbols.name Object.getPrototypeOf Object.getPrototypeOf.length Object.getPrototypeOf.name >> Object.get Object.getOwnPropertyDescriptor Object.getOwnPropertyDescriptor.length Object.getOwnPropertyDescriptor.name Object.getOwnPropertyDescriptors Object.getOwnPropertyDescriptors.length spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> JS ON JSON JSON.parse.name JSON.stringify.name JSON.parse JSON.stringify JSON[Symbol.toStringTag] JSON.parse.length JSON.stringify.length >> JSON JSON JSON.parse.name JSON.stringify.name JSON.parse JSON.stringify JSON[Symbol.toStringTag] JSON.parse.length JSON.stringify.length spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> 1.spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> 1..spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> 'abc'.spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var a = 1; var aa = 2 undefined >> >> a >> a a aa arguments async await >> aspawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var zz = 1 undefined >> >> 1 + z z 2 >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> unknown_varspawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> unknown_var.spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var o = {zz:1, zb:2} undefined >> >> o.z  o.zb o.zz >> o.zspawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var d = new Date() undefined >> >> d.to  d.toDateString d.toLocaleDateString d.toString d.toISOString d.toLocaleString d.toTimeString d.toJSON d.toLocaleTimeString d.toUTCString >> d.tospawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var o = {a:new Date()} undefined >> >> o.a.to o.a.to  o.a.toDateString o.a.toLocaleDateString o.a.toString o.a.toISOString o.a.toLocaleString o.a.toTimeString o.a.toJSON o.a.toLocaleTimeString o.a.toUTCString >> o.a.tospawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var o = {a:1,b:2,333:'t'} undefined >> >> o.3spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var a = Array(5000000); a.aab = 1; a.aac = 2 2 >> >> a. a.  a.__proto__ a.hasOwnProperty a.reduceRight a.aab a.includes a.reverse a.aac a.indexOf a.shift a.concat a.isPrototypeOf a.slice a.constructor a.join a.some a.copyWithin a.keys a.sort a.entries a.lastIndexOf a.splice a.every a.length a.toString a.fill a.map a.unshift a.filter a.pop a.valueOf a.find a.propertyIsEnumerable a.values spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var a = new Uint8Array([5,6,7,8,8]); a.aab = 1; a.aac = 2 2 >> >> a.  a.__proto__ a.find a.reduce a.aab a.findIndex a.reduceRight a.aac a.forEach a.reverse a.buffer a.hasOwnProperty a.set a.byteLength a.includes a.slice a.byteOffset a.indexOf a.some a.BYTES_PER_ELEMENT a.isPrototypeOf a.sort a.constructor a.join a.subarray a.copyWithin a.keys a.toString a.entries a.lastIndexOf a.valueOf a.every a.length a.values a.fill a.map spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> function a() { return 1; } undefined >> >> a(); 1 >> >> function a() { return 2; } undefined >> >> a(); 2 >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> console[Symbol.toStringTag] 'Console' >> >> Object.prototype.toString.call(console) '[object Console]' >> >> console.toString() '[object Console]' >> >> console Console { log: [Function: log], dump: [Function: dump], time: [Function: time], timeEnd: [Function: timeEnd] } >> >> delete console.log true >> >> console Console { dump: [Function: dump], time: [Function: time], timeEnd: [Function: timeEnd] } >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> console[Symbol.toStringTag] 'Console' >> >> console Console { log: [Function: log], dump: [Function: dump], time: [Function: time], timeEnd: [Function: timeEnd] } >> >> console.log() undefined >> >> console.log('') undefined >> >> console.log(1) console.log(1) 1 undefined >> >> console.log(1, 'a') 1 a undefined >> >> print(1, 'a') 1 a undefined >> >> console.log('\tабв\nгд') абв гд undefined >> >> console.dump() undefined >> >> console.dump(1) 1 undefined >> >> console.dump(1, 'a') 1 a undefined >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> console.time() undefined >> >> console.timeEnd() default: 0.131681ms undefined >> >> console.time(undefined) undefined >> >> console.timeEnd(undefined) default: 0.153081ms undefined >> >> console.time('abc') undefined >> >> console.time('abc') Timer "abc" already exists. undefined >> >> console.timeEnd('abc') abc: 0.136361ms undefined >> >> console.time(true) undefined >> >> console.timeEnd(true) true: 0.136320ms undefined >> >> console.time(42) undefined >> >> console.timeEnd(42) 42: 0.134480ms undefined >> >> console.timeEnd() Timer "default" doesn’t exist. undefined >> console.timeEnd('abc') >> console.timeEnd('abc') Timer "abc" doesn’t exist. undefined >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> console.ll() Thrown: TypeError: (intermediate value)["ll"] is not a function at main (shell:1) >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> console.log.length 0 >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var print = console.log.bind(console); print(1, 'a', [1, 2]) 1 a [1,2] undefined >> >> var print = console.dump.bind(console); print(1, 'a', [1, 2]) 1 a [ 1, 2 ] undefined >> >> var print = console.log.bind(console); print(console.a.a) Thrown: TypeError: cannot get property "a" of undefined at console.log (native) at main (shell:1) >> >> print(console.a.a) Thrown: TypeError: cannot get property "a" of undefined at console.log (native) at main (shell:1) >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> console.log(console.a.a) Thrown: TypeError: cannot get property "a" of undefined at console.log (native) at main (shell:1) >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var o = {toString: function(){}, log: console.log} undefined >> >> o { toString: [Function], log: [Function: log] } >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> [1, new Number(2), 'a', new String('αβZγ'), true, new Boolean(false)] [ 1, [Number: 2], 'a', [String: 'αβZγ'], true, [Boolean: false] ] >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> [undefined,,null] [ undefined, , null ] >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> [InternalError(),TypeError('msg'), new RegExp(), /^undef$/m, new Date(0)] [ InternalError, TypeError: msg, /(?:)/, /^undef$/m, 1970-01-01T00:00:00.000Z ] >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> "\r\0\"" '\r\u0000"' >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> [{a:1}] [ { a: 1 } ] ^Cspawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> JSON.parse(Error()) Thrown: SyntaxError: Unexpected token at position 0 at JSON.parse (native) at main (shell:1) >> >> JSON.parse(Error() Thrown: SyntaxError: Unexpected end of input in shell:1 >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> try { console.log({ toString: function() { throw 'test'; } }) } catch (e) {} {toString:[Function]} undefined >> >> function f() { throw 't' }; try { console.log({ toString: function() { return f() } }) } catch (e) {} function f() { throw 't' }; try { console.log({ toString: function() { return  f() } }) } catch (e) {} {toString:[Function]} undefined >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> (function() { throw 'test' })() Thrown: test >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> function f() { return ({}.a.a); } undefined >> >> var e; try {f()} catch (ee) {e = ee} undefined >> >> Object.keys(null) Thrown: TypeError: cannot convert null argument to object at Object.keys (native) at main (shell:1) >> >> e TypeError: cannot get property "a" of undefined at unknown (native) at main (shell:1) >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> '絵文字' '絵文字' >> var v = 'абвгдеёжзийкл';v[10] >> var v = 'абвгдеёжзийкл';v[10] 'й' >> ^Cspawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var t = setImmediate(console.log, 'a', 'aa') undefined a aa >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var a = 1 + 1; setTimeout(function (x) {a = x}, 0, 'a'); a 2 >> a >> a 'a' >> ^Cspawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> setTimeout(function () {}, 1, 'a') njs_console_set_timer(): async timers unsupported ^Cspawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var a = 1 + 1; setTimeout(function (x) { setTimeout(function (y) {a = y}, 0, x)}, 0, 'a'); a 2 >> >> a 'a' >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var a = 1 + 1; setImmediate(function (x) { setImmediate(function (y) {a = y},  x)}, 'a'); a 2 >> >> a a 'a' >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var i = 0; (function x() { if (i < 10) setImmediate(x); i++; })() undefined >> >> i i 11 >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var a = 0, t = setImmediate(function() {a = 1}); clearTimeout(t) undefined >> >> a 0 >> >> spawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var i = 0; (function x() { if (i < 3) setImmediate(x); i++; throw 'Oops';})()  Thrown: Oops Thrown: Oops Thrown: Oops Thrown: Oops >> >> i 4 >> ^Cspawn -nottycopy njs interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var i = 0, queue = []; (function x() { if (i < 5) setImmediate(x); queue.push (i++); })() undefined >> >> queue.toString() queue.toString() '0,1,2,3,4,5' >> >> spawn -nottycopy njs -d interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> 1+1 shell:main 1 | 00000 ADD 0223 0233 0233 1 | 00016 STOP 0223 2 >> __unknown >> __unknown shell:main 1 | 00000 GLOBAL GET 0423 0023 0433 1 | 00016 REFERENCE ERROR 1 | 00032 STOP 0423 Thrown: ReferenceError: "__unknown" is not defined at main (shell:1) >> >> for (var n in [1]) {try {break} finally{}} shell:main 1 | 00000 ARRAY 0823 1 1 | 00016 PROP INIT 0233 0823 0633 1 | 00032 PROP FOREACH 0A23 0823 92 1 | 00048 TRY START 0C23 0E23 44 1 | 00064 JUMP 16 1 | 00072 TRY END 32 1 | 00080 TRY BREAK 0E23 -8 1 | 00092 CATCH 0C23 12 1 | 00104 TRY FINALLY 0C23 0E23 12 40 0 | 00124 PROP NEXT 0623 0823 0A23 -76 1 | 00144 STOP 0033 undefined >> >> (function() {try {return} finally{}})() shell:main 1 | 00000 FUNCTION 1023 F755BB00 0000 1 | 00016 FUNCTION FRAME 1023 0 1 | 00032 FUNCTION CALL 1023 1 | 00040 STOP 1023 shell:anonymous 1 | 00000 TRY START 0403 0603 52 1 | 00016 TRY RETURN 0603 0033 24 1 | 00032 TRY END 32 1 | 00040 TRY BREAK 0603 -8 1 | 00052 CATCH 0403 12 1 | 00064 TRY FINALLY 0403 0603 12 16 1 | 00084 RETURN 0033 undefined >> >> spawn -nottycopy njs -p test/js/module/ -p test/js/module/libs/ interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> import lib1 from 'lib1.js'; import lib2 from 'lib1.js' undefined >> >> lib2.inc() lib2.inc() undefined >> >> lib1.get() 1 >> import ref from 'ref_exception.js' >> import ref from 'ref_exception.js' undefined >> >> var ref Thrown: SyntaxError: "ref" has already been declared in shell:1 >> >> import ref from 'ref_exception.js' Thrown: SyntaxError: "ref" has already been declared in shell:1 >> >> spawn -nottycopy njs -s interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var fs = require('fs') Thrown: Error: Cannot find module "fs" at require (native) at main (shell:1) >> >> spawn -nottycopy njs -s interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> var crypto = require('crypto') undefined >> >> ^Cspawn -nottycopy njs -u interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> new Function() Thrown: TypeError: function constructor is disabled in "safe" mode at Function (native) at main (shell:1) >> >> (new Function('return this'))() === globalThis true >> >> new Function('return this;') [Function] >> >> new Function('return thi') Thrown: TypeError: function constructor is disabled in "safe" mode at Function (native) at main (shell:1) >> >> spawn -nottycopy njs -t module interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> this undefined >> >> (() => this)() undefined >> >> spawn -nottycopy njs -t script interactive njs 0.7.4 v. -> the properties and prototype methods of v. >> this.NaN NaN >> >> gcc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild -Injs \ -o build/test/njs_externals_test.o \ -MMD -MF build/test/njs_externals_test.dep -MT build/test/njs_externals_test.o \ src/test/njs_externals_test.c gcc -Os -o build/njs_unit_test -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -Os -Os -fomit-frame-pointer \ -Isrc -Ibuild \ -MMD -MF build/test/njs_unit_test.dep -MT build/njs_unit_test.c \ build/test/njs_externals_test.o \ -Injs src/test/njs_unit_test.c build/libnjs.a \ -Os -lm -lpcre -lcrypto build/njs_unit_test script tests: PASSED [5144/5144] safe script tests: PASSED [5/5] denormals tests: PASSED [9/9] webcrypto tests: PASSED [1/1] module tests: PASSED [5/5] fs module tests: PASSED [54/54] crypto module tests: PASSED [36/36] querystring module tests: PASSED [75/75] buffer module tests: PASSED [196/196] externals tests: PASSED [94/94] async handler tests: PASSED [2/2] shared tests: PASSED [31/31] interactive tests: PASSED [26/26] backtraces tests: PASSED [34/34] njs timezone tests skipped, timezone is unavailable regexp optional tests: PASSED [16/16] vm_json tests: PASSED [6/6] vm_value tests: PASSED [8/8] vm_internal_api tests: PASSED [67/67] TOTAL: PASSED [5809/5809] test/test262 --binary=build/njs TOTAL: PASSED [120/120] >>> njs: Entering fakeroot... >>> njs-debug*: Running split function debug... >>> njs-debug*: Preparing subpackage njs-debug... >>> njs-debug*: Running postcheck for njs-debug >>> njs-libs-static*: Running split function static... >>> njs-libs-static*: Preparing subpackage njs-libs-static... >>> njs-libs-static*: Stripping binaries >>> njs-libs-static*: Running postcheck for njs-libs-static >>> njs*: Running postcheck for njs >>> njs*: Preparing package njs... >>> njs*: Stripping binaries >>> njs-debug*: Scanning shared objects >>> njs-libs-static*: Scanning shared objects >>> njs*: Scanning shared objects >>> njs-debug*: Tracing dependencies... so:libc.musl-armv7.so.1 so:libcrypto.so.1.1 so:libedit.so.0 so:libpcre.so.1 >>> njs-debug*: Package size: 2.8 MB >>> njs-debug*: Compressing data... >>> njs-debug*: Create checksum... >>> njs-debug*: Create njs-debug-0.7.4-r0.apk >>> njs-libs-static*: Tracing dependencies... >>> njs-libs-static*: Package size: 8.4 MB >>> njs-libs-static*: Compressing data... >>> njs-libs-static*: Create checksum... >>> njs-libs-static*: Create njs-libs-static-0.7.4-r0.apk >>> njs*: Tracing dependencies... so:libc.musl-armv7.so.1 so:libcrypto.so.1.1 so:libedit.so.0 so:libpcre.so.1 >>> njs*: Package size: 500.0 KB >>> njs*: Compressing data... >>> njs*: Create checksum... >>> njs*: Create njs-0.7.4-r0.apk >>> njs: Build complete at Wed, 25 May 2022 09:40:01 +0000 elapsed time 0h 0m 54s >>> njs: Cleaning up srcdir >>> njs: Cleaning up pkgdir >>> njs: Uninstalling dependencies... (1/11) Purging .makedepends-njs (20220525.093907) (2/11) Purging libedit-dev (20210910.3.1-r0) (3/11) Purging ncurses-dev (6.3_p20220521-r0) (4/11) Purging openssl-dev (1.1.1o-r0) (5/11) Purging pcre-dev (8.45-r2) (6/11) Purging libpcre16 (8.45-r2) (7/11) Purging libpcre32 (8.45-r2) (8/11) Purging libpcrecpp (8.45-r2) (9/11) Purging pcre (8.45-r2) (10/11) Purging expect (5.45.4-r2) (11/11) Purging tcl (8.6.12-r0) Executing busybox-1.35.0-r13.trigger OK: 255 MiB in 90 packages >>> njs: Updating the community/armv7 repository index... >>> njs: Signing the index...