[package - main-i386-default][sysutils/rsfetch] Failed for rsfetch-2.0.0_33 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 25 Jun 2023 20:13:09 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:     lcook@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p4785b313b958_se8efee297c/logs/rsfetch-2.0.0_33.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p4785b313b958_se8efee297c
Log:

=>> Building sysutils/rsfetch
build started at Sun Jun 25 20:12:19 UTC 2023
port directory: /usr/ports/sysutils/rsfetch
package name: rsfetch-2.0.0_33
building for: FreeBSD main-i386-default-job-10 14.0-CURRENT FreeBSD 14.0-CURRENT 1400091 i386
maintained by: lcook@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400091
Job Id: 10




!!! Jail is newer than host. (Jail: 1400091, 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=1400091
UNAME_v=FreeBSD 14.0-CURRENT 1400091
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---
===> The following configuration options are available for rsfetch-2.0.0_33:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
lcook@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/rsfetch/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/rsfetch/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/rsfetch/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/rsfetch/work TMPDIR="/wrkdirs/usr/ports/sysutils/rsfetch/work" PATH=/wrkdirs/usr/ports/sysutils/rsfetch/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/rsfetch/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/sysutils/rsfetch/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/rsfetch/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/rsfetch/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/rsfetch/work TMPDIR="/wrkdirs/usr/ports/sysutils/rsfetch/work" PATH=/wrkdirs/usr/ports/sysutils/rsfetch/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/rsfetch/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_INST
ALL_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--
PORTDOCS="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/rsfetch"  EXAMPLESDIR="share/examples/rsfetch"  DATADIR="share/rsfetch"  WWWDIR="www/rsfetch"  ETCDIR="etc/rsfetch"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/rsfetch DOCSDIR=/usr/local/share/doc/rsfetch EXAMPLESDIR=/usr/local/share/examples/rsfetch  WWWDIR=/usr/local/www/rsfetch ETCDIR=/usr/local/etc/rsfetch
--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=1400091
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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   rsfetch-2.0.0_33 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-i386-default-job-10] Installing pkg-1.19.1_1...
[main-i386-default-job-10] Extracting pkg-1.19.1_1: .......... done
===>   rsfetch-2.0.0_33 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of rsfetch-2.0.0_33
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by rsfetch-2.0.0_33 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by rsfetch-2.0.0_33 for building
=> SHA256 Checksum OK for rust/crates/adler32-1.0.4.tar.gz.
=> SHA256 Checksum OK for rust/crates/aho-corasick-0.7.10.tar.gz.
=> SHA256 Checksum OK for rust/crates/ansi_term-0.11.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/arrayref-0.3.6.tar.gz.
=> SHA256 Checksum OK for rust/crates/arrayvec-0.5.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/atty-0.2.14.tar.gz.
=> SHA256 Checksum OK for rust/crates/autocfg-0.1.7.tar.gz.
=> SHA256 Checksum OK for rust/crates/autocfg-1.0.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/backtrace-0.3.45.tar.gz.
=> SHA256 Checksum OK for rust/crates/backtrace-sys-0.1.34.tar.gz.
=> SHA256 Checksum OK for rust/crates/base64-0.10.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/base64-0.11.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.10.tar.gz.
<snip>
help: use `let _ = ...` to ignore the resulting value
    |
217 |                 let _ = Box::from_raw(new_table);
    |                 +++++++

warning: unused return value of `Box::<T>::from_raw` that must be used
   --> /wrkdirs/usr/ports/sysutils/rsfetch/work/rsfetch-2.0.0/cargo-crates/parking_lot_core-0.6.2/src/parking_lot.rs:247:9
    |
247 |         Box::from_raw(new_table);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
help: use `let _ = ...` to ignore the resulting value
    |
247 |         let _ = Box::from_raw(new_table);
    |         +++++++

warning: the type `*mut c_void` does not permit being left uninitialized
   --> /wrkdirs/usr/ports/sysutils/rsfetch/work/rsfetch-2.0.0/cargo-crates/parking_lot_core-0.6.2/src/thread_parker/unix.rs:140:50
    |
