+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ast-grep-0.37.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ast-grep-0.37.0/work.log ===> Building for ast-grep-0.37.0 Compiling shlex v1.3.0 Compiling proc-macro2 v1.0.89 Compiling unicode-ident v1.0.12 Compiling tree-sitter-language v0.1.2 Compiling cc v1.2.19 Compiling memchr v2.7.2 Compiling cfg-if v1.0.0 Compiling libc v0.2.170 Compiling quote v1.0.36 Compiling autocfg v1.3.0 Compiling syn v2.0.87 Compiling serde v1.0.219 Compiling log v0.4.21 Compiling wasm-bindgen-shared v0.2.92 Compiling once_cell v1.19.0 Compiling aho-corasick v1.1.3 Compiling hashbrown v0.14.5 Compiling serde_json v1.0.140 Compiling equivalent v1.0.1 Compiling regex-syntax v0.8.5 Compiling indexmap v2.5.0 Compiling regex-automata v0.4.8 Compiling itoa v1.0.11 Compiling serde_derive v1.0.219 Compiling bumpalo v3.15.0 Compiling ryu v1.0.18 Compiling wasm-bindgen-backend v0.2.92 Compiling crossbeam-utils v0.8.19 Compiling tree-sitter v0.25.3 Compiling wasm-bindgen-macro-support v0.2.92 Compiling lock_api v0.4.12 Compiling parking_lot_core v0.9.10 Compiling wasm-bindgen v0.2.92 Compiling wasm-bindgen-macro v0.2.92 Compiling regex v1.11.1 warning: tree-sitter@0.25.3: In file included from /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././unicode.h:15, warning: tree-sitter@0.25.3: from /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/./lexer.c:3, warning: tree-sitter@0.25.3: from /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/lib.c:4: warning: tree-sitter@0.25.3: /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././portable/endian.h:233:6: error: #error platform not supported warning: tree-sitter@0.25.3: 233 | # error platform not supported warning: tree-sitter@0.25.3: | ^~~~~ warning: tree-sitter@0.25.3: /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././unicode.h: In function 'ts_decode_utf16_le': warning: tree-sitter@0.25.3: /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././unicode.h:18:9: warning: implicit declaration of function 'le16toh' [-Wimplicit-function-declaration] warning: tree-sitter@0.25.3: 18 | (c)=le16toh((s)[(i)++]); \ warning: tree-sitter@0.25.3: | ^~~~~~~ warning: tree-sitter@0.25.3: /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././unicode.h:57:3: note: in expansion of macro 'U16_NEXT_LE' warning: tree-sitter@0.25.3: 57 | U16_NEXT_LE(((uint16_t *)string), i, length, *code_point); warning: tree-sitter@0.25.3: | ^~~~~~~~~~~ warning: tree-sitter@0.25.3: /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././unicode.h: In function 'ts_decode_utf16_be': warning: tree-sitter@0.25.3: /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././unicode.h:29:9: warning: implicit declaration of function 'be16toh' [-Wimplicit-function-declaration] warning: tree-sitter@0.25.3: 29 | (c)=be16toh((s)[(i)++]); \ warning: tree-sitter@0.25.3: | ^~~~~~~ warning: tree-sitter@0.25.3: /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././unicode.h:67:3: note: in expansion of macro 'U16_NEXT_BE' warning: tree-sitter@0.25.3: 67 | U16_NEXT_BE(((uint16_t *)string), i, length, *code_point); warning: tree-sitter@0.25.3: | ^~~~~~~~~~~ error: failed to run custom build command for `tree-sitter v0.25.3` Caused by: process didn't exit successfully: `/home/pbulk/build/devel/ast-grep/work/ast-grep-0.37.0/target/release/build/tree-sitter-17438c448ab32ff8/build-script-build` (exit status: 1) --- stdout cargo:rerun-if-env-changed=CARGO_FEATURE_WASM cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/language.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/length.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/subtree.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/node.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/alloc.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/stack.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/lexer.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/get_changed_ranges.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/wasm_store.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/point.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/tree.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/parser.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/ts_assert.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/wasm cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/error_costs.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/tree_cursor.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/lexer.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/get_changed_ranges.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/host.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/alloc.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/stack.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/language.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/lib.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/query.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/portable cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/subtree.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/clock.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/atomic.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/reduce_action.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/tree_cursor.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/parser.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/wasm_store.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/reusable_node.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/unicode.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/unicode cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/array.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/tree.c OUT_DIR = Some(/home/pbulk/build/devel/ast-grep/work/ast-grep-0.37.0/target/release/build/tree-sitter-440e6ca5cbd7c33c/out) OPT_LEVEL = Some(3) TARGET = Some(x86_64-unknown-illumos) HOST = Some(x86_64-unknown-illumos) cargo:rerun-if-env-changed=CC_x86_64-unknown-illumos CC_x86_64-unknown-illumos = None cargo:rerun-if-env-changed=CC_x86_64_unknown_illumos CC_x86_64_unknown_illumos = None cargo:rerun-if-env-changed=HOST_CC HOST_CC = None cargo:rerun-if-env-changed=CC CC = Some(gcc) cargo:rerun-if-env-changed=CC_KNOWN_WRAPPER_CUSTOM CC_KNOWN_WRAPPER_CUSTOM = None RUSTC_WRAPPER = None cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None DEBUG = Some(false) CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CFLAGS CFLAGS = Some(-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include) cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS CC_SHELL_ESCAPED_FLAGS = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_illumos CFLAGS_x86_64_unknown_illumos = None cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-illumos CFLAGS_x86_64-unknown-illumos = None CARGO_ENCODED_RUSTFLAGS = Some() OUT_DIR = Some(/home/pbulk/build/devel/ast-grep/work/ast-grep-0.37.0/target/release/build/tree-sitter-440e6ca5cbd7c33c/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None TARGET = Some(x86_64-unknown-illumos) CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) HOST = Some(x86_64-unknown-illumos) cargo:rerun-if-env-changed=CFLAGS CFLAGS = Some(-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include) cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS CC_SHELL_ESCAPED_FLAGS = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_illumos CFLAGS_x86_64_unknown_illumos = None cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-illumos CFLAGS_x86_64-unknown-illumos = None OUT_DIR = Some(/home/pbulk/build/devel/ast-grep/work/ast-grep-0.37.0/target/release/build/tree-sitter-440e6ca5cbd7c33c/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None TARGET = Some(x86_64-unknown-illumos) CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) HOST = Some(x86_64-unknown-illumos) cargo:rerun-if-env-changed=CFLAGS CFLAGS = Some(-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include) cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS CC_SHELL_ESCAPED_FLAGS = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_illumos CFLAGS_x86_64_unknown_illumos = None cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-illumos CFLAGS_x86_64-unknown-illumos = None OUT_DIR = Some(/home/pbulk/build/devel/ast-grep/work/ast-grep-0.37.0/target/release/build/tree-sitter-440e6ca5cbd7c33c/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None TARGET = Some(x86_64-unknown-illumos) CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) HOST = Some(x86_64-unknown-illumos) cargo:rerun-if-env-changed=CFLAGS CFLAGS = Some(-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include) cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS CC_SHELL_ESCAPED_FLAGS = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_illumos CFLAGS_x86_64_unknown_illumos = None cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-illumos CFLAGS_x86_64-unknown-illumos = None OUT_DIR = Some(/home/pbulk/build/devel/ast-grep/work/ast-grep-0.37.0/target/release/build/tree-sitter-440e6ca5cbd7c33c/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None TARGET = Some(x86_64-unknown-illumos) CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) HOST = Some(x86_64-unknown-illumos) cargo:rerun-if-env-changed=CFLAGS CFLAGS = Some(-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include) cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS CC_SHELL_ESCAPED_FLAGS = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_illumos CFLAGS_x86_64_unknown_illumos = None cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-illumos CFLAGS_x86_64-unknown-illumos = None OUT_DIR = Some(/home/pbulk/build/devel/ast-grep/work/ast-grep-0.37.0/target/release/build/tree-sitter-440e6ca5cbd7c33c/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None TARGET = Some(x86_64-unknown-illumos) CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) HOST = Some(x86_64-unknown-illumos) cargo:rerun-if-env-changed=CFLAGS CFLAGS = Some(-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include) cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS CC_SHELL_ESCAPED_FLAGS = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_illumos CFLAGS_x86_64_unknown_illumos = None cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-illumos CFLAGS_x86_64-unknown-illumos = None cargo:warning=In file included from /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././unicode.h:15, cargo:warning= from /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/./lexer.c:3, cargo:warning= from /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/lib.c:4: cargo:warning=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././portable/endian.h:233:6: error: #error platform not supported cargo:warning= 233 | # error platform not supported cargo:warning= | ^~~~~ cargo:warning=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././unicode.h: In function 'ts_decode_utf16_le': cargo:warning=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././unicode.h:18:9: warning: implicit declaration of function 'le16toh' [-Wimplicit-function-declaration] cargo:warning= 18 | (c)=le16toh((s)[(i)++]); \ cargo:warning= | ^~~~~~~ cargo:warning=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././unicode.h:57:3: note: in expansion of macro 'U16_NEXT_LE' cargo:warning= 57 | U16_NEXT_LE(((uint16_t *)string), i, length, *code_point); cargo:warning= | ^~~~~~~~~~~ cargo:warning=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././unicode.h: In function 'ts_decode_utf16_be': cargo:warning=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././unicode.h:29:9: warning: implicit declaration of function 'be16toh' [-Wimplicit-function-declaration] cargo:warning= 29 | (c)=be16toh((s)[(i)++]); \ cargo:warning= | ^~~~~~~ cargo:warning=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/././unicode.h:67:3: note: in expansion of macro 'U16_NEXT_BE' cargo:warning= 67 | U16_NEXT_BE(((uint16_t *)string), i, length, *code_point); cargo:warning= | ^~~~~~~~~~~ --- stderr error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src" "-I" "/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/wasm" "-I" "/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/include" "-std=c11" "-fvisibility=hidden" "-Wshadow" "-Wno-unused-parameter" "-Wno-incompatible-pointer-types" "-D_POSIX_C_SOURCE=200112L" "-D_DEFAULT_SOURCE" "-pipe" "-O2" "-msave-args" "-fno-aggressive-loop-optimizations" "-I/opt/pkg/include" "-o" "/home/pbulk/build/devel/ast-grep/work/ast-grep-0.37.0/target/release/build/tree-sitter-440e6ca5cbd7c33c/out/98490c8781b409d2-lib.o" "-c" "/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.3/src/lib.c" warning: build failed, waiting for other jobs to finish... *** Error code 101 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ast-grep *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ast-grep