=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/ruby-commonmarker23", "stage-install", "RUBY_VERSION_REQD=33", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Installing for ruby33-commonmarker23-2.3.2nb4 => Generating pre-install file lists => Installing gem into installation root Building native extensions. This could take a while... ERROR: Error installing /tmp/work/textproc/ruby-commonmarker23/work/commonmarker-2.3.2/commonmarker-2.3.2.gem: ERROR: Failed to build gem native extension. current directory: /tmp/work/textproc/ruby-commonmarker23/work/.inst/opt/local/lib/ruby/gems/3.3.0/gems/commonmarker-2.3.2/ext/commonmarker /opt/local/bin/ruby33 extconf.rb checking for gcc... yes checking for g++... yes checking for gar... yes checking for cargo... yes checking for install_name_tool... no checking for $(CARGO_BUILD_TARGET)-install_name_tool... no current directory: /tmp/work/textproc/ruby-commonmarker23/work/.inst/opt/local/lib/ruby/gems/3.3.0/gems/commonmarker-2.3.2/ext/commonmarker make DESTDIR\= sitearchdir\=./.gem.20261114-12621-r9gpbg sitelibdir\=./.gem.20261114-12621-r9gpbg clean current directory: /tmp/work/textproc/ruby-commonmarker23/work/.inst/opt/local/lib/ruby/gems/3.3.0/gems/commonmarker-2.3.2/ext/commonmarker make DESTDIR\= sitearchdir\=./.gem.20261114-12621-r9gpbg sitelibdir\=./.gem.20261114-12621-r9gpbg 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.107 Compiling unicode-ident v1.0.27 Compiling quote v1.0.47 Compiling memchr v2.8.3 Compiling glob v0.3.4 Compiling syn v3.0.9 Compiling clang-sys v1.9.1 Compiling libc v0.2.191 Compiling aho-corasick v1.1.5 Compiling minimal-lexical v0.2.1 Compiling cfg-if v1.0.5 Compiling regex-syntax v0.8.11 Compiling regex-automata v0.4.18 Compiling libloading v0.8.9 Compiling nom v7.1.3 Compiling syn v2.0.119 Compiling serde_core v1.0.229 Compiling bindgen v0.72.1 Compiling either v1.19.0 Compiling itertools v0.13.0 Compiling cexpr v0.6.0 Compiling regex v1.13.1 Compiling rustc-hash v2.1.3 Compiling find-msvc-tools v0.1.15 Compiling shlex v2.0.1 Compiling shlex v1.3.0 Compiling bitflags v2.13.2 Compiling cc v1.10.0 Compiling lazy_static v1.5.1 Compiling pkg-config v0.3.34 Compiling strsim v0.11.1 Compiling rustix v1.1.6 Compiling serde v1.0.229 Compiling ident_case v1.0.1 Compiling shell-words v1.1.1 Compiling rb-sys-build v0.9.130 Compiling darling_core v0.24.1 Compiling onig_sys v69.9.3 Compiling errno v0.3.14 Compiling prettyplease v0.3.0 Compiling crc32fast v1.5.3 Compiling zmij v1.0.23 Compiling utf8parse v0.2.2 Compiling anstyle-parse v1.0.0 Compiling darling_macro v0.24.1 Compiling rb-sys v0.9.130 Compiling time-core v0.1.9 Compiling num-conv v0.2.2 Compiling simd-adler32 v0.3.10 Compiling siphasher v1.0.4 Compiling is_terminal_polyfill v1.70.2 Compiling serde_json v1.0.154 Compiling hashbrown v0.17.1 Compiling anstyle-query v1.1.5 Compiling adler2 v2.0.1 Compiling equivalent v1.0.3 Compiling deranged v0.5.9 Compiling anstyle v1.0.14 Compiling thiserror v2.0.21 Compiling colorchoice v1.0.5 Compiling powerfmt v0.2.1 Compiling anstream v1.0.0 Compiling time v0.3.55 Compiling indexmap v2.14.2 Compiling miniz_oxide v0.9.1 Compiling phf_shared v0.11.3 error: failed to run custom build command for `rb-sys v0.9.130` Caused by: process didn't exit successfully: `/tmp/work/textproc/ruby-commonmarker23/work/.inst/opt/local/lib/ruby/gems/3.3.0/gems/commonmarker-2.3.2/ext/commonmarker/target/release/build/rb-sys-9e31f696c4ada246/build-script-main` (exit status: 1) --- stdout cargo:rerun-if-env-changed=RUBY cargo:rerun-if-env-changed=RBCONFIG_CROSS_COMPILING cargo:rerun-if-env-changed=RBCONFIG_target_os --- stderr rb-sys build error: Ruby was built for target_os="solaris2.11", but Cargo is compiling for "x86_64-unknown-illumos". rb-sys cannot generate bindings from Ruby headers for a different operating-system ABI. When cross-compiling with rb-sys-dock, use `rb-sys-dock --build` or the `rake native:$RUBY_TARGET` task so rake-compiler supplies the target Ruby's RbConfig instead of the container's host Ruby config. warning: build failed, waiting for other jobs to finish... make: *** [Makefile:569: target/release/libcommonmarker.so] Error 101 make failed, exit code 2 Gem files will remain installed in /tmp/work/textproc/ruby-commonmarker23/work/.inst/opt/local/lib/ruby/gems/3.3.0/gems/commonmarker-2.3.2 for inspection. Results logged to /tmp/work/textproc/ruby-commonmarker23/work/.inst/opt/local/lib/ruby/gems/3.3.0/extensions/x86_64-solaris-2.11/3.3.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