140 |         let mut attr: libc::pthread_condattr_t = mem::uninitialized();
    |                                                  ^^^^^^^^^^^^^^^^^^^^
    |                                                  |
    |                                                  this code causes undefined behavior when executed
    |                                                  help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
    |
    = note: raw pointers must be initialized
    = note: `#[warn(invalid_value)]` on by default

warning: the type `timespec` does not permit being left uninitialized
   --> /wrkdirs/usr/ports/sysutils/rsfetch/work/rsfetch-2.0.0/cargo-crates/parking_lot_core-0.6.2/src/thread_parker/unix.rs:210:44
    |
210 |     let mut now: libc::timespec = unsafe { mem::uninitialized() };
    |                                            ^^^^^^^^^^^^^^^^^^^^
    |                                            |
    |                                            this code causes undefined behavior when executed
    |                                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
    |
    = note: integers must be initialized

warning: `parking_lot_core` (lib) generated 9 warnings
     Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=memoffset CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/sysutils/rsfetch/work/rsfetch-2.0.0/cargo-crates/memoffset-0.5.3 CARGO_PKG_AUTHORS='Gilad Naaman <gilad.naaman@gmail.com>' CARGO_PKG_DESCRIPTION='offset_of functionality for Rust structs.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=memoffset CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/Gilnaa/memoffset' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.5.3 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=3 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/wrkdirs/usr/ports/sysutils/rsfetch/work/target/release/deps:/usr/local/lib' OUT_DIR=/wrkdirs/usr/ports/sysutils/rsfetch/work/target/i686-unknown-freebsd/release/build/memoffset-5d37632dd8017291/out /usr/local/bin/rustc --crate-name memoffset /wrkdirs/usr/ports/sysutils/rsfetch/work/rsfetch-2.0.0/cargo-crates/memoffset-0.5.3/src/lib.rs --err
