[package - main-i386-default][www/rearx] Failed for rearx-0.1.4_22 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jul 2023 21:01:18 UTC
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: yuri@FreeBSD.org Log URL: https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p12211587418a_see8b0c436d/logs/rearx-0.1.4_22.log Build URL: https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p12211587418a_see8b0c436d Log: =>> Building www/rearx build started at Tue Jul 4 21:00:47 UTC 2023 port directory: /usr/ports/www/rearx package name: rearx-0.1.4_22 building for: FreeBSD main-i386-default-job-08 14.0-CURRENT FreeBSD 14.0-CURRENT 1400092 i386 maintained by: yuri@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400089 Jail OSVERSION: 1400092 Job Id: 08 !!! Jail is newer than host. (Jail: 1400092, Host: 1400089) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh UNAME_p=i386 UNAME_m=i386 OSVERSION=1400092 UNAME_v=FreeBSD 14.0-CURRENT 1400092 UNAME_r=14.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-23-ga7f8d188 MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- yuri@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/www/rearx/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/rearx/work XDG_CACHE_HOME=/wrkdirs/usr/ports/www/rearx/work/.cache HOME=/wrkdirs/usr/ports/www/rearx/work TMPDIR="/wrkdirs/usr/ports/www/rearx/work" PATH=/wrkdirs/usr/ports/www/rearx/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/rearx/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/www/rearx/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/rearx/work XDG_CACHE_HOME=/wrkdirs/usr/ports/www/rearx/work/.cache HOME=/wrkdirs/usr/ports/www/rearx/work TMPDIR="/wrkdirs/usr/ports/www/rearx/work" PATH=/wrkdirs/usr/ports/www/rearx/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/rearx/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB ="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/rearx" EXAMPLESDIR="share/examples/rearx" DATADIR="share/rearx" WWWDIR="www/rearx" ETCDIR="etc/rearx" --End PLIST_SUB-- --SUB_LIST-- ETCDIR=/usr/local/etc/rearx PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/rearx DOCSDIR=/usr/local/share/doc/rearx EXAMPLESDIR=/usr/local/share/examples/rearx WWWDIR=/usr/local/www/rearx ETCDIR=/usr/local/etc/rearx --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_53255a77=yes CC_OUTPUT_921dbbb2_911cfe02=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes CC_OUTPUT_921dbbb2_af59ad06=yes CC_OUTPUT_921dbbb2_a15f3fcf=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400092 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =======================<phase: check-sanity >============================ ===> License GPLv3 accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> rearx-0.1.4_22 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.19.2.pkg [main-i386-default-job-08] Installing pkg-1.19.2... [main-i386-default-job-08] Extracting pkg-1.19.2: .......... done ===> rearx-0.1.4_22 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of rearx-0.1.4_22 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by rearx-0.1.4_22 for building =========================================================================== =======================<phase: checksum >============================ ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by rearx-0.1.4_22 for building => SHA256 Checksum OK for rust/crates/arrayref-0.3.6.tar.gz. => SHA256 Checksum OK for rust/crates/arrayvec-0.5.2.tar.gz. => SHA256 Checksum OK for rust/crates/atty-0.2.14.tar.gz. => SHA256 Checksum OK for rust/crates/autocfg-1.0.1.tar.gz. => SHA256 Checksum OK for rust/crates/base64-0.13.0.tar.gz. => SHA256 Checksum OK for rust/crates/bitflags-1.2.1.tar.gz. => SHA256 Checksum OK for rust/crates/blake2b_simd-0.5.11.tar.gz. => SHA256 Checksum OK for rust/crates/bstr-0.2.15.tar.gz. => SHA256 Checksum OK for rust/crates/bumpalo-3.6.1.tar.gz. => SHA256 Checksum OK for rust/crates/byteorder-1.4.3.tar.gz. => SHA256 Checksum OK for rust/crates/bytes-1.0.1.tar.gz. => SHA256 Checksum OK for rust/crates/cc-1.0.67.tar.gz. => SHA256 Checksum OK for rust/crates/cfg-if-1.0.0.tar.gz. => SHA256 Checksum OK for rust/crates/clap-2.33.3.tar.gz. => SHA256 Checksum OK for rust/crates/constant_time_eq-0.1.5.tar.gz. => SHA256 Checksum OK for rust/crates/core-foundation-0.9.1.tar.gz. => SHA256 Checksum OK for rust/crates/core-foundation-sys-0.8.2.tar.gz. <snip> [serde 1.0.124] cargo:rustc-cfg=de_boxed_c_str [serde 1.0.124] cargo:rustc-cfg=de_boxed_path [serde 1.0.124] cargo:rustc-cfg=de_rc_dst [serde 1.0.124] cargo:rustc-cfg=core_duration [serde 1.0.124] cargo:rustc-cfg=integer128 [serde 1.0.124] cargo:rustc-cfg=range_inclusive [serde 1.0.124] cargo:rustc-cfg=num_nonzero [serde 1.0.124] cargo:rustc-cfg=serde_derive [serde 1.0.124] cargo:rustc-cfg=core_try_from [serde 1.0.124] cargo:rustc-cfg=num_nonzero_signed [serde 1.0.124] cargo:rustc-cfg=systemtime_checked_add [serde 1.0.124] cargo:rustc-cfg=std_atomic64 [serde 1.0.124] cargo:rustc-cfg=std_atomic Compiling parking_lot_core v0.8.3 Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=parking_lot_core CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/www/rearx/work/rearx-0.1.4/cargo-crates/parking_lot_core-0.8.3 CARGO_PKG_AUTHORS='Amanieu d'\''Antras <amanieu@gmail.com>' CARGO_PKG_DESCRIPTION='An advanced API for creating custom synchronization primitives.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=Apache-2.0/MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=parking_lot_core CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/Amanieu/parking_lot' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.8.3 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=8 CARGO_PKG_VERSION_PATCH=3 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/wrkdirs/usr/ports/www/rearx/work/target/release/deps:/usr/local/lib' /usr/local/bin/rustc --crate-name parking_lot_core --edition=2018 /wrkdirs/usr/ports/www/rearx/work/rearx-0.1.4/cargo-crates/parking_lot_core-0.8.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-in compat --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C codegen-units=1 -C metadata=28185c4edfde0b0a -C extra-filename=-28185c4edfde0b0a --out-dir /wrkdirs/usr/ports/www/rearx/work/target/i686-unknown-freebsd/release/deps --target i686-unknown-freebsd -C linker=cc -L dependency=/wrkdirs/usr/ports/www/rearx/work/target/i686-unknown-freebsd/release/deps -L dependency=/wrkdirs/usr/ports/www/rearx/work/target/release/deps --extern cfg_if=/wrkdirs/usr/ports/www/rearx/work/target/i686-unknown-freebsd/release/deps/libcfg_if-c3c10b4490cfa660.rmeta --extern instant=/wrkdirs/usr/ports/www/rearx/work/target/i686-unknown-freebsd/release/deps/libinstant-74b7c8bf996b1417.rmeta --extern libc=/wrkdirs/usr/ports/www/rearx/work/target/i686-unknown-freebsd/release/deps/liblibc-9dbe6b70432e7817.rmeta --extern smallvec=/wrkdirs/usr/ports/www/rearx/work/target/i686-unknown-freebsd/release/deps/libsmallvec-6fe4b53302fc0881.rmeta --cap-lints warn -C link-arg=-fstack-p rotector-strong` warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead --> /wrkdirs/usr/ports/www/rearx/work/rearx-0.1.4/cargo-crates/parking_lot_core-0.8.3/src/spinwait.rs:9:24 | 9 | use std::sync::atomic::spin_loop_hint; | ^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead --> /wrkdirs/usr/ports/www/rearx/work/rearx-0.1.4/cargo-crates/parking_lot_core-0.8.3/src/spinwait.rs:16:9 | 16 | spin_loop_hint() | ^^^^^^^^^^^^^^ warning: unused return value of `Box::<T>::from_raw` that must be used --> /wrkdirs/usr/ports/www/rearx/work/rearx-0.1.4/cargo-crates/parking_lot_core-0.8.3/src/parking_lot.rs:227:17 | 227 | Box::from_raw(new_table); | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 227 | let _ = Box::from_raw(new_table); | +++++++ warning: `parking_lot_core` (lib) generated 3 warnings Running `/wrkdirs/usr/ports/www/rearx/work/target/release/build/openssl-sys-7220218b6159296b/build-script-main` [openssl-sys 0.9.60] cargo:rustc-cfg=const_fn [openssl-sys 0.9.60] cargo:rerun-if-env-changed=I686_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR [openssl-sys 0.9.60] I686_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR unset [openssl-sys 0.9.60] cargo:rerun-if-env-changed=OPENSSL_LIB_DIR [openssl-sys 0.9.60] OPENSSL_LIB_DIR = /usr/lib [openssl-sys 0.9.60] cargo:rerun-if-env-changed=I686_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR [openssl-sys 0.9.60] I686_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR unset [openssl-sys 0.9.60] cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR [openssl-sys 0.9.60] OPENSSL_INCLUDE_DIR = /usr/include [openssl-sys 0.9.60] cargo:rustc-link-search=native=/usr/lib [openssl-sys 0.9.60] cargo:include=/usr/include [openssl-sys 0.9.60] OPT_LEVEL = Some("2") [openssl-sys 0.9.60] TARGET = Some("i686-unknown-freebsd") [openssl-sys 0.9.60] HOST = Some("i686-unknown-freebsd") [openssl-sys 0.9.60] CC_i686-unknown-freebsd = None [openssl-sys 0.9.60] CC_i686_unknown_freebsd = None [openssl-sys 0.9.60] HOST_CC = None [openssl-sys 0.9.60] CC = Some("cc") [openssl-sys 0.9.60] CFLAGS_i686-unknown-freebsd = None [openssl-sys 0.9.60] CFLAGS_i686_unknown_freebsd = None [openssl-sys 0.9.60] HOST_CFLAGS = None [openssl-sys 0.9.60] CFLAGS = Some("-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ") [openssl-sys 0.9.60] CRATE_CC_NO_DEFAULTS = None [openssl-sys 0.9.60] DEBUG = Some("false") [openssl-sys 0.9.60] CARGO_CFG_TARGET_FEATURE = None [openssl-sys 0.9.60] running: "cc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m32" "-O2" "-pipe" "-fstack-protector-strong" "-fno-strict-aliasing" "-I" "/usr/include" "-E" "build/expando.c" [openssl-sys 0.9.60] cargo:warning=build/expando.c:10:1: error: pasting formed 'RUST_VERSION_OPENSSL_(', an invalid preprocessing token [openssl-sys 0.9.60] cargo:warning=VERSION(OPENSSL, OPENSSL_VERSION_NUMBER) [openssl-sys 0.9.60] cargo:warning=^ [openssl-sys 0.9.60] cargo:warning=build/expando.c:5:23: note: expanded from macro 'VERSION' [openssl-sys 0.9.60] cargo:warning=#define VERSION(n, v) VERSION2(n, v) [openssl-sys 0.9.60] cargo:warning= ^ [openssl-sys 0.9.60] cargo:warning=build/expando.c:4:43: note: expanded from macro 'VERSION2' [openssl-sys 0.9.60] cargo:warning=#define VERSION2(n, v) RUST_VERSION_##n##_##v [openssl-sys 0.9.60] cargo:warning= ^ [openssl-sys 0.9.60] cargo:warning=1 error generated. [openssl-sys 0.9.60] exit status: 1 [openssl-sys 0.9.60] thread 'main' panicked at ' [openssl-sys 0.9.60] Header expansion error: [openssl-sys 0.9.60] Error { kind: ToolExecError, message: "Command \"cc\" \"-O2\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-m32\" \"-O2\" \"-pipe\" \"-fstack-protector-strong\" \"-fno-strict-aliasing\" \"-I\" \"/usr/include\" \"-E\" \"build/expando.c\" with args \"cc\" did not execute successfully (status code exit status: 1)." } [openssl-sys 0.9.60] [openssl-sys 0.9.60] Failed to find OpenSSL development headers. [openssl-sys 0.9.60] [openssl-sys 0.9.60] You can try fixing this setting the `OPENSSL_DIR` environment variable [openssl-sys 0.9.60] pointing to your OpenSSL installation or installing OpenSSL headers package [openssl-sys 0.9.60] specific to your distribution: [openssl-sys 0.9.60] [openssl-sys 0.9.60] # On Ubuntu [openssl-sys 0.9.60] sudo apt-get install libssl-dev [openssl-sys 0.9.60] # On Arch Linux [openssl-sys 0.9.60] sudo pacman -S openssl [openssl-sys 0.9.60] # On Fedora [openssl-sys 0.9.60] sudo dnf install openssl-devel [openssl-sys 0.9.60] [openssl-sys 0.9.60] See rust-openssl README for more information: [openssl-sys 0.9.60] [openssl-sys 0.9.60] https://github.com/sfackler/rust-openssl#linux [openssl-sys 0.9.60] ', /wrkdirs/usr/ports/www/rearx/work/rearx-0.1.4/cargo-crates/openssl-sys-0.9.60/build/main.rs:141:13 [openssl-sys 0.9.60] stack backtrace: [openssl-sys 0.9.60] 0: rust_begin_unwind [openssl-sys 0.9.60] 1: core::panicking::panic_fmt [openssl-sys 0.9.60] 2: build_script_main::validate_headers [openssl-sys 0.9.60] 3: build_script_main::main [openssl-sys 0.9.60] 4: core::ops::function::FnOnce::call_once [openssl-sys 0.9.60] note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. The following warnings were emitted during compilation: warning: build/expando.c:10:1: error: pasting formed 'RUST_VERSION_OPENSSL_(', an invalid preprocessing token warning: VERSION(OPENSSL, OPENSSL_VERSION_NUMBER) warning: ^ warning: build/expando.c:5:23: note: expanded from macro 'VERSION' warning: #define VERSION(n, v) VERSION2(n, v) warning: ^ warning: build/expando.c:4:43: note: expanded from macro 'VERSION2' warning: #define VERSION2(n, v) RUST_VERSION_##n##_##v warning: ^ warning: 1 error generated. error: failed to run custom build command for `openssl-sys v0.9.60` note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. Caused by: process didn't exit successfully: `/wrkdirs/usr/ports/www/rearx/work/target/release/build/openssl-sys-7220218b6159296b/build-script-main` (exit status: 101) --- stdout cargo:rustc-cfg=const_fn cargo:rerun-if-env-changed=I686_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR I686_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=OPENSSL_LIB_DIR OPENSSL_LIB_DIR = /usr/lib cargo:rerun-if-env-changed=I686_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR I686_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR OPENSSL_INCLUDE_DIR = /usr/include cargo:rustc-link-search=native=/usr/lib cargo:include=/usr/include OPT_LEVEL = Some("2") TARGET = Some("i686-unknown-freebsd") HOST = Some("i686-unknown-freebsd") CC_i686-unknown-freebsd = None CC_i686_unknown_freebsd = None HOST_CC = None CC = Some("cc") CFLAGS_i686-unknown-freebsd = None CFLAGS_i686_unknown_freebsd = None HOST_CFLAGS = None CFLAGS = Some("-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ") CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") CARGO_CFG_TARGET_FEATURE = None running: "cc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m32" "-O2" "-pipe" "-fstack-protector-strong" "-fno-strict-aliasing" "-I" "/usr/include" "-E" "build/expando.c" cargo:warning=build/expando.c:10:1: error: pasting formed 'RUST_VERSION_OPENSSL_(', an invalid preprocessing token cargo:warning=VERSION(OPENSSL, OPENSSL_VERSION_NUMBER) cargo:warning=^ cargo:warning=build/expando.c:5:23: note: expanded from macro 'VERSION' cargo:warning=#define VERSION(n, v) VERSION2(n, v) cargo:warning= ^ cargo:warning=build/expando.c:4:43: note: expanded from macro 'VERSION2' cargo:warning=#define VERSION2(n, v) RUST_VERSION_##n##_##v cargo:warning= ^ cargo:warning=1 error generated. exit status: 1 --- stderr thread 'main' panicked at ' Header expansion error: Error { kind: ToolExecError, message: "Command \"cc\" \"-O2\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-m32\" \"-O2\" \"-pipe\" \"-fstack-protector-strong\" \"-fno-strict-aliasing\" \"-I\" \"/usr/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 ', /wrkdirs/usr/ports/www/rearx/work/rearx-0.1.4/cargo-crates/openssl-sys-0.9.60/build/main.rs:141:13 stack backtrace: 0: rust_begin_unwind 1: core::panicking::panic_fmt 2: build_script_main::validate_headers 3: build_script_main::main 4: core::ops::function::FnOnce::call_once note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. warning: build failed, waiting for other jobs to finish... *** Error code 101 Stop. make: stopped in /usr/ports/www/rearx