=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for cratuity-0.1.5nb1 Compiling libc v0.2.82 Compiling proc-macro2 v1.0.24 Compiling unicode-xid v0.2.1 Compiling autocfg v1.0.1 Compiling syn v1.0.58 Compiling cfg-if v0.1.10 Compiling log v0.4.11 Compiling cfg-if v1.0.0 Compiling lazy_static v1.4.0 Compiling version_check v0.9.2 Compiling bitflags v1.2.1 Compiling cc v1.0.66 Compiling pkg-config v0.3.19 Compiling memchr v2.3.4 Compiling futures-core v0.3.9 Compiling slab v0.4.2 Compiling fnv v1.0.7 Compiling unicase v2.6.0 Compiling pin-project-internal v0.4.27 Compiling iovec v0.1.4 Compiling quote v1.0.8 Compiling net2 v0.2.37 Compiling bytes v0.5.6 Compiling itoa v0.4.7 Compiling mio v0.6.23 Compiling num_cpus v1.13.0 Compiling pin-project-lite v0.1.11 Compiling pin-project-lite v0.2.3 Compiling openssl-sys v0.9.60 Compiling serde_derive v1.0.118 Compiling indexmap v1.6.1 Compiling tracing-core v0.1.17 Compiling instant v0.1.9 Compiling scopeguard v1.1.0 Compiling once_cell v1.5.2 Compiling matches v0.1.8 Compiling tokio v0.2.24 Compiling foreign-types-shared v0.1.1 Compiling smallvec v1.6.1 Compiling serde v1.0.118 Compiling bytes v1.0.0 Compiling openssl v0.10.32 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: `/pbulk/work/www/cratuity/work/cratuity-2d2b122ce39506563be21e1918b629fbb313ec15/target/release/build/openssl-sys-433ef090f68d1eec/build-script-main` (exit status: 101) --- stdout cargo:rustc-cfg=const_fn cargo:rerun-if-env-changed=I586_UNKNOWN_NETBSD_OPENSSL_LIB_DIR I586_UNKNOWN_NETBSD_OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=OPENSSL_LIB_DIR OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=I586_UNKNOWN_NETBSD_OPENSSL_INCLUDE_DIR I586_UNKNOWN_NETBSD_OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=I586_UNKNOWN_NETBSD_OPENSSL_DIR I586_UNKNOWN_NETBSD_OPENSSL_DIR unset cargo:rerun-if-env-changed=OPENSSL_DIR OPENSSL_DIR = /usr cargo:rustc-link-search=native=/usr/lib cargo:include=/usr/include OPT_LEVEL = Some("3") TARGET = Some("i586-unknown-netbsd") HOST = Some("i586-unknown-netbsd") CC_i586-unknown-netbsd = None CC_i586_unknown_netbsd = None HOST_CC = None CC = Some("gcc") CFLAGS_i586-unknown-netbsd = None CFLAGS_i586_unknown_netbsd = None HOST_CFLAGS = None CFLAGS = Some("-O2 -I/usr/pkg/include -I/usr/include") CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") CARGO_CFG_TARGET_FEATURE = None running: "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m32" "-O2" "-I/usr/pkg/include" "-I/usr/include" "-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 /pbulk/work/www/cratuity/work/vendor/openssl-sys-0.9.60/build/main.rs:141:13: Header expansion error: Error { kind: ToolExecError, message: "Command \"gcc\" \"-O3\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-m32\" \"-O2\" \"-I/usr/pkg/include\" \"-I/usr/include\" \"-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 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. make[1]: stopped in /usr/pkgsrc/www/cratuity *** Error code 1 Stop. make: stopped in /usr/pkgsrc/www/cratuity