or-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C linker-plugin-lto -C codegen-units=1 -C metadata=844c4c63a0c8d52b -C extra-filename=-844c4c63a0c8d52b --out-dir /wrkdirs/usr/ports/sysutils/rsfetch/work/target/i686-unknown-freebsd/release/deps --target i686-unknown-freebsd -C linker=cc -L dependency=/wrkdirs/usr/ports/sysutils/rsfetch/work/target/i686-unknown-freebsd/release/deps -L dependency=/wrkdirs/usr/ports/sysutils/rsfetch/work/target/release/deps --cap-lints warn -C link-arg=-fstack-protector-strong --cfg memoffset_maybe_uninit --cfg memoffset_doctests`
     Running `/wrkdirs/usr/ports/sysutils/rsfetch/work/target/release/build/openssl-sys-ea084b26e42bfba6/build-script-main`
[openssl-sys 0.9.54] cargo:rustc-cfg=const_fn
[openssl-sys 0.9.54] cargo:rerun-if-env-changed=I686_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR
[openssl-sys 0.9.54] I686_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR unset
[openssl-sys 0.9.54] cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
[openssl-sys 0.9.54] OPENSSL_LIB_DIR = /usr/lib
[openssl-sys 0.9.54] cargo:rerun-if-env-changed=I686_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR
[openssl-sys 0.9.54] I686_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR unset
[openssl-sys 0.9.54] cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
[openssl-sys 0.9.54] OPENSSL_INCLUDE_DIR = /usr/include
[openssl-sys 0.9.54] cargo:rustc-link-search=native=/usr/lib
[openssl-sys 0.9.54] cargo:include=/usr/include
[openssl-sys 0.9.54] OPT_LEVEL = Some("2")
[openssl-sys 0.9.54] TARGET = Some("i686-unknown-freebsd")
[openssl-sys 0.9.54] HOST = Some("i686-unknown-freebsd")
[openssl-sys 0.9.54] CC_i686-unknown-freebsd = None
[openssl-sys 0.9.54] CC_i686_unknown_freebsd = None
[openssl-sys 0.9.54] HOST_CC = None
[openssl-sys 0.9.54] CC = Some("cc")
[openssl-sys 0.9.54] CFLAGS_i686-unknown-freebsd = None
[openssl-sys 0.9.54] CFLAGS_i686_unknown_freebsd = None
[openssl-sys 0.9.54] HOST_CFLAGS = None
[openssl-sys 0.9.54] CFLAGS = Some("-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing ")
[openssl-sys 0.9.54] CRATE_CC_NO_DEFAULTS = None
[openssl-sys 0.9.54] DEBUG = Some("false")
[openssl-sys 0.9.54] CARGO_CFG_TARGET_FEATURE = None
[openssl-sys 0.9.54] 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.54] cargo:warning=build/expando.c:10:1: error: pasting formed 'RUST_VERSION_OPENSSL_(', an invalid preprocessing token
[openssl-sys 0.9.54] cargo:warning=VERSION(OPENSSL, OPENSSL_VERSION_NUMBER)
[openssl-sys 0.9.54] cargo:warning=^
[openssl-sys 0.9.54] cargo:warning=build/expando.c:5:23: note: expanded from macro 'VERSION'
[openssl-sys 0.9.54] cargo:warning=#define VERSION(n, v) VERSION2(n, v)
[openssl-sys 0.9.54] cargo:warning=                      ^
[openssl-sys 0.9.54] cargo:warning=build/expando.c:4:43: note: expanded from macro 'VERSION2'
[openssl-sys 0.9.54] cargo:warning=#define VERSION2(n, v) RUST_VERSION_##n##_##v
[openssl-sys 0.9.54] cargo:warning=                                          ^
[openssl-sys 0.9.54] cargo:warning=1 error generated.
[openssl-sys 0.9.54] exit status: 1
[openssl-sys 0.9.54] thread 'main' panicked at '
[openssl-sys 0.9.54] Header expansion error:
[openssl-sys 0.9.54] 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.54] 
[openssl-sys 0.9.54] Failed to find OpenSSL development headers.
[openssl-sys 0.9.54] 
[openssl-sys 0.9.54] You can try fixing this setting the `OPENSSL_DIR` environment variable
[openssl-sys 0.9.54] pointing to your OpenSSL installation or installing OpenSSL headers package
[openssl-sys 0.9.54] specific to your distribution:
[openssl-sys 0.9.54] 
[openssl-sys 0.9.54]     # On Ubuntu
[openssl-sys 0.9.54]     sudo apt-get install libssl-dev
[openssl-sys 0.9.54]     # On Arch Linux
[openssl-sys 0.9.54]     sudo pacman -S openssl
[openssl-sys 0.9.54]     # On Fedora
[openssl-sys 0.9.54]     sudo dnf install openssl-devel
[openssl-sys 0.9.54] 
[openssl-sys 0.9.54] See rust-openssl README for more information:
[openssl-sys 0.9.54] 
[openssl-sys 0.9.54]     https://github.com/sfackler/rust-openssl#linux
[openssl-sys 0.9.54] ', /wrkdirs/usr/ports/sysutils/rsfetch/work/rsfetch-2.0.0/cargo-crates/openssl-sys-0.9.54/build/main.rs:126:13
[openssl-sys 0.9.54] stack backtrace:
[openssl-sys 0.9.54]    0: rust_begin_unwind
[openssl-sys 0.9.54]    1: core::panicking::panic_fmt
[openssl-sys 0.9.54]    2: build_script_main::validate_headers
[openssl-sys 0.9.54]    3: build_script_main::main
[openssl-sys 0.9.54]    4: core::ops::function::FnOnce::call_once
[openssl-sys 0.9.54] 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.54`
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/sysutils/rsfetch/work/target/release/build/openssl-sys-ea084b26e42bfba6/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/sysutils/rsfetch/work/rsfetch-2.0.0/cargo-crates/openssl-sys-0.9.54/build/main.rs:126: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...
warning: `serde_derive` (lib) generated 2 warnings
*** Error code 101

Stop.
make: stopped in /usr/ports/sysutils/rsfetch