>>> rezolus: Building testing/rezolus 2.11.1-r1 (using abuild 3.10.0_rc1-r2) started Mon, 24 Oct 2022 19:41:34 +0000 >>> rezolus: Checking sanity of /home/buildozer/aports/testing/rezolus/APKBUILD... >>> rezolus: Analyzing dependencies... >>> rezolus: Installing for build: build-base cargo openssl-dev (1/8) Installing rust-stdlib (1.64.0-r2) (2/8) Installing libffi (3.4.3-r0) (3/8) Installing libxml2 (2.10.3-r0) (4/8) Installing llvm15-libs (15.0.3-r0) (5/8) Installing rust (1.64.0-r2) (6/8) Installing cargo (1.64.0-r2) (7/8) Installing openssl-dev (3.0.5-r3) (8/8) Installing .makedepends-rezolus (20221024.194136) Executing busybox-1.35.0-r27.trigger OK: 1147 MiB in 111 packages >>> rezolus: Cleaning up srcdir >>> rezolus: Cleaning up pkgdir >>> rezolus: Fetching https://distfiles.alpinelinux.org/distfiles/edge/rezolus-2.11.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 78845 100 78845 0 0 462k 0 --:--:-- --:--:-- --:--:-- 463k >>> rezolus: Fetching https://distfiles.alpinelinux.org/distfiles/edge/rezolus-2.11.1.tar.gz >>> rezolus: Checking sha512sums... rezolus-2.11.1.tar.gz: OK minimize-size.patch: OK remove-ntp-sampler.patch: OK remove-http-sampler.patch: OK config.toml: OK rezolus.initd: OK rezolus.confd: OK rezolus.logrotate: OK >>> rezolus: Unpacking /var/cache/distfiles/edge/rezolus-2.11.1.tar.gz... >>> rezolus: minimize-size.patch patching file Cargo.toml >>> rezolus: remove-ntp-sampler.patch patching file src/config/samplers.rs patching file src/main.rs patching file src/samplers/mod.rs patching file configs/example.toml >>> rezolus: remove-http-sampler.patch patching file configs/example.toml patching file src/config/samplers.rs patching file src/main.rs patching file src/samplers/mod.rs Updating git repository `https://github.com/twitter/rustcommon` Downloading crates ... Downloaded tracing v0.1.22 Downloaded lock_api v0.4.2 Downloaded num-bigint v0.3.1 Downloaded wrapcenum-derive v0.4.0 Downloaded slab v0.4.2 Downloaded tokio v1.0.1 Downloaded ctrlc v3.1.7 Downloaded signal-hook-registry v1.3.0 Downloaded httparse v1.3.4 Downloaded tower-service v0.3.0 Downloaded log v0.4.13 Downloaded nvml-wrapper v0.7.0 Downloaded http v0.2.3 Downloaded nvml-wrapper-sys v0.5.0 Downloaded nix v0.18.0 Downloaded pin-project-internal v0.4.27 Downloaded reqwest v0.11.0 Downloaded tinyvec v1.1.0 Downloaded unicode-normalization v0.1.16 Downloaded vergen v3.1.0 Downloaded thiserror-impl v1.0.23 Downloaded pin-project v0.4.27 Downloaded thiserror v1.0.23 Downloaded tokio-stream v0.1.1 Downloaded num-complex v0.3.1 Downloaded errno v0.2.7 Downloaded tracing-futures v0.2.4 Downloaded num v0.3.1 Downloaded futures-core v0.3.9 Downloaded futures-sink v0.3.9 Downloaded sysconf v0.3.4 Downloaded dashmap v3.11.10 Downloaded chunked_transfer v1.3.0 Downloaded futures-util v0.3.9 Downloaded tiny_http v0.7.0 Downloaded thread_local v1.1.0 Downloaded pin-project v1.0.4 Downloaded openssl v0.10.32 Downloaded pin-project-internal v1.0.4 Downloaded h2 v0.3.0 Downloaded hyper v0.14.2 Downloaded http-body v0.4.0 Downloaded openssl-sys v0.9.60 Downloaded syn v1.0.58 Downloaded tokio-util v0.6.0 Downloaded parking_lot_core v0.8.2 Downloaded encoding_rs v0.8.26 Downloaded const_fn v0.4.5 Downloaded libloading v0.6.6 Downloaded futures-task v0.3.9 Downloaded futures-channel v0.3.9 Downloaded futures-io v0.3.9 Downloaded form_urlencoded v1.0.0 Downloaded ascii v1.0.0 Downloaded async-trait v0.1.42 Downloaded url v2.2.0 Downloaded indexmap v1.6.1 Compiling autocfg v1.0.1 Compiling libc v0.2.82 Compiling proc-macro2 v1.0.24 Compiling unicode-xid v0.2.1 Compiling syn v1.0.58 Compiling cfg-if v1.0.0 Compiling lazy_static v1.4.0 Compiling cfg-if v0.1.10 Compiling bitflags v1.2.1 Compiling log v0.4.13 Compiling scopeguard v1.1.0 Compiling memchr v2.3.4 Compiling pin-project-lite v0.2.4 Compiling pkg-config v0.3.19 Compiling bytes v1.0.1 Compiling smallvec v1.6.1 Compiling once_cell v1.5.2 Compiling cc v1.0.66 Compiling serde v1.0.118 Compiling futures-core v0.3.9 Compiling crunchy v0.2.2 Compiling pin-project-internal v0.4.27 Compiling matches v0.1.8 Compiling proc-macro-hack v0.5.19 Compiling tiny-keccak v2.0.2 Compiling const_fn v0.4.5 Compiling getrandom v0.2.1 Compiling itoa v0.4.7 Compiling openssl v0.10.32 Compiling tinyvec_macros v0.1.0 Compiling foreign-types-shared v0.1.1 Compiling fnv v1.0.7 Compiling httparse v1.3.4 Compiling hashbrown v0.9.1 Compiling native-tls v0.2.7 Compiling percent-encoding v2.1.0 Compiling ident_case v1.0.1 Compiling pin-utils v0.1.0 Compiling futures-io v0.3.9 Compiling slab v0.4.2 Compiling futures-sink v0.3.9 Compiling strsim v0.9.3 Compiling ryu v1.0.5 Compiling winapi-build v0.1.1 Compiling try-lock v0.2.3 Compiling openssl-probe v0.1.2 Compiling nix v0.18.0 Compiling tower-service v0.3.0 Compiling encoding_rs v0.8.26 Compiling httpdate v0.3.2 Compiling serde_derive v1.0.118 Compiling unicode-width v0.1.8 Compiling unicode-segmentation v1.7.1 Compiling anyhow v1.0.38 Compiling winapi v0.2.8 Compiling vec_map v0.8.2 Compiling same-file v1.0.6 Compiling ascii v1.0.0 Compiling static_assertions v1.1.0 Compiling strsim v0.8.0 Compiling ansi_term v0.11.0 Compiling regex-syntax v0.6.22 Compiling mime v0.3.16 Compiling chunked_transfer v1.3.0 Compiling base64 v0.13.0 Compiling ipnet v2.3.0 Compiling uuid v0.8.2 Compiling json v0.12.4 Compiling strum v0.20.0 Compiling instant v0.1.9 Compiling libloading v0.6.6 Compiling lock_api v0.4.2 Compiling unicode-bidi v0.3.4 Compiling foreign-types v0.3.2 Compiling tinyvec v1.1.0 Compiling tracing-core v0.1.17 Compiling thread_local v1.1.0 Compiling futures-channel v0.3.9 Compiling futures-task v0.3.9 Compiling form_urlencoded v1.0.0 Compiling textwrap v0.11.0 Compiling walkdir v2.3.1 Compiling kernel32-sys v0.2.2 Compiling nvml-wrapper-sys v0.5.0 Compiling http v0.2.3 Compiling num-traits v0.2.14 Compiling num-integer v0.1.44 Compiling tokio v1.0.1 Compiling crossbeam-utils v0.8.1 Compiling memoffset v0.6.1 Compiling indexmap v1.6.1 Compiling num-bigint v0.3.1 Compiling num-rational v0.3.2 Compiling num-iter v0.1.42 Compiling heck v0.3.2 Compiling futures-util v0.3.9 Compiling aho-corasick v0.7.15 Compiling want v0.3.0 Compiling tracing v0.1.22 Compiling quote v1.0.8 Compiling unicode-normalization v0.1.16 Compiling crossbeam-epoch v0.9.1 Compiling crossbeam-channel v0.5.0 Compiling crossbeam-queue v0.3.1 Compiling openssl-sys v0.9.60 Compiling crossbeam-deque v0.8.0 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.60` Caused by: process didn't exit successfully: `/home/buildozer/aports/testing/rezolus/src/rezolus-2.11.1/target/release/build/openssl-sys-032719e15e934795/build-script-main` (exit status: 101) --- stdout cargo:rustc-cfg=const_fn cargo:rerun-if-env-changed=I586_ALPINE_LINUX_MUSL_OPENSSL_LIB_DIR I586_ALPINE_LINUX_MUSL_OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=OPENSSL_LIB_DIR OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=I586_ALPINE_LINUX_MUSL_OPENSSL_INCLUDE_DIR I586_ALPINE_LINUX_MUSL_OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=I586_ALPINE_LINUX_MUSL_OPENSSL_DIR I586_ALPINE_LINUX_MUSL_OPENSSL_DIR unset cargo:rerun-if-env-changed=OPENSSL_DIR OPENSSL_DIR unset cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=OPENSSL_STATIC cargo:rerun-if-env-changed=OPENSSL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_i586-alpine-linux-musl cargo:rerun-if-env-changed=PKG_CONFIG_PATH_i586_alpine_linux_musl cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_i586-alpine-linux-musl cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_i586_alpine_linux_musl cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_i586-alpine-linux-musl cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_i586_alpine_linux_musl cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=SYSROOT cargo:rerun-if-env-changed=OPENSSL_STATIC cargo:rerun-if-env-changed=OPENSSL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rustc-link-lib=ssl cargo:rustc-link-lib=crypto cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=OPENSSL_STATIC cargo:rerun-if-env-changed=OPENSSL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_i586-alpine-linux-musl cargo:rerun-if-env-changed=PKG_CONFIG_PATH_i586_alpine_linux_musl cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_i586-alpine-linux-musl cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_i586_alpine_linux_musl cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_i586-alpine-linux-musl cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_i586_alpine_linux_musl cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR OPT_LEVEL = Some("s") TARGET = Some("i586-alpine-linux-musl") HOST = Some("i586-alpine-linux-musl") CC_i586-alpine-linux-musl = None CC_i586_alpine_linux_musl = None HOST_CC = None CC = Some("gcc") CFLAGS_i586-alpine-linux-musl = None CFLAGS_i586_alpine_linux_musl = None HOST_CFLAGS = None CFLAGS = Some("-Os -fomit-frame-pointer") CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") running: "gcc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m32" "-Os" "-fomit-frame-pointer" "-I" "/usr/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 ' Header expansion error: Error { kind: ToolExecError, message: "Command \"gcc\" \"-Os\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-m32\" \"-Os\" \"-fomit-frame-pointer\" \"-I\" \"/usr/include\" \"-E\" \"build/expando.c\" with args \"gcc\" 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 ', /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/openssl-sys-0.9.60/build/main.rs:141:13 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... >>> ERROR: rezolus: build failed >>> rezolus: Uninstalling dependencies... (1/8) Purging .makedepends-rezolus (20221024.194136) (2/8) Purging cargo (1.64.0-r2) (3/8) Purging rust (1.64.0-r2) (4/8) Purging rust-stdlib (1.64.0-r2) (5/8) Purging openssl-dev (3.0.5-r3) (6/8) Purging llvm15-libs (15.0.3-r0) (7/8) Purging libffi (3.4.3-r0) (8/8) Purging libxml2 (2.10.3-r0) Executing busybox-1.35.0-r27.trigger OK: 380 MiB in 103 packages