+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=32 WRKLOG=/tmp/bulklog/ruby32-commonmarker-2.5.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=32 WRKLOG=/tmp/bulklog/ruby32-commonmarker-2.5.0/work.log ===> Installing for ruby32-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/pkg/lib/ruby/gems/3.2.0/gems/commonmarker-2.5.0/ext/commonmarker /opt/pkg/bin/ruby32 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/pkg/lib/ruby/gems/3.2.0/gems/commonmarker-2.5.0/ext/commonmarker make DESTDIR\= sitearchdir\=./.gem.20251104-848991-mawtfb sitelibdir\=./.gem.20251104-848991-mawtfb clean current directory: /home/pbulk/build/textproc/ruby-commonmarker/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/commonmarker-2.5.0/ext/commonmarker make DESTDIR\= sitearchdir\=./.gem.20251104-848991-mawtfb sitelibdir\=./.gem.20251104-848991-mawtfb 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.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 minimal-lexical v0.2.1 Compiling regex-syntax v0.8.6 Compiling cfg-if v1.0.3 Compiling either v1.15.0 Compiling serde_core v1.0.223 Compiling bindgen v0.69.5 Compiling lazy_static v1.5.0 Compiling lazycell v1.3.0 Compiling bitflags v2.9.4 Compiling find-msvc-tools v0.1.1 Compiling rustc-hash v1.1.0 Compiling strsim v0.11.1 Compiling shell-words v1.1.0 Compiling ident_case v1.0.1 Compiling pkg-config v0.3.32 Compiling rustix v1.1.2 Compiling fnv v1.0.7 Compiling serde v1.0.223 Compiling utf8parse v0.2.2 Compiling rb-sys-env v0.2.2 Compiling crc32fast v1.5.0 Compiling prettyplease v0.2.37 Compiling powerfmt v0.2.0 Compiling itertools v0.12.1 Compiling rustversion v1.0.22 Compiling colorchoice v1.0.4 Compiling hashbrown v0.15.5 Compiling libloading v0.8.8 Compiling anstyle-parse v0.2.7 Compiling time-core v0.1.6 Compiling serde_json v1.0.145 Compiling is_terminal_polyfill v1.70.1 Compiling siphasher v1.0.1 Compiling equivalent v1.0.2 Compiling num-conv v0.1.0 Compiling anstyle v1.0.11 Compiling deranged v0.5.3 Compiling thiserror v2.0.17 Compiling anstyle-query v1.1.4 Compiling clang-sys v1.8.1 Compiling cc v1.2.37 Compiling adler2 v2.0.1 Compiling tinyvec_macros v0.1.1 Compiling phf_shared v0.11.3 Compiling linked-hash-map v0.5.6 Compiling base64 v0.22.1 Compiling clap_lex v0.7.5 Compiling once_cell v1.21.3 Compiling anstream v0.6.20 Compiling same-file v1.0.6 Compiling tinyvec v1.10.0 Compiling miniz_oxide v0.8.9 Compiling heck v0.5.0 Compiling itoa v1.0.15 Compiling aho-corasick v1.1.3 Compiling nom v7.1.3 Compiling errno v0.3.14 Compiling quick-xml v0.38.3 Compiling ryu v1.0.20 Compiling walkdir v2.5.0 Compiling yaml-rust v0.4.5 Compiling phf v0.11.3 Compiling magnus v0.8.2 Compiling deunicode v1.6.2 Compiling indexmap v2.11.1 Compiling typed-arena v2.0.2 Compiling xdg v2.5.2 Compiling emojis v0.6.4 Compiling fmt2io v1.0.0 Compiling unicode_categories v0.1.1 Compiling entities v1.0.1 Compiling flate2 v1.1.2 Compiling unicode-normalization v0.1.24 Compiling seq-macro v0.3.6 Compiling rctree v0.6.0 Compiling slug v0.1.6 Compiling regex-automata v0.4.10 Compiling quote v1.0.40 Compiling onig_sys v69.9.1 Compiling time v0.3.43 Compiling caseless v0.2.2 Compiling syn v2.0.106 Compiling terminal_size v0.4.3 Compiling clap_builder v4.5.47 warning: onig_sys@69.9.1: In file included from oniguruma/src/regexec.c:36: warning: onig_sys@69.9.1: oniguruma/src/regexec.c: In function 'match_at': warning: onig_sys@69.9.1: oniguruma/src/regint.h:271:18: error: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] warning: onig_sys@69.9.1: 271 | #define xalloca alloca warning: onig_sys@69.9.1: | ^~~~~~ warning: onig_sys@69.9.1: oniguruma/src/regexec.c:1350:26: note: in expansion of macro 'xalloca' warning: onig_sys@69.9.1: 1350 | alloc_base = (char* )xalloca(sizeof(StkPtrType) * msa->ptr_num\ warning: onig_sys@69.9.1: | ^~~~~~~ warning: onig_sys@69.9.1: oniguruma/src/regexec.c:3057:3: note: in expansion of macro 'STACK_INIT' warning: onig_sys@69.9.1: 3057 | STACK_INIT(INIT_MATCH_STACK_SIZE); warning: onig_sys@69.9.1: | ^~~~~~~~~~ warning: onig_sys@69.9.1: oniguruma/src/regint.h:271:18: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] warning: onig_sys@69.9.1: 271 | #define xalloca alloca warning: onig_sys@69.9.1: | ^~~~~~ warning: onig_sys@69.9.1: oniguruma/src/regexec.c:1350:26: note: in expansion of macro 'xalloca' warning: onig_sys@69.9.1: 1350 | alloc_base = (char* )xalloca(sizeof(StkPtrType) * msa->ptr_num\ warning: onig_sys@69.9.1: | ^~~~~~~ warning: onig_sys@69.9.1: oniguruma/src/regexec.c:3057:3: note: in expansion of macro 'STACK_INIT' warning: onig_sys@69.9.1: 3057 | STACK_INIT(INIT_MATCH_STACK_SIZE); warning: onig_sys@69.9.1: | ^~~~~~~~~~ error: failed to run custom build command for `onig_sys v69.9.1` Caused by: process didn't exit successfully: `/home/pbulk/build/textproc/ruby-commonmarker/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/commonmarker-2.5.0/ext/commonmarker/target/release/build/onig_sys-8b62b3d291a55863/build-script-build` (exit status: 1) --- stdout cargo:rerun-if-env-changed=RUSTONIG_DYNAMIC_LIBONIG cargo:rerun-if-env-changed=RUSTONIG_STATIC_LIBONIG cargo:rerun-if-env-changed=RUSTONIG_SYSTEM_LIBONIG OUT_DIR = Some(/home/pbulk/build/textproc/ruby-commonmarker/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/commonmarker-2.5.0/ext/commonmarker/target/release/build/onig_sys-290f9439f384b354/out) OPT_LEVEL = Some(3) TARGET = Some(x86_64-unknown-illumos) HOST = Some(x86_64-unknown-illumos) cargo:rerun-if-env-changed=CC_x86_64-unknown-illumos CC_x86_64-unknown-illumos = None cargo:rerun-if-env-changed=CC_x86_64_unknown_illumos CC_x86_64_unknown_illumos = None cargo:rerun-if-env-changed=HOST_CC HOST_CC = None cargo:rerun-if-env-changed=CC CC = Some(gcc) cargo:rerun-if-env-changed=CC_KNOWN_WRAPPER_CUSTOM CC_KNOWN_WRAPPER_CUSTOM = None RUSTC_WRAPPER = None cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None DEBUG = Some(false) CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CFLAGS CFLAGS = Some(-fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include -fPIC ) cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS CC_SHELL_ESCAPED_FLAGS = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_illumos CFLAGS_x86_64_unknown_illumos = None cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-illumos CFLAGS_x86_64-unknown-illumos = None CARGO_ENCODED_RUSTFLAGS = Some() cargo:warning=In file included from oniguruma/src/regexec.c:36: cargo:warning=oniguruma/src/regexec.c: In function 'match_at': cargo:warning=oniguruma/src/regint.h:271:18: error: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] cargo:warning= 271 | #define xalloca alloca cargo:warning= | ^~~~~~ cargo:warning=oniguruma/src/regexec.c:1350:26: note: in expansion of macro 'xalloca' cargo:warning= 1350 | alloc_base = (char* )xalloca(sizeof(StkPtrType) * msa->ptr_num\ cargo:warning= | ^~~~~~~ cargo:warning=oniguruma/src/regexec.c:3057:3: note: in expansion of macro 'STACK_INIT' cargo:warning= 3057 | STACK_INIT(INIT_MATCH_STACK_SIZE); cargo:warning= | ^~~~~~~~~~ cargo:warning=oniguruma/src/regint.h:271:18: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] cargo:warning= 271 | #define xalloca alloca cargo:warning= | ^~~~~~ cargo:warning=oniguruma/src/regexec.c:1350:26: note: in expansion of macro 'xalloca' cargo:warning= 1350 | alloc_base = (char* )xalloca(sizeof(StkPtrType) * msa->ptr_num\ cargo:warning= | ^~~~~~~ cargo:warning=oniguruma/src/regexec.c:3057:3: note: in expansion of macro 'STACK_INIT' cargo:warning= 3057 | STACK_INIT(INIT_MATCH_STACK_SIZE); cargo:warning= | ^~~~~~~~~~ --- stderr error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-D_REENTRANT" "-I" "/home/pbulk/build/textproc/ruby-commonmarker/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/commonmarker-2.5.0/ext/commonmarker/target/release/build/onig_sys-290f9439f384b354/out" "-I" "oniguruma/src" "-DHAVE_UNISTD_H=1" "-DHAVE_SYS_TYPES_H=1" "-DHAVE_SYS_TIME_H=1" "-fPIC" "-pipe" "-O2" "-msave-args" "-fno-aggressive-loop-optimizations" "-pthread" "-I/opt/pkg/include" "-I/opt/pkg/include/db4" "-I/usr/include" "-fPIC" "-o" "/home/pbulk/build/textproc/ruby-commonmarker/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/commonmarker-2.5.0/ext/commonmarker/target/release/build/onig_sys-290f9439f384b354/out/a445302c6d3dcb51-regexec.o" "-c" "oniguruma/src/regexec.c" 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 /home/pbulk/build/textproc/ruby-commonmarker/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/commonmarker-2.5.0 for inspection. Results logged to /home/pbulk/build/textproc/ruby-commonmarker/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/extensions/x86_64-solaris-2.11/3.2.0/commonmarker-2.5.0/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