Error loading required libraries. If there is an ongoing installation please wait for it to complete. Otherwise reinstall. (dlopen(@rpath/libxcodebuildLoader.dylib, 0x0001): Library not loaded: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
  Referenced from: <A3240D6D-3992-3DF1-A931-A4A52949CF7B> /System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/SharedFrameworks/DVTPortal.framework/Versions/A/DVTPortal
  Reason: tried: '/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file), '/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file, not in dyld cache), '/Library/Frameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file), '/System/Library/Frameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file, not in dyld cache))
flex: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly!
flex: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch
=> Checksum BLAKE2s OK for glusterfs-8.2.tar.gz
=> Checksum SHA512 OK for glusterfs-8.2.tar.gz
===> Installing dependencies for glusterfs-8.2nb21
==========================================================================
The following variables will affect the build process of this package,
glusterfs-8.2nb21.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 312
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/pkg/etc/openssl/certs
        * SSLDIR = /opt/pkg/etc/openssl
        * SSLKEYS = /opt/pkg/etc/openssl/private
        * VARBASE = /var

Based on these variables, the following variables have been set:

        * PYPACKAGE = python311

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency flex>=2.5.4a: NOT found
=> Verifying /nonexistent for ../../devel/flex
bmake[1]: don't know how to make /nonexistent. Stop

bmake[1]: stopped making "/nonexistent" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/flex
*** Error code 2

Stop.
bmake: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/filesystems/glusterfs8