[package - 131releng-armv7-quarterly][emulators/reicast] Failed for reicast-0.20201231_1 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 22 Sep 2022 02:00:01 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:     beyert@cs.ucr.edu
Log URL:        http://ampere1.nyi.freebsd.org/data/131releng-armv7-quarterly/6dfbef93f6a5/logs/reicast-0.20201231_1.log
Build URL:      http://ampere1.nyi.freebsd.org/build.html?mastername=131releng-armv7-quarterly&build=6dfbef93f6a5
Log:

=>> Building emulators/reicast
build started at Thu Sep 22 01:59:29 UTC 2022
port directory: /usr/ports/emulators/reicast
package name: reicast-0.20201231_1
building for: FreeBSD 131releng-armv7-quarterly-job-04 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 1301000 arm
maintained by: beyert@cs.ucr.edu
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1301000
Job Id: 04

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE-p2 1301000
UNAME_r=13.1-RELEASE-p2
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-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/131releng-armv7-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/131releng-armv7-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131releng-armv7-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131releng-armv7-quarterly/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--
beyert@cs.ucr.edu
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/reicast/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/reicast/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/reicast/work/.cache  HOME=/wrkdirs/usr/ports/emulators/reicast/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/reicast/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/reicast/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/reicast/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/reicast/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/reicast/work/.cache  HOME=/wrkdirs/usr/ports/emulators/reicast/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/reicast/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/reicast/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" DESTDIR=/wrkdirs/usr/ports
 /emulators/reicast/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc11" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -fno-strict-aliasing "  CPP="cpp11" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -L/usr/local/lib/gcc11 " LIBS=""  CXX="g++11" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11  -Wl,-rpath=/usr/local/lib/gcc11 "  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=13.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/reicast"  EXAMPLESDIR="share/examples/reicast"  DATADIR="share/reicast"  WWWDIR="www/reicast"  ETCDIR="etc/reicast"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/reicast DOCSDIR=/usr/local/share/doc/reicast EXAMPLESDIR=/usr/local/share/examples/reicast  WWWDIR=/usr/local/www/reicast ETCDIR=/usr/local/etc/reicast
