=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/ruby-commonmarker", "stage-install", "RUBY_VERSION_REQD=40", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Installing for ruby40-commonmarker-2.10.1nb1 => 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-commonmarker/work/commonmarker-2.10.1/commonmarker-2.10.1.gem: ERROR: Failed to build gem native extension. current directory: /tmp/work/textproc/ruby-commonmarker/work/.inst/opt/local/lib/ruby/gems/4.0.0/gems/commonmarker-2.10.1/ext/commonmarker /opt/local/bin/ruby40 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-commonmarker/work/.inst/opt/local/lib/ruby/gems/4.0.0/gems/commonmarker-2.10.1/ext/commonmarker make -j73 DESTDIR\= sitearchdir\=./.gem.20261117-468709-xbn0cr sitelibdir\=./.gem.20261117-468709-xbn0cr clean current directory: /tmp/work/textproc/ruby-commonmarker/work/.inst/opt/local/lib/ruby/gems/4.0.0/gems/commonmarker-2.10.1/ext/commonmarker make -j73 DESTDIR\= sitearchdir\=./.gem.20261117-468709-xbn0cr sitelibdir\=./.gem.20261117-468709-xbn0cr 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.106 Compiling unicode-ident v1.0.24 Compiling quote v1.0.46 Compiling memchr v2.8.3 Compiling glob v0.3.3 Compiling libc v0.2.186 Compiling cfg-if v1.0.4 Compiling minimal-lexical v0.2.1 Compiling regex-syntax v0.8.11 Compiling either v1.16.0 Compiling bindgen v0.72.1 Compiling bitflags v2.13.0 Compiling rustc-hash v2.1.3 Compiling shlex v1.3.0 Compiling serde_core v1.0.228 Compiling lazy_static v1.5.0 Compiling shell-words v1.1.1 Compiling find-msvc-tools v0.1.9 Compiling shlex v2.0.1 Compiling siphasher v1.0.3 Compiling serde v1.0.228 Compiling pkg-config v0.3.33 Compiling rb-sys-env v0.2.3 Compiling fastrand v2.4.1 Compiling zmij v1.0.21 Compiling crc32fast v1.5.0 Compiling powerfmt v0.2.0 Compiling tinyvec_macros v0.1.1 Compiling adler2 v2.0.1 Compiling hashbrown v0.17.1 Compiling num-conv v0.2.2 Compiling thiserror v2.0.18 Compiling serde_json v1.0.150 Compiling time-core v0.1.9 Compiling equivalent v1.0.2 Compiling deranged v0.5.8 Compiling simd-adler32 v0.3.9 Compiling entities v1.0.1 Compiling base64 v0.22.1 Compiling itoa v1.0.18 Compiling once_cell v1.21.4 Compiling same-file v1.0.6 Compiling fearless_simd v1.1.0 Compiling fnv v1.0.7 Compiling commonmarker v1.0.0 (/tmp/work/textproc/ruby-commonmarker/work/.inst/opt/local/lib/ruby/gems/4.0.0/gems/commonmarker-2.10.1/ext/commonmarker) Compiling smallvec v1.15.2 Compiling seq-macro v0.3.6 Compiling typed-arena v2.0.2 Compiling finl_unicode v1.4.0 Compiling libloading v0.8.9 Compiling tinyvec v1.12.0 Compiling walkdir v2.5.0 Compiling cc v1.2.67 Compiling phf_shared v0.14.0 Compiling itertools v0.13.0 Compiling phf_shared v0.13.1 Compiling miniz_oxide v0.8.9 Compiling clang-sys v1.8.1 Compiling phf_generator v0.14.0 Compiling aho-corasick v1.1.4 Compiling nom v7.1.3 Compiling phf v0.13.1 Compiling phf_codegen v0.14.0 Compiling quick-xml v0.41.0 Compiling unicode-normalization v0.1.25 Compiling phf v0.14.0 Compiling magnus v0.9.3 Compiling comrak v0.56.0 Compiling emojis v0.9.0 Compiling flate2 v1.1.9 Compiling indexmap v2.14.0 Compiling caseless v0.2.2 Compiling syn v2.0.118 Compiling syn v3.0.9 Compiling onig_sys v69.9.3 Compiling time v0.3.53 Compiling regex-automata v0.4.15 Compiling cexpr v0.6.0 Compiling bincode v1.3.3 Compiling plist v1.10.0 Compiling regex v1.13.0 Compiling fearless_simd_macros v0.1.0 Compiling thiserror-impl v2.0.18 Compiling serde_derive v1.0.228 Compiling magnus-macros v0.9.1 Compiling rb-sys-build v0.9.130 Compiling rb-sys v0.9.130 error: failed to run custom build command for `rb-sys v0.9.130` Caused by: process didn't exit successfully: `/tmp/work/textproc/ruby-commonmarker/work/.inst/opt/local/lib/ruby/gems/4.0.0/gems/commonmarker-2.10.1/ext/commonmarker/target/release/build/rb-sys-5cc48ecb4d2e787f/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:582: target/release/libcommonmarker.so] Error 101 make failed, exit code 2 Gem files will remain installed in /tmp/work/textproc/ruby-commonmarker/work/.inst/opt/local/lib/ruby/gems/4.0.0/gems/commonmarker-2.10.1 for inspection. Results logged to /tmp/work/textproc/ruby-commonmarker/work/.inst/opt/local/lib/ruby/gems/4.0.0/extensions/x86_64-solaris-2.11/4.0.0/commonmarker-2.10.1/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