[package - 123amd64-default][devel/fbthrift] Failed for fbthrift-2022.08.22.00 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 27 Aug 2022 08:22:45 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:        http://beefy6.nyi.freebsd.org/data/123amd64-default/cab8004b0ee0/logs/fbthrift-2022.08.22.00.log
Build URL:      http://beefy6.nyi.freebsd.org/build.html?mastername=123amd64-default&build=cab8004b0ee0
Log:

=>> Building devel/fbthrift
build started at Sat Aug 27 08:21:16 UTC 2022
port directory: /usr/ports/devel/fbthrift
package name: fbthrift-2022.08.22.00
building for: FreeBSD 123amd64-default-job-05 12.3-RELEASE-p6 FreeBSD 12.3-RELEASE-p6 amd64
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1203000
Job Id: 05

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p6
UNAME_r=12.3-RELEASE-p6
BLOCKSIZE=K
MAIL=/var/mail/root
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-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/123amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/123amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/123amd64-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--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/fbthrift/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/fbthrift/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/fbthrift/work/.cache  HOME=/wrkdirs/usr/ports/devel/fbthrift/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/fbthrift/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/fbthrift/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--
NINJA_STATUS="[%p %s/%t] " OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/devel/fbthrift/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/fbthrift/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/fbthrift/work/.cache  HOME=/wrkdirs/usr/ports/devel/fbthrift/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/fbthrift/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/fbthrift/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/devel/fbthrift/work/stage 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  
 -fPIC "  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--
CMAKE_BUILD_TYPE="release" OSREL=12.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/fbthrift"  EXAMPLESDIR="share/examples/fbthrift"  DATADIR="share/fbthrift"  WWWDIR="www/fbthrift"  ETCDIR="etc/fbthrift"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/fbthrift DOCSDIR=/usr/local/share/doc/fbthrift EXAMPLESDIR=/usr/local/share/examples/fbthrift  WWWDIR=/usr/local/www/fbthrift ETCDIR=/usr/local/etc/fbthrift
--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 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p6
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   fbthrift-2022.08.22.00 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[123amd64-default-job-05] Installing pkg-1.18.4...
[123amd64-default-job-05] Extracting pkg-1.18.4: .......... done
===>   fbthrift-2022.08.22.00 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of fbthrift-2022.08.22.00
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
=> facebook-fbthrift-v2022.08.22.00_GH0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://codeload.github.com/facebook/fbthrift/tar.gz/v2022.08.22.00?dummy=/facebook-fbthrift-v2022.08.22.00_GH0.tar.gz
fetch: https://codeload.github.com/facebook/fbthrift/tar.gz/v2022.08.22.00?dummy=/facebook-fbthrift-v2022.08.22.00_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/facebook/fbthrift/tar.gz/v2022.08.22.00?dummy=/facebook-fbthrift-v2022.08.22.00_GH0.tar.gz: size of remote file is not known
facebook-fbthrift-v2022.08.22.00_GH0.tar.gz           8457 kB 5183 kBps    01s
===> Fetching all distfiles required by fbthrift-2022.08.22.00 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by fbthrift-2022.08.22.00 for building
=> SHA256 Checksum OK for facebook-fbthrift-v2022.08.22.00_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by fbthrift-2022.08.22.00 for building
===>  Extracting for fbthrift-2022.08.22.00
=> SHA256 Checksum OK for facebook-fbthrift-v2022.08.22.00_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for fbthrift-2022.08.22.00
===========================================================================
=======================<phase: build-depends  >============================
===>   fbthrift-2022.08.22.00 depends on package: range-v3>0 - not found
===>   Installing existing package /packages/All/range-v3-0.11.0_1.pkg
[123amd64-default-job-05] Installing range-v3-0.11.0_1...
[123amd64-default-job-05] Extracting range-v3-0.11.0_1: .......... done
===>   fbthrift-2022.08.22.00 depends on package: range-v3>0 - found
===>   Returning to build of fbthrift-2022.08.22.00
===>   fbthrift-2022.08.22.00 depends on executable: bison - not found
===>   Installing existing package /packages/All/bison-3.8.2,1.pkg
[123amd64-default-job-05] Installing bison-3.8.2,1...
[123amd64-default-job-05] `-- Installing gettext-runtime-0.21...
[123amd64-default-job-05] |   `-- Installing indexinfo-0.3.1...
[123amd64-default-job-05] |   `-- Extracting indexinfo-0.3.1: .... done
[123amd64-default-job-05] `-- Extracting gettext-runtime-0.21: .......... done
[123amd64-default-job-05] `-- Installing libtextstyle-0.21...
[123amd64-default-job-05] `-- Extracting libtextstyle-0.21: .......... done
<snip>
-- Found Threads: TRUE  
-- Found Boost: /usr/local/include (found suitable version "1.80.0", minimum required is "1.51.0") found components: context filesystem program_options regex system thread chrono atomic 
-- Found folly: /usr/local
-- Found Sodium: /usr/local/lib/libsodium.so  
CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindBoost.cmake:1513 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/local/share/cmake/Modules/FindBoost.cmake:2124 (_Boost_MISSING_DEPENDENCIES)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/folly/folly-config.cmake:58 (find_dependency)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/fizz/fizz-config.cmake:54 (find_dependency)
  CMakeLists.txt:100 (find_package)


CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindBoost.cmake:1513 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/local/share/cmake/Modules/FindBoost.cmake:2124 (_Boost_MISSING_DEPENDENCIES)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/folly/folly-config.cmake:58 (find_dependency)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/fizz/fizz-config.cmake:54 (find_dependency)
  CMakeLists.txt:100 (find_package)


CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindBoost.cmake:1513 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/local/share/cmake/Modules/FindBoost.cmake:2124 (_Boost_MISSING_DEPENDENCIES)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/folly/folly-config.cmake:58 (find_dependency)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/fizz/fizz-config.cmake:54 (find_dependency)
  CMakeLists.txt:100 (find_package)


CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindBoost.cmake:1513 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/local/share/cmake/Modules/FindBoost.cmake:2124 (_Boost_MISSING_DEPENDENCIES)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/folly/folly-config.cmake:58 (find_dependency)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/fizz/fizz-config.cmake:54 (find_dependency)
  CMakeLists.txt:100 (find_package)


CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindBoost.cmake:1513 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/local/share/cmake/Modules/FindBoost.cmake:2124 (_Boost_MISSING_DEPENDENCIES)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/folly/folly-config.cmake:58 (find_dependency)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/fizz/fizz-config.cmake:54 (find_dependency)
  CMakeLists.txt:100 (find_package)


CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindBoost.cmake:1513 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/local/share/cmake/Modules/FindBoost.cmake:2124 (_Boost_MISSING_DEPENDENCIES)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/folly/folly-config.cmake:58 (find_dependency)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/fizz/fizz-config.cmake:54 (find_dependency)
  CMakeLists.txt:100 (find_package)


CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindBoost.cmake:1513 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/local/share/cmake/Modules/FindBoost.cmake:2124 (_Boost_MISSING_DEPENDENCIES)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/folly/folly-config.cmake:58 (find_dependency)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/fizz/fizz-config.cmake:54 (find_dependency)
  CMakeLists.txt:100 (find_package)


CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindBoost.cmake:1513 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/local/share/cmake/Modules/FindBoost.cmake:2124 (_Boost_MISSING_DEPENDENCIES)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/folly/folly-config.cmake:58 (find_dependency)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/local/lib/cmake/fizz/fizz-config.cmake:54 (find_dependency)
  CMakeLists.txt:100 (find_package)


-- Found folly: /usr/local
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Found fizz: /usr/local
-- Found wangle: /usr/local
-- Found Zstd: /usr/local/lib/libzstd.so  
-- ZSTD: /usr/local/include
CMake Warning at CMakeLists.txt:121 (find_package):
  By not providing "Findpython-six.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "python-six", but CMake did not find one.

  Could not find a package configuration file provided by "python-six" with
  any of the following names:

    python-sixConfig.cmake
    python-six-config.cmake

  Add the installation prefix of "python-six" to CMAKE_PREFIX_PATH or set
  "python-six_DIR" to a directory containing one of the above files.  If
  "python-six" provides a separate development package or SDK, be sure it has
  been installed.


-- Python dependencies not found, will not build thrift/lib/py
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_C_COMPILER
    CMAKE_C_FLAGS
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE


