===> Building for py312-psycopg2-2.9.10nb1 * Building wheel... /opt/pkg/lib/python3.12/site-packages/setuptools/dist.py:761: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib.macosx-12.3-arm64-cpython-312/psycopg2 copying lib/__init__.py -> build/lib.macosx-12.3-arm64-cpython-312/psycopg2 copying lib/_ipaddress.py -> build/lib.macosx-12.3-arm64-cpython-312/psycopg2 copying lib/_json.py -> build/lib.macosx-12.3-arm64-cpython-312/psycopg2 copying lib/_range.py -> build/lib.macosx-12.3-arm64-cpython-312/psycopg2 copying lib/errorcodes.py -> build/lib.macosx-12.3-arm64-cpython-312/psycopg2 copying lib/errors.py -> build/lib.macosx-12.3-arm64-cpython-312/psycopg2 copying lib/extensions.py -> build/lib.macosx-12.3-arm64-cpython-312/psycopg2 copying lib/extras.py -> build/lib.macosx-12.3-arm64-cpython-312/psycopg2 copying lib/pool.py -> build/lib.macosx-12.3-arm64-cpython-312/psycopg2 copying lib/sql.py -> build/lib.macosx-12.3-arm64-cpython-312/psycopg2 copying lib/tz.py -> build/lib.macosx-12.3-arm64-cpython-312/psycopg2 running build_ext building 'psycopg2._psycopg' extension creating build/temp.macosx-12.3-arm64-cpython-312/psycopg clang -pipe -Os -I/opt/pkg/include/python3.12 -I/opt/pkg/include -I/opt/pkg/include/python3.12 -I/opt/pkg/include "-DPSYCOPG_VERSION=2.9.10 (dt dec pq3 ext lo64)" -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=160009 -DHAVE_LO64=1 -DPSYCOPG_DEBUG=1 -I/opt/pkg/include/python3.12 -I. -I/opt/pkg/include -I/opt/pkg/include/postgresql/server -I/opt/pkg/include -I/opt/pkg/include/gettext -I/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/ncurses -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c psycopg/adapter_asis.c -o build/temp.macosx-12.3-arm64-cpython-312/psycopg/adapter_asis.o 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: /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)) clang: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly! clang: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch It appears you are missing some prerequisite to build the package from source. You may install a binary package by installing 'psycopg2-binary' from PyPI. If you want to install psycopg2 from source, please install the packages required for the build and try again. For further information please check the 'doc/src/install.rst' file (also at ). error: command '/Users/pbulk/build/databases/py-psycopg2/work/.cwrapper/bin/clang' failed with exit code 71 ERROR Backend subprocess exited when trying to invoke build_wheel *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/py-psycopg2 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/py-psycopg2