=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-commonmarker", "stage-install", "RUBY_VERSION_REQD=34", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Installing for ruby34-commonmarker-2.10.1 => 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/pkg/lib/ruby/gems/3.4.0/gems/commonmarker-2.10.1/ext/commonmarker /opt/pkg/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 checking for $(CARGO_BUILD_TARGET)-install_name_tool... no current directory: /tmp/work/textproc/ruby-commonmarker/work/.inst/opt/pkg/lib/ruby/gems/3.4.0/gems/commonmarker-2.10.1/ext/commonmarker make DESTDIR\= sitearchdir\=./.gem.20261111-752478-xxajnm sitelibdir\=./.gem.20261111-752478-xxajnm clean current directory: /tmp/work/textproc/ruby-commonmarker/work/.inst/opt/pkg/lib/ruby/gems/3.4.0/gems/commonmarker-2.10.1/ext/commonmarker make DESTDIR\= sitearchdir\=./.gem.20261111-752478-xxajnm sitelibdir\=./.gem.20261111-752478-xxajnm generating target/release/libcommonmarker.so (release) cargo rustc --manifest-path ./Cargo.toml --target-dir target --lib --profile release -- -C linker=gcc -L native=/opt/pkg/lib -L native=/opt/pkg/lib -C link-arg=-Wl,-R/opt/pkg/lib -C link-arg=-pthread -L native=/usr/lib/amd64 -C link-arg=-Wl,-R/usr/lib/amd64 -l iconv -C link-arg=-lm -l pthread -C link-arg=-lm -l pthread -l rt Compiling proc-macro2 v1.0.106 Compiling quote v1.0.46 Compiling unicode-ident v1.0.24 Compiling memchr v2.8.3 Compiling glob v0.3.3 Compiling syn v2.0.118 Compiling clang-sys v1.8.1 Compiling libc v0.2.186 Compiling aho-corasick v1.1.4 Compiling minimal-lexical v0.2.1 Compiling cfg-if v1.0.4 Compiling regex-syntax v0.8.11 Compiling regex-automata v0.4.15 Compiling libloading v0.8.9 Compiling nom v7.1.3 Compiling bindgen v0.72.1 Compiling either v1.16.0 Compiling itertools v0.13.0 Compiling cexpr v0.6.0 Compiling regex v1.13.0 Compiling shlex v1.3.0 Compiling bitflags v2.13.0 Compiling rustc-hash v2.1.3 Compiling shell-words v1.1.1 Compiling serde_core v1.0.228 Compiling lazy_static v1.5.0 Compiling find-msvc-tools v0.1.9 Compiling shlex v2.0.1 Compiling cc v1.2.67 Compiling rb-sys-build v0.9.130 Compiling rb-sys v0.9.130 Compiling siphasher v1.0.3 Compiling pkg-config v0.3.33 Compiling serde v1.0.228 Compiling phf_shared v0.14.0 Compiling onig_sys v69.9.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-commonmarker/work/.inst/opt/pkg/lib/ruby/gems/3.4.0/gems/commonmarker-2.10.1/ext/commonmarker/target/release/build/rb-sys-1d393836f3b15723/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:574: 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/pkg/lib/ruby/gems/3.4.0/gems/commonmarker-2.10.1 for inspection. Results logged to /tmp/work/textproc/ruby-commonmarker/work/.inst/opt/pkg/lib/ruby/gems/3.4.0/extensions/x86_64-solaris-2.11/3.4.0/commonmarker-2.10.1/gem_make.out *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-commonmarker *** Error code 1 Stop. bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-commonmarker