[package - main-i386-default][sysutils/vector] Failed for vector-0.10.0_25 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 05 Jul 2023 01:45:42 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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p12211587418a_see8b0c436d/logs/vector-0.10.0_25.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p12211587418a_see8b0c436d
Log:

=>> Building sysutils/vector
build started at Wed Jul  5 01:43:28 UTC 2023
port directory: /usr/ports/sysutils/vector
package name: vector-0.10.0_25
building for: FreeBSD main-i386-default-job-05 14.0-CURRENT FreeBSD 14.0-CURRENT 1400092 i386
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400092
Job Id: 05




!!! 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--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/vector/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/vector/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/vector/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/vector/work TMPDIR="/wrkdirs/usr/ports/sysutils/vector/work" PATH=/wrkdirs/usr/ports/sysutils/vector/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/vector/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--
LUA_MODLIBDIR=/usr/local/lib/lua/5.3  LUA_MODSHAREDIR=/usr/local/share/lua/5.3  LUA_MODDOCSDIR=/usr/local/share/doc/lua53  LUA_INCDIR=/usr/local/include/lua53  LUA_LIBDIR=/usr/local/lib  LUA_VER=5.3  LUA_VER_STR=53 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/vector/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/vector/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/vector/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/vector/work TMPDIR="/wrkdirs/usr/ports/sysutils/vector/work" PATH=/wrkdirs/usr/ports/sysutils/vector/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/vector/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-stro
ng -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--
LUA_MODLIBDIR=lib/lua/5.3  LUA_MODSHAREDIR=share/lua/5.3  LUA_MODDOCSDIR=share/doc/lua53  LUA_INCDIR=include/lua53  LUA_VER=5.3  LUA_VER_STR=53 OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/vector"  EXAMPLESDIR="share/examples/vector"  DATADIR="share/vector"  WWWDIR="www/vector"  ETCDIR="etc/vector"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/vector DOCSDIR=/usr/local/share/doc/vector EXAMPLESDIR=/usr/local/share/examples/vector  WWWDIR=/usr/local/www/vector ETCDIR=/usr/local/etc/vector
--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   >============================
===>   NOTICE:

The vector port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   vector-0.10.0_25 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.2.pkg
[main-i386-default-job-05] Installing pkg-1.19.2...
[main-i386-default-job-05] Extracting pkg-1.19.2: .......... done
===>   vector-0.10.0_25 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of vector-0.10.0_25
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The vector port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
<snip>
warning: unused borrow that must be used
  --> /wrkdirs/usr/ports/sysutils/vector/work/vector-0.10.0/cargo-crates/futures-util-0.3.5/src/io/into_sink.rs:15:1
   |
15 | #[pin_project]
   | ^^^^^^^^^^^^^^ the borrow produces a value
   |
   = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unused borrow that must be used
  --> /wrkdirs/usr/ports/sysutils/vector/work/vector-0.10.0/cargo-crates/futures-util-0.3.5/src/io/lines.rs:12:1
   |
12 | #[pin_project]
   | ^^^^^^^^^^^^^^ the borrow produces a value
   |
   = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: unused borrow that must be used
  --> /wrkdirs/usr/ports/sysutils/vector/work/vector-0.10.0/cargo-crates/futures-util-0.3.5/src/io/take.rs:10:1
   |
10 | #[pin_project]
   | ^^^^^^^^^^^^^^ the borrow produces a value
   |
   = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: `futures-util` (lib) generated 288 warnings (15 duplicates)
   Compiling openssl-sys v0.9.58
     Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=build_script_main CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/sysutils/vector/work/vector-0.10.0/cargo-crates/openssl-sys-0.9.58 CARGO_PKG_AUTHORS='Alex Crichton <alex@alexcrichton.com>:Steven Fackler <sfackler@gmail.com>' CARGO_PKG_DESCRIPTION='FFI bindings to OpenSSL' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=openssl-sys CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/sfackler/rust-openssl' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.9.58 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=9 CARGO_PKG_VERSION_PATCH=58 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/wrkdirs/usr/ports/sysutils/vector/work/target/release/deps:/usr/local/lib' /usr/local/bin/rustc --crate-name build_script_main /wrkdirs/usr/ports/sysutils/vector/work/vector-0.10.0/cargo-crates/openssl-sys-0.9.58/build/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat 
--crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=7ae1cf5101fca541 -C extra-filename=-7ae1cf5101fca541 --out-dir /wrkdirs/usr/ports/sysutils/vector/work/target/release/build/openssl-sys-7ae1cf5101fca541 -C linker=cc -L dependency=/wrkdirs/usr/ports/sysutils/vector/work/target/release/deps --extern autocfg=/wrkdirs/usr/ports/sysutils/vector/work/target/release/deps/libautocfg-68c75ae8c84b5ba8.rlib --extern cc=/wrkdirs/usr/ports/sysutils/vector/work/target/release/deps/libcc-ec1087e020e322d9.rlib --extern pkg_config=/wrkdirs/usr/ports/sysutils/vector/work/target/release/deps/libpkg_config-31fd277e9bb83370.rlib --cap-lints warn`
warning: panic message is not a string literal
   --> /wrkdirs/usr/ports/sysutils/vector/work/vector-0.10.0/cargo-crates/openssl-sys-0.9.58/build/find_normal.rs:157:12
    |
157 |     panic!(msg);
    |            ^^^
    |
    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
    = note: `#[warn(non_fmt_panics)]` on by default
