===> Building for ocaml-batteries-3.5.1 ocamlfind: [WARNING] Cannot read directory /opt/pkg/lib/ocaml/site-lib/stublibs which is mentioned in ld.conf ocamlfind: Package `qcheck' not found Build mode: native ocamlbuild -no-links -use-ocamlfind src/batteries.cma toplevel/batteriesHelp.cmo src/batteriesThread.cma META src/batteries.cmxa src/batteriesThread.cmxa + ocamlfind ocamlc -config ocamlfind: [WARNING] Cannot read directory /opt/pkg/lib/ocaml/site-lib/stublibs which is mentioned in ld.conf + ocamlfind ocamlopt unix.cmxa -I /opt/pkg/lib/ocaml/site-lib/ocamlbuild /opt/pkg/lib/ocaml/site-lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /opt/pkg/lib/ocaml/site-lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild + ocamlfind ocamlopt unix.cmxa -I /opt/pkg/lib/ocaml/site-lib/ocamlbuild /opt/pkg/lib/ocaml/site-lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /opt/pkg/lib/ocaml/site-lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild ocamlfind: [WARNING] Cannot read directory /opt/pkg/lib/ocaml/site-lib/stublibs which is mentioned in ld.conf 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 File "myocamlbuild.ml", line 1: Error: Assembler error, input left in file /tmp/camlasm6e4b45.s Command exited with code 2. gmake: *** [Makefile:107: all] Error 10 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/ocaml-batteries *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/ocaml-batteries