--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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: armv7-unknown-freebsd13.1-gnueabihf Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: armv7-unknown-freebsd13.1-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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: armv7-unknown-freebsd13.1-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE-p2
OSREL=13.1
OSVERSION=1301000
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 BSD3CLAUSE GPLv2 LGPL21 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   reicast-0.20201231_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.3.pkg
[131releng-armv7-quarterly-job-04] Installing pkg-1.18.3...
[131releng-armv7-quarterly-job-04] Extracting pkg-1.18.3: .......... done
===>   reicast-0.20201231_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of reicast-0.20201231_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE GPLv2 LGPL21 accepted by the user
===> Fetching all distfiles required by reicast-0.20201231_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE GPLv2 LGPL21 accepted by the user
===> Fetching all distfiles required by reicast-0.20201231_1 for building
=> SHA256 Checksum OK for reicast-reicast-emulator-0.20201231-0bd6ea3_GH0.tar.gz.
=> SHA256 Checksum OK for yuikns-intrin-ae63327_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE GPLv2 LGPL21 accepted by the user
===> Fetching all distfiles required by reicast-0.20201231_1 for building
===>  Extracting for reicast-0.20201231_1
=> SHA256 Checksum OK for reicast-reicast-emulator-0.20201231-0bd6ea3_GH0.tar.gz.
=> SHA256 Checksum OK for yuikns-intrin-ae63327_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for reicast-0.20201231_1
===>  Applying FreeBSD patches for reicast-0.20201231_1 from /usr/ports/emulators/reicast/files
===========================================================================
=======================<phase: build-depends  >============================
===>   reicast-0.20201231_1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.23.2.pkg
[131releng-armv7-quarterly-job-04] Installing cmake-3.23.2...
[131releng-armv7-quarterly-job-04] `-- Installing curl-7.85.0...
[131releng-armv7-quarterly-job-04] |   `-- Installing ca_root_nss-3.78...
[131releng-armv7-quarterly-job-04] |   `-- Extracting ca_root_nss-3.78: .......... done
[131releng-armv7-quarterly-job-04] |   `-- Installing libnghttp2-1.48.0...
[131releng-armv7-quarterly-job-04] |   `-- Extracting libnghttp2-1.48.0: .......... done
[131releng-armv7-quarterly-job-04] |   `-- Installing libpsl-0.21.1_4...
[131releng-armv7-quarterly-job-04] |   | `-- Installing gettext-runtime-0.21...
[131releng-armv7-quarterly-job-04] |   |   `-- Installing indexinfo-0.3.1...
[131releng-armv7-quarterly-job-04] |   |   `-- Extracting indexinfo-0.3.1: .... done
[131releng-armv7-quarterly-job-04] |   | `-- Extracting gettext-runtime-0.21: .......... done
[131releng-armv7-quarterly-job-04] |   | `-- Installing libidn2-2.3.2...
[131releng-armv7-quarterly-job-04] |   |   `-- Installing libunistring-1.0...
[131releng-armv7-quarterly-job-04] |   |   `-- Extracting libunistring-1.0: .......... done
[131releng-armv7-quarterly-job-04] |   | `-- Extracting libidn2-2.3.2: .......... done
<snip>
[131releng-armv7-quarterly-job-04] |   `-- Extracting polkit-0.120_2: ......... done
[131releng-armv7-quarterly-job-04] `-- Extracting consolekit2-1.2.4_3: ......... done
[131releng-armv7-quarterly-job-04] `-- Installing fftw3-3.3.10_2...
[131releng-armv7-quarterly-job-04] `-- Extracting fftw3-3.3.10_2: .......... done
[131releng-armv7-quarterly-job-04] `-- Installing fftw3-float-3.3.10_2...
[131releng-armv7-quarterly-job-04] `-- Extracting fftw3-float-3.3.10_2: .......... done
[131releng-armv7-quarterly-job-04] `-- Installing libXtst-1.2.3_2...
[131releng-armv7-quarterly-job-04] |   `-- Installing libXi-1.8,1...
[131releng-armv7-quarterly-job-04] |   | `-- Installing libXfixes-6.0.0...
[131releng-armv7-quarterly-job-04] |   | `-- Extracting libXfixes-6.0.0: .......... done
[131releng-armv7-quarterly-job-04] |   `-- Extracting libXi-1.8,1: .......... done
[131releng-armv7-quarterly-job-04] `-- Extracting libXtst-1.2.3_2: .......... done
[131releng-armv7-quarterly-job-04] `-- Installing libltdl-2.4.7...
[131releng-armv7-quarterly-job-04] `-- Extracting libltdl-2.4.7: .......... done
[131releng-armv7-quarterly-job-04] `-- Installing libsndfile-1.0.31_1...
[131releng-armv7-quarterly-job-04] |   `-- Installing flac-1.3.4...
[131releng-armv7-quarterly-job-04] |   | `-- Installing libogg-1.3.5,4...
[131releng-armv7-quarterly-job-04] |   | `-- Extracting libogg-1.3.5,4: .......... done
[131releng-armv7-quarterly-job-04] |   `-- Extracting flac-1.3.4: .......... done
[131releng-armv7-quarterly-job-04] |   `-- Installing libvorbis-1.3.7_2,3...
[131releng-armv7-quarterly-job-04] |   `-- Extracting libvorbis-1.3.7_2,3: .......... done
[131releng-armv7-quarterly-job-04] |   `-- Installing opus-1.3.1...
[131releng-armv7-quarterly-job-04] |   `-- Extracting opus-1.3.1: .......... done
[131releng-armv7-quarterly-job-04] `-- Extracting libsndfile-1.0.31_1: .......... done
[131releng-armv7-quarterly-job-04] `-- Installing libsoxr-0.1.3_3...
[131releng-armv7-quarterly-job-04] `-- Extracting libsoxr-0.1.3_3: .......... done
[131releng-armv7-quarterly-job-04] `-- Installing orc-0.4.31...
[131releng-armv7-quarterly-job-04] `-- Extracting orc-0.4.31: .......... done
[131releng-armv7-quarterly-job-04] `-- Installing speexdsp-1.2.1...
[131releng-armv7-quarterly-job-04] `-- Extracting speexdsp-1.2.1: .......... done
[131releng-armv7-quarterly-job-04] `-- Installing webrtc-audio-processing0-0.3.1_2...
[131releng-armv7-quarterly-job-04] `-- Extracting webrtc-audio-processing0-0.3.1_2: .......... done
===> Creating groups.
Creating group 'pulse' with gid '563'.
Creating group 'pulse-access' with gid '564'.
Creating group 'pulse-rt' with gid '557'.
===> Creating users
Creating user 'pulse' with uid '563'.
[131releng-armv7-quarterly-job-04] Extracting pulseaudio-14.2_4: .......... done
Generating GIO modules cache
Compiling glib schemas
No schema files found: doing nothing.
=====
Message from pulseaudio-14.2_4:

--
Pulseaudio tries to determine default values for FreeBSD OSS driver at first
start, based on /dev/sndstat output. The hw.snd.default_unit sysctl may affect
these values, but restart of the Pulseaudio might be needed to rescan it again,
e.g. `pacmd exit`.

Pulseaudio has separate input and output configure lines. You can change them
with using following commands:

To change the default sink (output):
# pacmd set-default-sink 3
To change the default source (input):
# pacmd set-default-source 3

This can also be set in /usr/local/etc/pulse/default.pa

Replace the number '3' with the new default you want to set.

