[package - main-armv7-default][audio/spotify-tui] Failed for spotify-tui-0.25.0_20 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 29 Jul 2023 18:04:10 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/ampere2/data/main-armv7-default/pe5b71726cc79_s92fd2f39e5/logs/spotify-tui-0.25.0_20.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=pe5b71726cc79_s92fd2f39e5
Log:

=>> Building audio/spotify-tui
build started at Sat Jul 29 18:02:34 UTC 2023
port directory: /usr/ports/audio/spotify-tui
package name: spotify-tui-0.25.0_20
building for: FreeBSD main-armv7-default-job-07 14.0-CURRENT FreeBSD 14.0-CURRENT 1400093 arm
maintained by: lcook@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400093
Job Id: 07




!!! Jail is newer than host. (Jail: 1400093, Host: 1400089) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400093
UNAME_v=FreeBSD 14.0-CURRENT 1400093
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-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-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 spotify-tui-0.25.0_20:
     DOCS=on: Build and/or install documentation
     SPOTIFYD=off: Lightweight Spotify client daemon
===> 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 PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/audio/spotify-tui/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/spotify-tui/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/audio/spotify-tui/work/.cache  HOME=/wrkdirs/usr/ports/audio/spotify-tui/work TMPDIR="/wrkdirs/usr/ports/audio/spotify-tui/work" PATH=/wrkdirs/usr/ports/audio/spotify-tui/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/audio/spotify-tui/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/audio/spotify-tui/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/spotify-tui/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/audio/spotify-tui/work/.cache  HOME=/wrkdirs/usr/ports/audio/spotify-tui/work TMPDIR="/wrkdirs/usr/ports/audio/spotify-tui/work" PATH=/wrkdirs/usr/ports/audio/spotify-tui/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/audio/spotify-tui/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 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="  -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -f
stack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  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--
PORTDOCS="" PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/spotify-tui"  EXAMPLESDIR="share/examples/spotify-tui"  DATADIR="share/spotify-tui"  WWWDIR="www/spotify-tui"  ETCDIR="etc/spotify-tui"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/spotify-tui DOCSDIR=/usr/local/share/doc/spotify-tui EXAMPLESDIR=/usr/local/share/examples/spotify-tui  WWWDIR=/usr/local/www/spotify-tui ETCDIR=/usr/local/etc/spotify-tui
--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
#### /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: armv7-unknown-freebsd14.0-gnueabihf 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: armv7-unknown-freebsd14.0-gnueabihf 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" "-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: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400093
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)  1048576
stack size              (kbytes, -s)  1048576
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    >============================
===>   spotify-tui-0.25.0_20 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.4.pkg
[main-armv7-default-job-07] Installing pkg-1.20.4...
[main-armv7-default-job-07] Extracting pkg-1.20.4: .......... done
===>   spotify-tui-0.25.0_20 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of spotify-tui-0.25.0_20
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by spotify-tui-0.25.0_20 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by spotify-tui-0.25.0_20 for building
=> SHA256 Checksum OK for rust/crates/addr2line-0.14.1.crate.
=> SHA256 Checksum OK for rust/crates/adler-0.2.3.crate.
=> SHA256 Checksum OK for rust/crates/adler32-1.2.0.crate.
=> SHA256 Checksum OK for rust/crates/aho-corasick-0.7.13.crate.
=> SHA256 Checksum OK for rust/crates/ansi_term-0.11.0.crate.
=> SHA256 Checksum OK for rust/crates/anyhow-1.0.43.crate.
=> SHA256 Checksum OK for rust/crates/arboard-1.2.0.crate.
=> SHA256 Checksum OK for rust/crates/arrayref-0.3.6.crate.
=> SHA256 Checksum OK for rust/crates/arrayvec-0.5.1.crate.
=> SHA256 Checksum OK for rust/crates/atty-0.2.14.crate.
=> SHA256 Checksum OK for rust/crates/autocfg-0.1.7.crate.
=> SHA256 Checksum OK for rust/crates/autocfg-1.0.0.crate.
=> SHA256 Checksum OK for rust/crates/backtrace-0.3.56.crate.
=> SHA256 Checksum OK for rust/crates/base64-0.10.1.crate.
=> SHA256 Checksum OK for rust/crates/base64-0.11.0.crate.
=> SHA256 Checksum OK for rust/crates/base64-0.12.3.crate.
=> SHA256 Checksum OK for rust/crates/bitflags-1.2.1.crate.
=> SHA256 Checksum OK for rust/crates/blake2b_simd-0.5.10.crate.
<snip>
   |
97 |             try!(cvt(libc::ioctl(b.fd, libc::FIOCLEX)));
   |             ^^^

warning: use of deprecated macro `try`: use the `?` operator instead
  --> /wrkdirs/usr/ports/audio/spotify-tui/work/spotify-tui-0.25.0/cargo-crates/mio-uds-0.6.8/src/socket.rs:99:13
   |
