=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/py-comrak", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent", "PYTHON_VERSION_REQD=312"] ===> Building for py312-comrak-0.0.12 * Building wheel... Running `maturin-3.12 pep517 build-wheel -i /opt/pkg/bin/python3.12 --compatibility off -j3` 🐍 Found CPython 3.12 at /opt/pkg/bin/python3.12 🔗 Found pyo3 bindings 📡 Using build options features from pyproject.toml Compiling proc-macro2 v1.0.93 Compiling unicode-ident v1.0.16 Compiling target-lexicon v0.13.2 Compiling libc v0.2.169 Compiling pyo3-build-config v0.27.2 Compiling quote v1.0.38 Compiling shlex v1.3.0 Compiling syn v2.0.98 Compiling cc v1.2.14 Compiling pkg-config v0.3.31 Compiling serde v1.0.217 Compiling rustix v0.38.44 Compiling fnv v1.0.7 Compiling ident_case v1.0.1 Compiling heck v0.5.0 Compiling strsim v0.11.1 Compiling onig_sys v69.8.1 Compiling errno v0.3.10 Compiling prettyplease v0.2.29 Compiling bitflags v2.8.0 Compiling rustversion v1.0.19 Compiling utf8parse v0.2.2 Compiling anstyle-parse v0.2.6 warning: onig_sys@69.8.1: In file included from oniguruma/src/regexec.c:36: warning: onig_sys@69.8.1: oniguruma/src/regexec.c: In function 'match_at': warning: onig_sys@69.8.1: oniguruma/src/regint.h:258:18: error: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] warning: onig_sys@69.8.1: 258 | #define xalloca alloca warning: onig_sys@69.8.1: | ^~~~~~ warning: onig_sys@69.8.1: oniguruma/src/regexec.c:1312:26: note: in expansion of macro 'xalloca' warning: onig_sys@69.8.1: 1312 | alloc_base = (char* )xalloca(sizeof(StkPtrType) * msa->ptr_num\ warning: onig_sys@69.8.1: | ^~~~~~~ warning: onig_sys@69.8.1: oniguruma/src/regexec.c:3018:3: note: in expansion of macro 'STACK_INIT' warning: onig_sys@69.8.1: 3018 | STACK_INIT(INIT_MATCH_STACK_SIZE); warning: onig_sys@69.8.1: | ^~~~~~~~~~ warning: onig_sys@69.8.1: oniguruma/src/regint.h:258:18: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] warning: onig_sys@69.8.1: 258 | #define xalloca alloca warning: onig_sys@69.8.1: | ^~~~~~ warning: onig_sys@69.8.1: oniguruma/src/regexec.c:1312:26: note: in expansion of macro 'xalloca' warning: onig_sys@69.8.1: 1312 | alloc_base = (char* )xalloca(sizeof(StkPtrType) * msa->ptr_num\ warning: onig_sys@69.8.1: | ^~~~~~~ warning: onig_sys@69.8.1: oniguruma/src/regexec.c:3018:3: note: in expansion of macro 'STACK_INIT' warning: onig_sys@69.8.1: 3018 | STACK_INIT(INIT_MATCH_STACK_SIZE); warning: onig_sys@69.8.1: | ^~~~~~~~~~ error: failed to run custom build command for `onig_sys v69.8.1` Caused by: process didn't exit successfully: `/tmp/work/textproc/py-comrak/work/comrak-0.0.12/target/release/build/onig_sys-e8b32a8e1173e188/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(/tmp/work/textproc/py-comrak/work/comrak-0.0.12/target/release/build/onig_sys-a78cd474423fd051/out) OPT_LEVEL = Some(2) 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_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:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = Some(-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include/python3.12 -I/opt/pkg/include) cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS CC_SHELL_ESCAPED_FLAGS = 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:258:18: error: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] cargo:warning= 258 | #define xalloca alloca cargo:warning= | ^~~~~~ cargo:warning=oniguruma/src/regexec.c:1312:26: note: in expansion of macro 'xalloca' cargo:warning= 1312 | alloc_base = (char* )xalloca(sizeof(StkPtrType) * msa->ptr_num\ cargo:warning= | ^~~~~~~ cargo:warning=oniguruma/src/regexec.c:3018:3: note: in expansion of macro 'STACK_INIT' cargo:warning= 3018 | STACK_INIT(INIT_MATCH_STACK_SIZE); cargo:warning= | ^~~~~~~~~~ cargo:warning=oniguruma/src/regint.h:258:18: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] cargo:warning= 258 | #define xalloca alloca cargo:warning= | ^~~~~~ cargo:warning=oniguruma/src/regexec.c:1312:26: note: in expansion of macro 'xalloca' cargo:warning= 1312 | alloc_base = (char* )xalloca(sizeof(StkPtrType) * msa->ptr_num\ cargo:warning= | ^~~~~~~ cargo:warning=oniguruma/src/regexec.c:3018:3: note: in expansion of macro 'STACK_INIT' cargo:warning= 3018 | STACK_INIT(INIT_MATCH_STACK_SIZE); cargo:warning= | ^~~~~~~~~~ --- stderr error occurred in cc-rs: Command LC_ALL="C" "gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/work/textproc/py-comrak/work/comrak-0.0.12/target/release/build/onig_sys-a78cd474423fd051/out" "-I" "oniguruma/src" "-pipe" "-O2" "-msave-args" "-fno-aggressive-loop-optimizations" "-I/usr/include" "-I/opt/pkg/include/python3.12" "-I/opt/pkg/include" "-DHAVE_UNISTD_H=1" "-DHAVE_SYS_TYPES_H=1" "-DHAVE_SYS_TIME_H=1" "-o" "/tmp/work/textproc/py-comrak/work/comrak-0.0.12/target/release/build/onig_sys-a78cd474423fd051/out/a445302c6d3dcb51-regexec.o" "-c" "oniguruma/src/regexec.c" with args gcc did not execute successfully (status code exit status: 1). warning: build failed, waiting for other jobs to finish... 💥 maturin failed Caused by: Failed to build a native library through cargo Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_BUILD_EXTENSION_MODULE="1" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.12-64bit" PYO3_PYTHON="/opt/pkg/bin/python3.12" PYTHON_SYS_EXECUTABLE="/opt/pkg/bin/python3.12" "cargo" "rustc" "--jobs" "3" "--profile" "release" "--features" "pyo3/extension-module" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/work/textproc/py-comrak/work/comrak-0.0.12/Cargo.toml" "--lib"` Error: command ['maturin-3.12', 'pep517', 'build-wheel', '-i', '/opt/pkg/bin/python3.12', '--compatibility', 'off', '-j3'] returned non-zero exit status 1 TIP pass --env-dir and --sdist-extract-dir to keep the build environment and sources, then see https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build for help debugging a failed build ERROR Backend subprocess exited when trying to invoke build_wheel *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/py-comrak *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/py-comrak