+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/paperoni-0.6.1nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/paperoni-0.6.1nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for paperoni-0.6.1nb1 Compiling libc v0.2.94 Compiling proc-macro2 v1.0.26 Compiling unicode-xid v0.2.2 Compiling syn v1.0.71 Compiling quote v1.0.9 Compiling cfg-if v1.0.0 Compiling version_check v0.9.3 Compiling autocfg v1.0.1 Compiling getrandom v0.1.16 Compiling cc v1.0.67 Compiling value-bag v1.0.0-alpha.6 Compiling log v0.4.14 Compiling typenum v1.13.0 Compiling generic-array v0.14.4 Compiling pkg-config v0.3.19 Compiling proc-macro-hack v0.5.19 Compiling memchr v2.4.0 Compiling futures-core v0.3.15 Compiling ctor v0.1.20 Compiling lazy_static v1.4.0 Compiling rand_core v0.5.1 Compiling serde_derive v1.0.125 Compiling ppv-lite86 v0.2.10 Compiling serde v1.0.125 Compiling rand_chacha v0.2.2 Compiling rand_pcg v0.2.1 Compiling siphasher v0.3.5 Compiling pin-project-lite v0.2.6 Compiling phf_shared v0.8.0 Compiling rand v0.7.3 Compiling futures-io v0.3.15 Compiling phf_generator v0.8.0 Compiling matches v0.1.8 Compiling standback v0.2.17 Compiling slab v0.4.3 Compiling subtle v2.4.0 Compiling getrandom v0.2.2 Compiling openssl-sys v0.9.62 Compiling libz-sys v1.1.3 Compiling libnghttp2-sys v0.1.6+1.43.0 Compiling itoa v0.4.7 Compiling opaque-debug v0.3.0 Compiling fastrand v1.4.1 Compiling parking v2.0.0 Compiling waker-fn v1.1.0 Compiling cache-padded v1.1.1 Compiling concurrent-queue v1.2.2 Compiling futures-lite v1.11.3 The following warnings were emitted during compilation: warning: build/expando.c:4:24: error: pasting "RUST_VERSION_OPENSSL_" and "(" does not give a valid preprocessing token warning: 4 | #define VERSION2(n, v) RUST_VERSION_##n##_##v warning: | ^~~~~~~~~~~~~ warning: build/expando.c:5:23: note: in expansion of macro 'VERSION2' warning: 5 | #define VERSION(n, v) VERSION2(n, v) warning: | ^~~~~~~~ warning: build/expando.c:10:1: note: in expansion of macro 'VERSION' warning: 10 | VERSION(OPENSSL, OPENSSL_VERSION_NUMBER) warning: | ^~~~~~~ error: failed to run custom build command for `openssl-sys v0.9.62` Caused by: process didn't exit successfully: `/home/pbulk/build/textproc/paperoni/work/paperoni-0.6.1-alpha1/target/release/build/openssl-sys-492948bf786b4938/build-script-main` (exit status: 101) --- stdout cargo:rustc-cfg=const_fn cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=OPENSSL_LIB_DIR OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset cargo:rerun-if-env-changed=OPENSSL_DIR OPENSSL_DIR = /usr/pkg cargo:rustc-link-search=native=/usr/pkg/lib cargo:include=/usr/pkg/include OPT_LEVEL = Some("3") TARGET = Some("x86_64-unknown-linux-gnu") HOST = Some("x86_64-unknown-linux-gnu") CC_x86_64-unknown-linux-gnu = None CC_x86_64_unknown_linux_gnu = None HOST_CC = None CC = Some("cc") CFLAGS_x86_64-unknown-linux-gnu = None CFLAGS_x86_64_unknown_linux_gnu = None HOST_CFLAGS = None CFLAGS = Some("-pipe -O2 -I/usr/pkg/include") CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-pipe" "-O2" "-I/usr/pkg/include" "-I" "/usr/pkg/include" "-E" "build/expando.c" cargo:warning=build/expando.c:4:24: error: pasting "RUST_VERSION_OPENSSL_" and "(" does not give a valid preprocessing token cargo:warning= 4 | #define VERSION2(n, v) RUST_VERSION_##n##_##v cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=build/expando.c:5:23: note: in expansion of macro 'VERSION2' cargo:warning= 5 | #define VERSION(n, v) VERSION2(n, v) cargo:warning= | ^~~~~~~~ cargo:warning=build/expando.c:10:1: note: in expansion of macro 'VERSION' cargo:warning= 10 | VERSION(OPENSSL, OPENSSL_VERSION_NUMBER) cargo:warning= | ^~~~~~~ exit status: 1 --- stderr thread 'main' panicked at /home/pbulk/build/textproc/paperoni/work/vendor/openssl-sys-0.9.62/build/main.rs:147:13: Header expansion error: Error { kind: ToolExecError, message: "Command \"cc\" \"-O3\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-m64\" \"-pipe\" \"-O2\" \"-I/usr/pkg/include\" \"-I\" \"/usr/pkg/include\" \"-E\" \"build/expando.c\" with args \"cc\" did not execute successfully (status code exit status: 1)." } Failed to find OpenSSL development headers. You can try fixing this setting the `OPENSSL_DIR` environment variable pointing to your OpenSSL installation or installing OpenSSL headers package specific to your distribution: # On Ubuntu sudo apt-get install libssl-dev # On Arch Linux sudo pacman -S openssl # On Fedora sudo dnf install openssl-devel See rust-openssl README for more information: https://github.com/sfackler/rust-openssl#linux note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... *** Error code 101 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/paperoni *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/textproc/paperoni