+ 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/helix-22.03nb2/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/helix-22.03nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for helix-22.03nb2
   Compiling libc v0.2.121
   Compiling proc-macro2 v1.0.36
   Compiling memchr v2.4.1
   Compiling unicode-xid v0.2.2
   Compiling syn v1.0.89
   Compiling cfg-if v1.0.0
   Compiling log v0.4.16
   Compiling serde v1.0.136
   Compiling serde_derive v1.0.136
   Compiling autocfg v1.1.0
   Compiling version_check v0.9.4
   Compiling cc v1.0.73
   Compiling anyhow v1.0.56
   Compiling once_cell v1.10.0
   Compiling smallvec v1.8.0
   Compiling regex-syntax v0.6.25
   Compiling parking_lot_core v0.9.1
   Compiling helix-loader v0.6.0 (/home/pbulk/build/editors/helix/work/helix-22.03/helix-loader)
   Compiling futures-core v0.3.21
   Compiling scopeguard v1.1.0
   Compiling pin-project-lite v0.2.8
   Compiling encoding_rs v0.8.30
   Compiling serde_json v1.0.79
   Compiling tinyvec_macros v0.1.0
   Compiling itoa v1.0.1
   Compiling ryu v1.0.9
   Compiling futures-task v0.3.21
   Compiling bytes v1.1.0
   Compiling signal-hook v0.3.13
   Compiling matches v0.1.9
   Compiling unicode-general-category v0.5.1
   Compiling futures-util v0.3.21
   Compiling unicode-bidi v0.3.7
   Compiling pin-utils v0.1.0
   Compiling bitflags v1.3.2
   Compiling str_indices v0.3.1
   Compiling slab v0.4.5
   Compiling static_assertions v1.1.0
   Compiling percent-encoding v2.1.0
   Compiling lazy_static v1.4.0
   Compiling arc-swap v1.5.0
   Compiling unicode-width v0.1.9
   Compiling similar v2.1.0
   Compiling regex-automata v0.1.10
   Compiling unicode-segmentation v1.9.0
   Compiling either v1.6.1
   Compiling crossbeam-utils v0.8.8
   Compiling same-file v1.0.6
   Compiling fnv v1.0.7
   Compiling pulldown-cmark v0.9.1
   Compiling bytecount v0.6.2
   Compiling cassowary v0.3.0
   Compiling retain_mut v0.1.7
   Compiling libloading v0.7.3
   Compiling num-traits v0.2.14
   Compiling num-integer v0.1.44
   Compiling slotmap v1.0.6
   Compiling smartstring v1.0.1
   Compiling unicase v2.6.0
   Compiling tree-sitter v0.20.6
   Compiling thread_local v1.1.4
   Compiling lock_api v0.4.6
   Compiling tinyvec v1.5.1
   Compiling ropey v1.4.1
   Compiling form_urlencoded v1.0.1
   Compiling walkdir v2.3.2
   Compiling fuzzy-matcher v0.3.7
   Compiling unicode-normalization v0.1.19
   Compiling signal-hook-registry v1.4.0
   Compiling num_cpus v1.13.1
   Compiling dirs-sys-next v0.1.2
   Compiling socket2 v0.4.4
   Compiling which v4.2.5
   Compiling memmap2 v0.3.1
   Compiling quote v1.0.15
   Compiling aho-corasick v0.7.18
   Compiling bstr v0.2.17
   Compiling grep-matcher v0.1.5
   Compiling content_inspector v0.2.4
   Compiling mio v0.8.1
   Compiling mio v0.7.14
   Compiling fern v0.6.0
   Compiling chardetng v0.1.17
   Compiling encoding_rs_io v0.1.7
   Compiling idna v0.2.3
   Compiling threadpool v1.8.1
   Compiling parking_lot v0.12.0
   Compiling dirs-next v2.0.0
   Compiling regex v1.5.5
   Compiling grep-searcher v0.1.8
   Compiling futures-executor v0.3.21
   Compiling signal-hook-mio v0.2.1
   Compiling thiserror-impl v1.0.30
   Compiling tokio-macros v1.7.0
   Compiling serde_repr v0.1.7
   Compiling globset v0.4.8
   Compiling grep-regex v0.1.9
   Compiling chrono v0.4.19
   Compiling crossterm v0.23.1
   Compiling thiserror v1.0.30
   Compiling tokio v1.17.0
   Compiling ignore v0.4.18
   Compiling toml v0.5.8
   Compiling url v2.2.2
   Compiling etcetera v0.3.2
   Compiling tokio-stream v0.1.8
   Compiling signal-hook-tokio v0.3.1
   Compiling jsonrpc-core v18.0.0
   Compiling lsp-types v0.92.1