99 |             try!(cvt(libc::ioctl(a.fd, libc::FIONBIO, &mut nonblocking)));
   |             ^^^

warning: use of deprecated macro `try`: use the `?` operator instead
   --> /wrkdirs/usr/ports/audio/spotify-tui/work/spotify-tui-0.25.0/cargo-crates/mio-uds-0.6.8/src/socket.rs:100:13
    |
100 |             try!(cvt(libc::ioctl(b.fd, libc::FIONBIO, &mut nonblocking)));
    |             ^^^

warning: use of deprecated macro `try`: use the `?` operator instead
  --> /wrkdirs/usr/ports/audio/spotify-tui/work/spotify-tui-0.25.0/cargo-crates/mio-uds-0.6.8/src/stream.rs:52:31
   |
52 |             let (addr, len) = try!(sockaddr_un(path));
   |                               ^^^

warning: use of deprecated macro `try`: use the `?` operator instead
  --> /wrkdirs/usr/ports/audio/spotify-tui/work/spotify-tui-0.25.0/cargo-crates/mio-uds-0.6.8/src/stream.rs:53:26
   |
53 |             let socket = try!(Socket::new(libc::SOCK_STREAM));
   |                          ^^^

warning: use of deprecated macro `try`: use the `?` operator instead
  --> /wrkdirs/usr/ports/audio/spotify-tui/work/spotify-tui-0.25.0/cargo-crates/mio-uds-0.6.8/src/stream.rs:71:9
   |
71 |         try!(stream.set_nonblocking(true));
   |         ^^^

warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
   --> /wrkdirs/usr/ports/audio/spotify-tui/work/spotify-tui-0.25.0/cargo-crates/mio-uds-0.6.8/src/socket.rs:160:44
    |
160 |         let addr: libc::sockaddr_un = mem::uninitialized();
    |                                            ^^^^^^^^^^^^^

warning: the type `sockaddr_un` does not permit being left uninitialized
   --> /wrkdirs/usr/ports/audio/spotify-tui/work/spotify-tui-0.25.0/cargo-crates/mio-uds-0.6.8/src/socket.rs:160:39
    |
160 |         let addr: libc::sockaddr_un = 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
    = note: `#[warn(invalid_value)]` on by default

warning: `mio-uds` (lib) generated 26 warnings
     Running `/wrkdirs/usr/ports/audio/spotify-tui/work/target/release/build/openssl-sys-5668e73a64816702/build-script-main`
[openssl-sys 0.9.58] cargo:rustc-cfg=const_fn
[openssl-sys 0.9.58] cargo:rerun-if-env-changed=ARMV7_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR
[openssl-sys 0.9.58] ARMV7_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=ARMV7_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR
[openssl-sys 0.9.58] ARMV7_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("armv7-unknown-freebsd")
[openssl-sys 0.9.58] HOST = Some("armv7-unknown-freebsd")
[openssl-sys 0.9.58] CC_armv7-unknown-freebsd = None
[openssl-sys 0.9.58] CC_armv7_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_armv7-unknown-freebsd = None
[openssl-sys 0.9.58] CFLAGS_armv7_unknown_freebsd = None
[openssl-sys 0.9.58] HOST_CFLAGS = None
[openssl-sys 0.9.58] CFLAGS = Some("-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -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" "-O2" "-pipe" "-fstack-protector-strong" "-isystem" "/usr/local/include" "-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\" \"-O2\" \"-pipe\" \"-fstack-protector-strong\" \"-isystem\" \"/usr/local/include\" \"-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/audio/spotify-tui/work/spotify-tui-0.25.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] 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/audio/spotify-tui/work/target/release/build/openssl-sys-5668e73a64816702/build-script-main` (exit status: 101)
  --- stdout
  cargo:rustc-cfg=const_fn
  cargo:rerun-if-env-changed=ARMV7_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR
  ARMV7_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
  OPENSSL_LIB_DIR = /usr/lib
  cargo:rerun-if-env-changed=ARMV7_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR
  ARMV7_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("armv7-unknown-freebsd")
  HOST = Some("armv7-unknown-freebsd")
  CC_armv7-unknown-freebsd = None
  CC_armv7_unknown_freebsd = None
  HOST_CC = None
  CC = Some("cc")
  CFLAGS_armv7-unknown-freebsd = None
  CFLAGS_armv7_unknown_freebsd = None
  HOST_CFLAGS = None
  CFLAGS = Some("-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing ")
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = None
  running: "cc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-O2" "-pipe" "-fstack-protector-strong" "-isystem" "/usr/local/include" "-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\" \"-O2\" \"-pipe\" \"-fstack-protector-strong\" \"-isystem\" \"/usr/local/include\" \"-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/audio/spotify-tui/work/spotify-tui-0.25.0/cargo-crates/openssl-sys-0.9.58/build/main.rs:140:13
  stack backtrace:
  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/audio/spotify-tui