The audio/freedesktop-sound-theme is needed if the default sound files
are uncommented in the /usr/local/etc/pulse/default.pa file.
===>   reicast-0.20201231_1 depends on shared library: libpulse.so - found (/usr/local/lib/libpulse.so)
===>   Returning to build of reicast-0.20201231_1
===>   reicast-0.20201231_1 depends on shared library: libudev.so - found (/usr/local/lib/libudev.so)
===>   reicast-0.20201231_1 depends on shared library: libEGL.so - not found
===>   Installing existing package /packages/All/libglvnd-1.4.0_2.pkg
[131releng-armv7-quarterly-job-04] Installing libglvnd-1.4.0_2...
[131releng-armv7-quarterly-job-04] Extracting libglvnd-1.4.0_2: .......... done
===>   reicast-0.20201231_1 depends on shared library: libEGL.so - found (/usr/local/lib/libEGL.so)
===>   Returning to build of reicast-0.20201231_1
===>   reicast-0.20201231_1 depends on shared library: libgbm.so - not found
===>   Installing existing package /packages/All/mesa-libs-21.3.8.pkg
[131releng-armv7-quarterly-job-04] Installing mesa-libs-21.3.8...
[131releng-armv7-quarterly-job-04] `-- Installing libXdamage-1.1.5...
[131releng-armv7-quarterly-job-04] `-- Extracting libXdamage-1.1.5: ......... done
[131releng-armv7-quarterly-job-04] `-- Installing libXrandr-1.5.2...
[131releng-armv7-quarterly-job-04] |   `-- Installing libXrender-0.9.10_2...
[131releng-armv7-quarterly-job-04] |   `-- Extracting libXrender-0.9.10_2: .......... done
[131releng-armv7-quarterly-job-04] `-- Extracting libXrandr-1.5.2: .......... done
[131releng-armv7-quarterly-job-04] `-- Installing libXxf86vm-1.1.4_3...
[131releng-armv7-quarterly-job-04] `-- Extracting libXxf86vm-1.1.4_3: .......... done
[131releng-armv7-quarterly-job-04] `-- Installing libunwind-20211201_1...
[131releng-armv7-quarterly-job-04] `-- Extracting libunwind-20211201_1: .......... done
[131releng-armv7-quarterly-job-04] `-- Installing libxshmfence-1.3_1...
[131releng-armv7-quarterly-job-04] `-- Extracting libxshmfence-1.3_1: ......... done
[131releng-armv7-quarterly-job-04] `-- Installing wayland-1.21.0...
[131releng-armv7-quarterly-job-04] |   `-- Installing libepoll-shim-0.0.20210418...
[131releng-armv7-quarterly-job-04] |   `-- Extracting libepoll-shim-0.0.20210418: .......... done
[131releng-armv7-quarterly-job-04] `-- Extracting wayland-1.21.0: .......... done
[131releng-armv7-quarterly-job-04] Extracting mesa-libs-21.3.8: .......... done
=====
Message from wayland-1.21.0:

--
Wayland requires XDG_RUNTIME_DIR to be defined to a path that will
contain "wayland-%d" unix(4) sockets. This is usually handled by
consolekit2 (via ck-launch-session) or pam_xdg (via login).
===>   reicast-0.20201231_1 depends on shared library: libgbm.so - found (/usr/local/lib/libgbm.so)
===>   Returning to build of reicast-0.20201231_1
===>   reicast-0.20201231_1 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for reicast-0.20201231_1
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/emulators/reicast/work/.build
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/bin/gcc11 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/g++11 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The ASM compiler identification is GNU
-- Found assembler: /usr/local/bin/gcc11
-- The ASM_MASM compiler identification is unknown
-- Found assembler: ml
SH4 Dynarec Features Available
ARM7 Dynarec Features Missing
DSP Dynarec Features Missing
-- Found CURL: /usr/local/lib/libcurl.so (found version "7.85.0")  
-- Found ALSA: /usr/local/lib/libasound.so (found version "1.2.2") 
CMake Warning (dev) at /usr/local/share/cmake/Modules/FindOpenGL.cmake:315 (message):
  Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
  available.  Run "cmake --help-policy CMP0072" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  FindOpenGL found both a legacy GL library:

    OPENGL_gl_LIBRARY: /usr/local/lib/libGL.so

  and GLVND libraries for OpenGL and GLX:

    OPENGL_opengl_LIBRARY: /usr/local/lib/libGL.so
    OPENGL_glx_LIBRARY: /usr/local/lib/libGLX.so

  OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
  compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
  CMakeLists.txt:335 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenGL: /usr/local/lib/libGL.so   
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Found Threads: TRUE  
-- Found X11: /usr/local/include   
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
 ------------------------------------------------
 - HOST_OS: 0x10000006 - HOST_CPU: 0x20000002   
 - host_os: freebsd - host_arch: arm 
 ------------------------------------------------
  C  Flags:   -msse4.1 
 CXX Flags:   -fno-operator-names -fpermissive  -msse4.1 
 LINK_DIRS: 
LINK_FLAGS:  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -L/usr/local/lib/gcc11
 ------------------------------------------------

-- Configuring done
CMake Error at CMakeLists.txt:304 (add_executable):
  Cannot find source file:

    /wrkdirs/usr/ports/emulators/reicast/work/reicast-emulator-0bd6ea3/libswirl/rec-ARM/ngen_arm.S

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc


CMake Error at CMakeLists.txt:304 (add_executable):
  No SOURCES given to target: reicast


CMake Generate step failed.  Build files cannot be regenerated correctly.
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/reicast