+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=34 WRKLOG=/tmp/bulklog/ruby34-commonmarker23-2.3.2/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=34 WRKLOG=/tmp/bulklog/ruby34-commonmarker23-2.3.2/work.log ===> Installing for ruby34-commonmarker23-2.3.2 => Generating pre-install file lists => Installing gem into installation root Building native extensions. This could take a while... ERROR: Error installing /home/pbulk/build/textproc/ruby-commonmarker23/work/commonmarker-2.3.2/commonmarker-2.3.2.gem: ERROR: Failed to build gem native extension. current directory: /home/pbulk/build/textproc/ruby-commonmarker23/work/.inst/opt/local/lib/ruby/gems/3.4.0/gems/commonmarker-2.3.2/ext/commonmarker /opt/local/bin/ruby34 extconf.rb checking for gcc... yes checking for g++... yes checking for gar... yes checking for cargo... yes checking for install_name_tool... no current directory: /home/pbulk/build/textproc/ruby-commonmarker23/work/.inst/opt/local/lib/ruby/gems/3.4.0/gems/commonmarker-2.3.2/ext/commonmarker make DESTDIR\= sitearchdir\=./.gem.20251109-92542-rs4vsc sitelibdir\=./.gem.20251109-92542-rs4vsc clean current directory: /home/pbulk/build/textproc/ruby-commonmarker23/work/.inst/opt/local/lib/ruby/gems/3.4.0/gems/commonmarker-2.3.2/ext/commonmarker make DESTDIR\= sitearchdir\=./.gem.20251109-92542-rs4vsc sitelibdir\=./.gem.20251109-92542-rs4vsc generating target/release/libcommonmarker.so (release) cargo rustc --manifest-path ./Cargo.toml --target-dir target --lib --profile release -- -C linker=gcc -L native=/opt/local/lib -L native=/opt/local/lib -L native=/usr/lib/amd64 -C link-arg=-Wl,-R/usr/lib/amd64 -C link-arg=-pthread -C link-arg=-Wl,-R/opt/local/lib -l iconv -C link-arg=-lm -l pthread -C link-arg=-lm -l pthread -l rt Compiling proc-macro2 v1.0.95 Compiling unicode-ident v1.0.18 Compiling shlex v1.3.0 Compiling memchr v2.7.5 Compiling glob v0.3.2 Compiling libc v0.2.174 Compiling cfg-if v1.0.1 Compiling regex-syntax v0.8.5 Compiling minimal-lexical v0.2.1 Compiling bindgen v0.69.5 Compiling either v1.15.0 Compiling bitflags v2.9.1 Compiling lazycell v1.3.0 Compiling rustc-hash v1.1.0 Compiling lazy_static v1.5.0 Compiling serde v1.0.219 Compiling fnv v1.0.7 Compiling shell-words v1.1.0 Compiling rustix v1.0.8 Compiling ident_case v1.0.1 Compiling pkg-config v0.3.32 Compiling strsim v0.11.1 Compiling rustversion v1.0.21 Compiling prettyplease v0.2.36 Compiling crc32fast v1.5.0 Compiling utf8parse v0.2.2 Compiling powerfmt v0.2.0 Compiling itoa v1.0.15 Compiling colorchoice v1.0.4 Compiling cc v1.2.31 Compiling anstyle-parse v0.2.7 Compiling equivalent v1.0.2 Compiling serde_json v1.0.142 Compiling anstyle-query v1.1.3 Compiling hashbrown v0.15.4 Compiling siphasher v1.0.1 Compiling thiserror v1.0.69 Compiling time-core v0.1.4 Compiling clang-sys v1.8.1 Compiling aho-corasick v1.1.3 Compiling is_terminal_polyfill v1.70.1 Compiling adler2 v2.0.1 Compiling num-conv v0.1.0 Compiling tinyvec_macros v0.1.1 Compiling anstyle v1.0.11 Compiling heck v0.5.0 Compiling linked-hash-map v0.5.6 Compiling base64 v0.22.1 Compiling miniz_oxide v0.8.9 Compiling itertools v0.12.1 Compiling rb-sys-env v0.1.2 Compiling deranged v0.4.0 Compiling same-file v1.0.6 Compiling once_cell v1.21.3 Compiling clap_lex v0.7.5 Compiling libloading v0.8.8 Compiling anstream v0.6.19 Compiling phf_shared v0.11.3 Compiling ryu v1.0.20 Compiling yaml-rust v0.4.5 Compiling nom v7.1.3 Compiling quick-xml v0.38.1 Compiling tinyvec v1.9.0 Compiling quote v1.0.40 Compiling deunicode v1.6.2 Compiling errno v0.3.13 Compiling bitflags v1.3.2 Compiling xdg v2.5.2 Compiling indexmap v2.10.0 Compiling unicode_categories v0.1.1 Compiling entities v1.0.1 Compiling seq-macro v0.3.6 Compiling phf v0.11.3 Compiling walkdir v2.5.0 Compiling typed-arena v2.0.2 Compiling rctree v0.6.0 Compiling syn v2.0.104 Compiling magnus v0.7.1 Compiling slug v0.1.6 Compiling time v0.3.41 Compiling emojis v0.6.4 Compiling flate2 v1.1.2 Compiling regex-automata v0.4.9 Compiling unicode-normalization v0.1.24 Compiling onig_sys v69.9.1 Compiling terminal_size v0.4.2 Compiling clap_builder v4.5.42 Compiling caseless v0.2.2 Compiling bincode v1.3.3 Compiling cexpr v0.6.0 Compiling plist v1.7.4 Compiling regex v1.11.1 Compiling darling_core v0.21.1 Compiling thiserror-impl v1.0.69 Compiling clap_derive v4.5.41 Compiling serde_derive v1.0.219 Compiling magnus-macros v0.6.0 Compiling darling_macro v0.21.1 Compiling darling v0.21.1 Compiling bon-macros v3.6.5 Compiling clap v4.5.42 Compiling rb-sys-build v0.9.117 Compiling rb-sys v0.9.117 Compiling onig v6.5.1 Compiling syntect v5.2.0 error: failed to run custom build command for `rb-sys v0.9.117` Caused by: process didn't exit successfully: `/home/pbulk/build/textproc/ruby-commonmarker23/work/.inst/opt/local/lib/ruby/gems/3.4.0/gems/commonmarker-2.3.2/ext/commonmarker/target/release/build/rb-sys-dd4a42d0059c75ce/build-script-main` (exit status: 101) --- stdout cargo:rerun-if-env-changed=RUBY cargo:rerun-if-env-changed=RBCONFIG_CROSS_COMPILING cargo:rerun-if-env-changed=RBCONFIG_RUBY_PROGRAM_VERSION cargo:rerun-if-env-changed=RBCONFIG_ruby_install_name cargo:rerun-if-env-changed=RBCONFIG_platform cargo:rerun-if-env-changed=RUBY_ROOT cargo:rerun-if-env-changed=RUBY_VERSION cargo:rerun-if-env-changed=RUBY cargo:rerun-if-changed=build/features.rs cargo:rerun-if-changed=build/main.rs cargo:rerun-if-changed=build/stable_api_config.rs cargo:rerun-if-changed=build/version.rs cargo:rerun-if-env-changed=RUBY_STATIC cargo:rerun-if-env-changed=RBCONFIG_ENABLE_SHARED cargo:rerun-if-env-changed=RBCONFIG_rubyhdrdir cargo:rerun-if-env-changed=RBCONFIG_rubyarchhdrdir cargo:rerun-if-env-changed=RBCONFIG_CPPFLAGS cargo:rerun-if-env-changed=RBCONFIG_rubyhdrdir cargo:rerun-if-env-changed=RBCONFIG_MAJOR cargo:rerun-if-env-changed=RBCONFIG_MINOR cargo:rerun-if-env-changed=TARGET cargo:rerun-if-env-changed=TARGET cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64-unknown-illumos cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64-unknown-illumos cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_illumos cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_illumos cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS --- stderr INFO: using bindgen with clang args: ["-I/opt/local/include/ruby-3.4.0", "-I/opt/local/include/ruby-3.4.0/x86_64-solaris2.11", "-fms-extensions", "-U_FORTIFY_SOURCE", "-D_FORTIFY_SOURCE=2", "-O3", "-fno-fast-math", "-ggdb3", "-Wall", "-Wextra", "-Wdeprecated-declarations", "-Wdiv-by-zero", "-Wduplicated-cond", "-Wimplicit-function-declaration", "-Wimplicit-int", "-Wpointer-arith", "-Wwrite-strings", "-Wold-style-definition", "-Wimplicit-fallthrough=0", "-Wmissing-noreturn", "-Wno-cast-function-type", "-Wno-constant-logical-operand", "-Wno-long-long", "-Wno-missing-field-initializers", "-Wno-overlength-strings", "-Wno-packed-bitfield-compat", "-Wno-parentheses-equality", "-Wno-self-assign", "-Wno-tautological-compare", "-Wno-unused-parameter", "-Wno-unused-value", "-Wsuggest-attribute=format", "-Wsuggest-attribute=noreturn", "-Wunused-variable", "-Wmisleading-indentation", "-Wundef", "-I/opt/local/include", "-I/usr/include", "-I/opt/local/include/db4", "-D_XOPEN_SOURCE=700"] #include "ruby.h" #ifdef HAVE_RUBY_DEBUG_H #include "ruby/debug.h" #endif #ifdef HAVE_RUBY_DEFINES_H #include "ruby/defines.h" #endif #ifdef HAVE_RUBY_ENCODING_H #include "ruby/encoding.h" #endif #ifdef HAVE_RUBY_FIBER_SCHEDULER_H #include "ruby/fiber/scheduler.h" #endif #ifdef HAVE_RUBY_INTERN_H #include "ruby/intern.h" #endif #ifdef HAVE_RUBY_IO_H #include "ruby/io.h" #endif #ifdef HAVE_RUBY_MEMORY_VIEW_H #include "ruby/memory_view.h" #endif #ifdef HAVE_RUBY_MISSING_H #include "ruby/missing.h" #endif #ifdef HAVE_RUBY_ONIGMO_H #include "ruby/onigmo.h" #endif #ifdef HAVE_RUBY_ONIGURUMA_H #include "ruby/oniguruma.h" #endif #ifdef HAVE_RUBY_RACTOR_H #include "ruby/ractor.h" #endif #ifdef HAVE_RUBY_RANDOM_H #include "ruby/random.h" #endif #ifdef HAVE_RUBY_RE_H #include "ruby/re.h" #endif #ifdef HAVE_RUBY_REGEX_H #include "ruby/regex.h" #endif #ifdef HAVE_RUBY_RUBY_H #include "ruby/ruby.h" #endif #ifdef HAVE_RUBY_ST_H #include "ruby/st.h" #endif #ifdef HAVE_RUBY_THREAD_H #include "ruby/thread.h" #endif #ifdef HAVE_RUBY_THREAD_NATIVE_H #include "ruby/thread_native.h" #endif #ifdef HAVE_RUBY_UTIL_H #include "ruby/util.h" #endif #ifdef HAVE_RUBY_VERSION_H #include "ruby/version.h" #endif #ifdef HAVE_RUBY_VM_H #include "ruby/vm.h" #endif #ifdef HAVE_RUBY_WIN32_H #include "ruby/win32.h" #endif #ifdef HAVE_RUBY_IO_BUFFER_H #include "ruby/io/buffer.h" #endif #ifdef HAVE_RUBY_ATOMIC_H #include "ruby/atomic.h" #endif struct rb_sys__Opaque__RString { struct RString dummy; }; struct rb_sys__Opaque__RArray { struct RArray dummy; }; struct rb_sys__Opaque__RData { struct RData dummy; }; struct rb_sys__Opaque__RTypedData { struct RTypedData dummy; }; struct rb_sys__Opaque__rb_matchext_struct { struct rb_matchext_struct dummy; }; struct rb_sys__Opaque__rb_internal_thread_event_data { struct rb_internal_thread_event_data dummy; }; struct rb_sys__Opaque__rb_io_internal_buffer { struct rb_io_internal_buffer dummy; }; thread 'main' panicked at /home/pbulk/build/textproc/ruby-commonmarker23/work/vendor/bindgen-0.69.5/lib.rs:622:31: Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])" note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... make: *** [Makefile:574: target/release/libcommonmarker.so] Error 101 make failed, exit code 2 Gem files will remain installed in /home/pbulk/build/textproc/ruby-commonmarker23/work/.inst/opt/local/lib/ruby/gems/3.4.0/gems/commonmarker-2.3.2 for inspection. Results logged to /home/pbulk/build/textproc/ruby-commonmarker23/work/.inst/opt/local/lib/ruby/gems/3.4.0/extensions/x86_64-solaris-2.11/3.4.0/commonmarker-2.3.2/gem_make.out *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/ruby-commonmarker23 *** Error code 1 Stop. bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/ruby-commonmarker23