help: add a "{}" format string to `Display` the message
    |
157 |     panic!("{}", msg);
    |            +++++

warning: `openssl-sys` (build script) generated 1 warning
     Running `/wrkdirs/usr/ports/sysutils/vector/work/target/release/build/openssl-sys-7ae1cf5101fca541/build-script-main`
[openssl-sys 0.9.58] cargo:rustc-cfg=const_fn
[openssl-sys 0.9.58] cargo:rerun-if-env-changed=I686_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR
[openssl-sys 0.9.58] I686_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR unset
[openssl-sys 0.9.58] cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
[openssl-sys 0.9.58] OPENSSL_LIB_DIR = /usr/lib
[openssl-sys 0.9.58] cargo:rerun-if-env-changed=I686_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR
[openssl-sys 0.9.58] I686_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR unset
[openssl-sys 0.9.58] cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
[openssl-sys 0.9.58] OPENSSL_INCLUDE_DIR = /usr/include
[openssl-sys 0.9.58] cargo:rustc-link-search=native=/usr/lib
[openssl-sys 0.9.58] cargo:include=/usr/include
[openssl-sys 0.9.58] OPT_LEVEL = Some("2")
[openssl-sys 0.9.58] TARGET = Some("i686-unknown-freebsd")
[openssl-sys 0.9.58] HOST = Some("i686-unknown-freebsd")
[openssl-sys 0.9.58] CC_i686-unknown-freebsd = None
[openssl-sys 0.9.58] CC_i686_unknown_freebsd = None
[openssl-sys 0.9.58] HOST_CC = None
[openssl-sys 0.9.58] CC = Some("cc")
[openssl-sys 0.9.58] CFLAGS_i686-unknown-freebsd = None
[openssl-sys 0.9.58] CFLAGS_i686_unknown_freebsd = None
[openssl-sys 0.9.58] HOST_CFLAGS = None
[openssl-sys 0.9.58] CFLAGS = Some("-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing ")
[openssl-sys 0.9.58] CRATE_CC_NO_DEFAULTS = None
[openssl-sys 0.9.58] DEBUG = Some("false")
[openssl-sys 0.9.58] CARGO_CFG_TARGET_FEATURE = None
[openssl-sys 0.9.58] 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.58] cargo:warning=build/expando.c:10:1: error: pasting formed 'RUST_VERSION_OPENSSL_(', an invalid preprocessing token
[openssl-sys 0.9.58] cargo:warning=VERSION(OPENSSL, OPENSSL_VERSION_NUMBER)
[openssl-sys 0.9.58] cargo:warning=^
[openssl-sys 0.9.58] cargo:warning=build/expando.c:5:23: note: expanded from macro 'VERSION'
[openssl-sys 0.9.58] cargo:warning=#define VERSION(n, v) VERSION2(n, v)
[openssl-sys 0.9.58] cargo:warning=                      ^
[openssl-sys 0.9.58] cargo:warning=build/expando.c:4:43: note: expanded from macro 'VERSION2'
[openssl-sys 0.9.58] cargo:warning=#define VERSION2(n, v) RUST_VERSION_##n##_##v
[openssl-sys 0.9.58] cargo:warning=                                          ^
[openssl-sys 0.9.58] cargo:warning=1 error generated.
[openssl-sys 0.9.58] exit status: 1
[openssl-sys 0.9.58] thread 'main' panicked at '
[openssl-sys 0.9.58] Header expansion error:
[openssl-sys 0.9.58] 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.58] 
[openssl-sys 0.9.58] Failed to find OpenSSL development headers.
[openssl-sys 0.9.58] 
[openssl-sys 0.9.58] You can try fixing this setting the `OPENSSL_DIR` environment variable
[openssl-sys 0.9.58] pointing to your OpenSSL installation or installing OpenSSL headers package
[openssl-sys 0.9.58] specific to your distribution:
[openssl-sys 0.9.58] 
[openssl-sys 0.9.58]     # On Ubuntu
[openssl-sys 0.9.58]     sudo apt-get install libssl-dev
[openssl-sys 0.9.58]     # On Arch Linux
[openssl-sys 0.9.58]     sudo pacman -S openssl
[openssl-sys 0.9.58]     # On Fedora
[openssl-sys 0.9.58]     sudo dnf install openssl-devel
[openssl-sys 0.9.58] 
[openssl-sys 0.9.58] See rust-openssl README for more information:
[openssl-sys 0.9.58] 
[openssl-sys 0.9.58]     https://github.com/sfackler/rust-openssl#linux
[openssl-sys 0.9.58] ', /wrkdirs/usr/ports/sysutils/vector/work/vector-0.10.0/cargo-crates/openssl-sys-0.9.58/build/main.rs:140:13
[openssl-sys 0.9.58] stack backtrace:
[openssl-sys 0.9.58]    0: rust_begin_unwind
[openssl-sys 0.9.58]    1: core::panicking::panic_fmt
[openssl-sys 0.9.58]    2: build_script_main::validate_headers
[openssl-sys 0.9.58]    3: build_script_main::main
[openssl-sys 0.9.58]    4: core::ops::function::FnOnce::call_once
[openssl-sys 0.9.58] 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.58`
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/vector/work/target/release/build/openssl-sys-7ae1cf5101fca541/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/vector/work/vector-0.10.0/cargo-crates/openssl-sys-0.9.58/build/main.rs:140: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: `tokio` (lib) generated 71 warnings
*** Error code 101

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