+ 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-commonmarker-2.5.0/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-commonmarker-2.5.0/work.log ===> Installing for ruby34-commonmarker-2.5.0 => 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-commonmarker/work/commonmarker-2.5.0/commonmarker-2.5.0.gem: ERROR: Failed to build gem native extension. current directory: /home/pbulk/build/textproc/ruby-commonmarker/work/.inst/opt/local/lib/ruby/gems/3.4.0/gems/commonmarker-2.5.0/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-commonmarker/work/.inst/opt/local/lib/ruby/gems/3.4.0/gems/commonmarker-2.5.0/ext/commonmarker make DESTDIR\= sitearchdir\=./.gem.20251109-12619-csuhos sitelibdir\=./.gem.20251109-12619-csuhos clean current directory: /home/pbulk/build/textproc/ruby-commonmarker/work/.inst/opt/local/lib/ruby/gems/3.4.0/gems/commonmarker-2.5.0/ext/commonmarker make DESTDIR\= sitearchdir\=./.gem.20251109-12619-csuhos sitelibdir\=./.gem.20251109-12619-csuhos 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.101 Compiling unicode-ident v1.0.19 Compiling shlex v1.3.0 Compiling memchr v2.7.5 Compiling glob v0.3.3 Compiling libc v0.2.175 Compiling regex-syntax v0.8.6 Compiling minimal-lexical v0.2.1 Compiling cfg-if v1.0.3 Compiling serde_core v1.0.223 Compiling bindgen v0.69.5 Compiling either v1.15.0 Compiling find-msvc-tools v0.1.1 Compiling bitflags v2.9.4 Compiling rustc-hash v1.1.0 Compiling lazycell v1.3.0 Compiling lazy_static v1.5.0 Compiling ident_case v1.0.1 Compiling strsim v0.11.1 Compiling serde v1.0.223 Compiling fnv v1.0.7 Compiling pkg-config v0.3.32 Compiling rustix v1.1.2 Compiling shell-words v1.1.0 Compiling rb-sys-env v0.2.2 Compiling rustversion v1.0.22 Compiling utf8parse v0.2.2 Compiling prettyplease v0.2.37 Compiling crc32fast v1.5.0 Compiling powerfmt v0.2.0 Compiling num-conv v0.1.0 Compiling deranged v0.5.3 Compiling clang-sys v1.8.1 Compiling aho-corasick v1.1.3 Compiling nom v7.1.3 Compiling anstyle-parse v0.2.7 Compiling anstyle-query v1.1.4 Compiling equivalent v1.0.2 Compiling serde_json v1.0.145 Compiling time-core v0.1.6 Compiling adler2 v2.0.1 Compiling thiserror v2.0.17 Compiling siphasher v1.0.1 Compiling is_terminal_polyfill v1.70.1 Compiling colorchoice v1.0.4 Compiling tinyvec_macros v0.1.1 Compiling libloading v0.8.8 Compiling itertools v0.12.1 Compiling hashbrown v0.15.5 Compiling anstyle v1.0.11 Compiling quick-xml v0.38.3 Compiling cc v1.2.37 Compiling miniz_oxide v0.8.9 Compiling tinyvec v1.10.0 Compiling ryu v1.0.20 Compiling heck v0.5.0 Compiling same-file v1.0.6 Compiling itoa v1.0.15 Compiling phf_shared v0.11.3 Compiling regex-automata v0.4.10 Compiling clap_lex v0.7.5 Compiling base64 v0.22.1 Compiling anstream v0.6.20 Compiling once_cell v1.21.3 Compiling linked-hash-map v0.5.6 Compiling walkdir v2.5.0 Compiling indexmap v2.11.1 Compiling cexpr v0.6.0 Compiling flate2 v1.1.2 Compiling unicode-normalization v0.1.24 Compiling magnus v0.8.2 Compiling quote v1.0.40 Compiling deunicode v1.6.2 Compiling xdg v2.5.2 Compiling fmt2io v1.0.0 Compiling seq-macro v0.3.6 Compiling phf v0.11.3 Compiling yaml-rust v0.4.5 Compiling unicode_categories v0.1.1 Compiling typed-arena v2.0.2 Compiling entities v1.0.1 Compiling onig_sys v69.9.1 Compiling rctree v0.6.0 Compiling time v0.3.43 Compiling caseless v0.2.2 Compiling emojis v0.6.4 Compiling slug v0.1.6 Compiling syn v2.0.106 Compiling errno v0.3.14 Compiling terminal_size v0.4.3 Compiling clap_builder v4.5.47 Compiling regex v1.11.2 Compiling bincode v1.3.3 Compiling plist v1.7.4 Compiling darling_core v0.21.3 Compiling thiserror-impl v2.0.17 Compiling serde_derive v1.0.223 Compiling clap_derive v4.5.47 Compiling magnus-macros v0.8.0 Compiling darling_macro v0.21.3 Compiling clap v4.5.47 Compiling darling v0.21.3 Compiling bon-macros v3.7.2 Compiling rb-sys-build v0.9.117 Compiling rb-sys v0.9.117 Compiling onig v6.5.1 Compiling syntect v5.3.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-commonmarker/work/.inst/opt/local/lib/ruby/gems/3.4.0/gems/commonmarker-2.5.0/ext/commonmarker/target/release/build/rb-sys-00872c698c292470/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-commonmarker/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-commonmarker/work/.inst/opt/local/lib/ruby/gems/3.4.0/gems/commonmarker-2.5.0 for inspection. Results logged to /home/pbulk/build/textproc/ruby-commonmarker/work/.inst/opt/local/lib/ruby/gems/3.4.0/extensions/x86_64-solaris-2.11/3.4.0/commonmarker-2.5.0/gem_make.out *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/ruby-commonmarker *** Error code 1 Stop. bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/ruby-commonmarker