+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ast-grep-0.38.5/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ast-grep-0.38.5/work.log ===> Building for ast-grep-0.38.5 Compiling shlex v1.3.0 Compiling proc-macro2 v1.0.95 Compiling unicode-ident v1.0.18 Compiling cc v1.2.19 Compiling tree-sitter-language v0.1.5 Compiling autocfg v1.4.0 Compiling libc v0.2.172 Compiling quote v1.0.40 Compiling memchr v2.7.4 Compiling syn v2.0.100 Compiling cfg-if v1.0.0 Compiling lock_api v0.4.12 Compiling log v0.4.27 Compiling parking_lot_core v0.9.10 Compiling serde v1.0.219 Compiling crossbeam-utils v0.8.21 Compiling signal-hook v0.3.17 Compiling unicode-segmentation v1.12.0 Compiling aho-corasick v1.1.3 Compiling regex-syntax v0.8.5 Compiling serde_derive v1.0.219 Compiling once_cell v1.21.3 Compiling regex-automata v0.4.9 Compiling equivalent v1.0.2 Compiling serde_json v1.0.140 Compiling hashbrown v0.15.2 Compiling indexmap v2.9.0 Compiling ryu v1.0.20 Compiling scopeguard v1.2.0 Compiling smallvec v1.15.1 Compiling itoa v1.0.15 Compiling rustix v1.0.5 Compiling bitflags v2.9.0 Compiling regex v1.11.1 Compiling convert_case v0.7.1 Compiling tree-sitter v0.25.4 Compiling thiserror v2.0.12 Compiling derive_more-impl v2.0.1 Compiling thiserror-impl v2.0.12 warning: tree-sitter@0.25.4: In file included from /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/././unicode.h:15, warning: tree-sitter@0.25.4: from /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/./lexer.c:3, warning: tree-sitter@0.25.4: from /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/lib.c:4: warning: tree-sitter@0.25.4: /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/././portable/endian.h:233:6: error: #error platform not supported warning: tree-sitter@0.25.4: 233 | # error platform not supported warning: tree-sitter@0.25.4: | ^~~~~ warning: tree-sitter@0.25.4: /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/././unicode.h: In function 'ts_decode_utf16_le': warning: tree-sitter@0.25.4: /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/././unicode.h:18:9: warning: implicit declaration of function 'le16toh' [-Wimplicit-function-declaration] warning: tree-sitter@0.25.4: 18 | (c)=le16toh((s)[(i)++]); \ warning: tree-sitter@0.25.4: | ^~~~~~~ warning: tree-sitter@0.25.4: /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/././unicode.h:57:3: note: in expansion of macro 'U16_NEXT_LE' warning: tree-sitter@0.25.4: 57 | U16_NEXT_LE(((uint16_t *)string), i, length, *code_point); warning: tree-sitter@0.25.4: | ^~~~~~~~~~~ warning: tree-sitter@0.25.4: /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/././unicode.h: In function 'ts_decode_utf16_be': warning: tree-sitter@0.25.4: /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/././unicode.h:29:9: warning: implicit declaration of function 'be16toh' [-Wimplicit-function-declaration] warning: tree-sitter@0.25.4: 29 | (c)=be16toh((s)[(i)++]); \ warning: tree-sitter@0.25.4: | ^~~~~~~ warning: tree-sitter@0.25.4: /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/././unicode.h:67:3: note: in expansion of macro 'U16_NEXT_BE' warning: tree-sitter@0.25.4: 67 | U16_NEXT_BE(((uint16_t *)string), i, length, *code_point); warning: tree-sitter@0.25.4: | ^~~~~~~~~~~ error: failed to run custom build command for `tree-sitter v0.25.4` Caused by: process didn't exit successfully: `/home/pbulk/build/devel/ast-grep/work/ast-grep-0.38.5/target/release/build/tree-sitter-d5e8d9307bd7a255/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.4/src/alloc.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/alloc.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/array.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/atomic.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/clock.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/error_costs.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/get_changed_ranges.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/get_changed_ranges.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/host.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/language.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/language.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/length.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/lexer.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/lexer.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/lib.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/node.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/parser.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/parser.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/point.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/portable cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/query.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/reduce_action.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/reusable_node.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/stack.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/stack.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/subtree.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/subtree.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/tree.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/tree.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/tree_cursor.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/tree_cursor.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/ts_assert.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/unicode cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/unicode.h cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/wasm cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/wasm_store.c cargo:rerun-if-changed=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/wasm_store.h OUT_DIR = Some(/home/pbulk/build/devel/ast-grep/work/ast-grep-0.38.5/target/release/build/tree-sitter-f9678a3ccbd3b71b/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/local/include -I/usr/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.38.5/target/release/build/tree-sitter-f9678a3ccbd3b71b/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/local/include -I/usr/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.38.5/target/release/build/tree-sitter-f9678a3ccbd3b71b/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/local/include -I/usr/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.38.5/target/release/build/tree-sitter-f9678a3ccbd3b71b/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/local/include -I/usr/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.38.5/target/release/build/tree-sitter-f9678a3ccbd3b71b/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/local/include -I/usr/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.38.5/target/release/build/tree-sitter-f9678a3ccbd3b71b/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/local/include -I/usr/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.4/src/././unicode.h:15, cargo:warning= from /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/./lexer.c:3, cargo:warning= from /home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/lib.c:4: cargo:warning=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/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.4/src/././unicode.h: In function 'ts_decode_utf16_le': cargo:warning=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/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.4/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.4/src/././unicode.h: In function 'ts_decode_utf16_be': cargo:warning=/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/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.4/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.4/src" "-I" "/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/src/wasm" "-I" "/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/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/local/include" "-I/usr/include" "-o" "/home/pbulk/build/devel/ast-grep/work/ast-grep-0.38.5/target/release/build/tree-sitter-f9678a3ccbd3b71b/out/98490c8781b409d2-lib.o" "-c" "/home/pbulk/build/devel/ast-grep/work/vendor/tree-sitter-0.25.4/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-trunk-x86_64/devel/ast-grep *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/devel/ast-grep