warning: unreachable expression
  --> helix-loader/src/lib.rs:27:5
   |
24 |       return std::path::PathBuf::from("/opt/local/share/helix").join(RT_DIR);
   |       ---------------------------------------------------------------------- any code following this expression is unreachable
...
27 | /     std::env::current_exe()
28 | |         .ok()
29 | |         .and_then(|path| path.parent().map(|path| path.to_path_buf().join(RT_DIR)))
30 | |         .unwrap()
   | |_________________^ unreachable expression
   |
   = note: `#[warn(unreachable_code)]` on by default

warning: constant is never used: `REMOTE_NAME`
  --> helix-loader/src/grammar.rs:58:1
   |
58 | const REMOTE_NAME: &str = "origin";
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: function is never used: `fetch_grammar`
   --> helix-loader/src/grammar.rs:139:4
    |
139 | fn fetch_grammar(grammar: GrammarConfiguration) -> Result<()> {
    |    ^^^^^^^^^^^^^

warning: function is never used: `set_remote`
   --> helix-loader/src/grammar.rs:188:4
    |
188 | fn set_remote(repository_dir: &Path, remote_url: &str) -> Result<String> {
    |    ^^^^^^^^^^

warning: function is never used: `get_remote_url`
   --> helix-loader/src/grammar.rs:196:4
    |
196 | fn get_remote_url(repository_dir: &Path) -> Option<String> {
    |    ^^^^^^^^^^^^^^

warning: function is never used: `get_revision`
   --> helix-loader/src/grammar.rs:200:4
    |
200 | fn get_revision(repository_dir: &Path) -> Option<String> {
    |    ^^^^^^^^^^^^

warning: function is never used: `git`
   --> helix-loader/src/grammar.rs:206:4
    |
206 | fn git<I, S>(repository_dir: &Path, args: I) -> Result<String>
    |    ^^^

warning: `helix-loader` (lib) generated 7 warnings
warning: `helix-loader` (lib) generated 7 warnings (7 duplicates)
   Compiling helix-core v0.6.0 (/home/pbulk/build/editors/helix/work/helix-22.03/helix-core)
   Compiling helix-term v0.6.0 (/home/pbulk/build/editors/helix/work/helix-22.03/helix-term)
warning: unused import: `std::process::Command`
 --> helix-term/build.rs:3:5
  |
3 | use std::process::Command;
  |     ^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: `helix-term` (build script) generated 1 warning
   Compiling helix-lsp v0.6.0 (/home/pbulk/build/editors/helix/work/helix-22.03/helix-lsp)
   Compiling helix-dap v0.6.0 (/home/pbulk/build/editors/helix/work/helix-22.03/helix-dap)
error: failed to run custom build command for `helix-term v0.6.0 (/home/pbulk/build/editors/helix/work/helix-22.03/helix-term)`

Caused by:
  process didn't exit successfully: `/home/pbulk/build/editors/helix/work/helix-22.03/target/release/build/helix-term-e617da15ef6899fa/build-script-build` (exit status: 101)
  --- stdout
  Building grammar 'rust'
  Building grammar 'protobuf'
  Building grammar 'toml'
  Building grammar 'elixir'
  Building grammar 'cpp'
  Building grammar 'json'
  Building grammar 'fish'
  Building grammar 'c'
  Building grammar 'c-sharp'

  --- stderr
  thread 'main' panicked at 'Failed to compile tree-sitter grammars: Failed to build some grammar(s)

  Caused by:
      Parser compilation failed.
      Stdout: 
      Stderr: ld: fatal: option -z has illegal argument 'relro'
      ld: fatal: flags processing errors
      collect2: error: ld returned 1 exit status
      ', helix-term/build.rs:17:26
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
*** Error code 101

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/editors/helix
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/editors/helix