-- Build files have been written to: /wrkdirs/usr/ports/devel/fbthrift/work/.build
===========================================================================
=======================<phase: build          >============================
===>  Building for fbthrift-2022.08.22.00
[  0% 1/2] /usr/local/bin/cmake -P /wrkdirs/usr/ports/devel/fbthrift/work/.build/CMakeFiles/VerifyGlobs.cmake
[  0% 1/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_base_type.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_base_type.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_base_type.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/t_base_type.cc
[  0% 2/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_const.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_const.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_const.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/t_const.cc
[  0% 3/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_enum.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_enum.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_enum.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/t_enum.cc
[  1% 4/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_function.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_function.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_function.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/t_function.cc
[  1% 5/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_interface.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_interface.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_interface.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/t_interface.cc
[  1% 6/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_named.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_named.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_named.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/t_named.cc
[  2% 7/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_node.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_node.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_node.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/t_node.cc
[  2% 8/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_package.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_package.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_package.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/t_package.cc
[  2% 9/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_paramlist.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_paramlist.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_paramlist.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/t_paramlist.cc
[  2% 10/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_program.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_program.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_program.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/t_program.cc
[  3% 11/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_scope.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_scope.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_scope.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/t_scope.cc
[  3% 12/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_structured.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_structured.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_structured.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/t_structured.cc
[  3% 13/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_type.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_type.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_type.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/t_type.cc
[  4% 14/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_typedef.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_typedef.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_typedef.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/t_typedef.cc
[  4% 15/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_ast_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_ast.dir/ast/visitor.cc.o -MF thrift/compiler/CMakeFiles/compiler_ast.dir/ast/visitor.cc.o.d -o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/visitor.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/ast/visitor.cc
[  4% 16/344] : && /usr/bin/c++ -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC  -fstack-protector-strong -shared -Wl,-soname,libcompiler_ast.so.1.0.0 -o lib/libcompiler_ast.so.1.0.0 thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_base_type.cc.o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_const.cc.o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_enum.cc.o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_function.cc.o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_interface.cc.o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_named.cc.o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_node.cc.o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_package.cc.o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_paramlist.cc.o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_program.cc.o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_scope.cc.o thrift/compiler/CMakeFiles/compiler_ast.dir
 /ast/t_structured.cc.o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_type.cc.o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/t_typedef.cc.o thrift/compiler/CMakeFiles/compiler_ast.dir/ast/visitor.cc.o  -Wl,-rpath,/usr/local/lib:  -lssl  -lcrypto  /usr/local/lib/libfmt.so.8.1.1  -Wl,--as-needed && :
[  4% 17/344] /usr/local/bin/cmake -E cmake_symlink_library lib/libcompiler_ast.so.1.0.0 lib/libcompiler_ast.so.1.0.0 lib/libcompiler_ast.so && :
[  5% 18/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFTY_HH=\"/wrkdirs/usr/ports/devel/fbthrift/work/.build/thrift/compiler/thrifty.hh\" -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_base_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_base.dir/detail/system.cc.o -MF thrift/compiler/CMakeFiles/compiler_base.dir/detail/system.cc.o.d -o thrift/compiler/CMakeFiles/compiler_base.dir/detail/system.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/detail/system.cc
[  5% 19/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFTY_HH=\"/wrkdirs/usr/ports/devel/fbthrift/work/.build/thrift/compiler/thrifty.hh\" -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_base_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_base.dir/diagnostic.cc.o -MF thrift/compiler/CMakeFiles/compiler_base.dir/diagnostic.cc.o.d -o thrift/compiler/CMakeFiles/compiler_base.dir/diagnostic.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/diagnostic.cc
[  5% 20/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFTY_HH=\"/wrkdirs/usr/ports/devel/fbthrift/work/.build/thrift/compiler/thrifty.hh\" -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_base_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_base.dir/source_location.cc.o -MF thrift/compiler/CMakeFiles/compiler_base.dir/source_location.cc.o.d -o thrift/compiler/CMakeFiles/compiler_base.dir/source_location.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/source_location.cc
[  6% 21/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFTY_HH=\"/wrkdirs/usr/ports/devel/fbthrift/work/.build/thrift/compiler/thrifty.hh\" -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_base_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_base.dir/lib/schematizer.cc.o -MF thrift/compiler/CMakeFiles/compiler_base.dir/lib/schematizer.cc.o.d -o thrift/compiler/CMakeFiles/compiler_base.dir/lib/schematizer.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/lib/schematizer.cc
[  6% 22/344] /usr/bin/c++ -DFMT_SHARED -DTHRIFTY_HH=\"/wrkdirs/usr/ports/devel/fbthrift/work/.build/thrift/compiler/thrifty.hh\" -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_base_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_base.dir/parse/lexer.cc.o -MF thrift/compiler/CMakeFiles/compiler_base.dir/parse/lexer.cc.o.d -o thrift/compiler/CMakeFiles/compiler_base.dir/parse/lexer.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/parse/lexer.cc
FAILED: thrift/compiler/CMakeFiles/compiler_base.dir/parse/lexer.cc.o 
/usr/bin/c++ -DFMT_SHARED -DTHRIFTY_HH=\"/wrkdirs/usr/ports/devel/fbthrift/work/.build/thrift/compiler/thrifty.hh\" -DTHRIFT_HAVE_LIBSNAPPY=0 -Dcompiler_base_EXPORTS -I/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/. -I/wrkdirs/usr/ports/devel/fbthrift/work/.build -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -fPIC -fPIC -std=c++17 -MD -MT thrift/compiler/CMakeFiles/compiler_base.dir/parse/lexer.cc.o -MF thrift/compiler/CMakeFiles/compiler_base.dir/parse/lexer.cc.o.d -o thrift/compiler/CMakeFiles/compiler_base.dir/parse/lexer.cc.o -c /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/parse/lexer.cc
/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/parse/lexer.cc:153:3: error: use of undeclared identifier 'errno'
  errno = 0;
  ^
/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/parse/lexer.cc:156:10: error: use of undeclared identifier 'errno'
  return errno != ERANGE
         ^
/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/parse/lexer.cc:156:19: error: use of undeclared identifier 'ERANGE'
  return errno != ERANGE
                  ^
/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/parse/lexer.cc:163:3: error: use of undeclared identifier 'errno'
  errno = 0;
  ^
/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/parse/lexer.cc:165:7: error: use of undeclared identifier 'errno'
  if (errno == ERANGE) {
      ^
/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.22.00/thrift/compiler/parse/lexer.cc:165:16: error: use of undeclared identifier 'ERANGE'
  if (errno == ERANGE) {
               ^
6 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/fbthrift