Closed github-actions[bot] closed 1 month ago
Some unexpected failures last night. The good news is they don't look related to our software, but instead to the build environment.
The osx-64 build failed because otool
wasn't installed, which we use in the tests.
+ otool -L /Users/runner/miniforge3/conda-bld/tiledbsoma_1728525590605/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/R/library/tiledbsoma/libs/tiledbsoma.dylib
+ grep -e libR -e libtiledb
2024-10-10 02:23:07.759 xcodebuild[20975:93574] [MT] DVTSDK: Skipped SDK /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk; its version (11.0) is below required minimum (13.0) for the macosx platform.
2024-10-10 02:23:09.472 xcodebuild[20975:93574] Writing error result bundle to /var/folders/73/klh957sj02nd7k78vl8ckkcm0000gn/T/ResultBundle_2024-10-10_02-23-0009.xcresult
xcodebuild: error: SDK "/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk" cannot be located.
otool: error: sh -c '/Applications/Xcode_15.2.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -find otool 2> /dev/null' failed with exit code 16384: (null) (errno=No such file or directory)
xcode-select: Failed to locate 'otool', requesting installation of command line developer tools.
WARNING: Tests failed for r-tiledbsoma-1.14.2.dev20241009-r43h49128cc_1.conda - moving package to /Users/runner/miniforge3/conda-bld/broken
The osx-arm64 build failed to setup python for cross-compilation for Python 3.11, but strangely it had no problem cross-compiling for Python 3.10 just prior.
Setting up cross-python
WARNING: The cross-compiler ('arm64-apple-darwin20.0.0-clang') does not appear to be for the correct architecture (got arm64-apple-darwin20.0.0, expected aarch64-apple-darwin20.0.0). Use --cc to correct, if necessary.
dyld[20673]: Library not loaded: @rpath/libpopt.0.dylib
Referenced from: <75CF8C39-4C63-329F-BD49-83FF3448D1E5> /Users/runner/miniforge3/pkgs/rsync-3.3.0-h5aaac6a_0/bin/rsync
Reason: tried: '/Users/runner/miniforge3/pkgs/rsync-3.3.0-h5aaac6a_0/bin/../lib/libpopt.0.dylib' (no such file), '/Users/runner/miniforge3/pkgs/rsync-3.3.0-h5aaac6a_0/bin/../lib/libpopt.0.dylib' (no such file), '/usr/local/lib/libpopt.0.dylib' (no such file), '/usr/lib/libpopt.0.dylib' (no such file, not in dyld cache)
/Users/runner/miniforge3/conda-bld/tiledbsoma_1728525586177/_build_env/etc/conda/activate.d/activate_z-cross-python_osx-arm64.sh: line 112: 20673 Abort trap: 6 rsync -a --exclude="*.so" --exclude="*.dylib" -I $PREFIX/lib/python3.11/site-packages/ $BUILD_PREFIX/lib/python3.11/site-packages/
The osx-arm64 build passed on restart
The osx-64 build failed with the same missing otool
error. I am hoping this is a transient error that will be fixed. However, if it isn't, and we need to get a passing build quick, I think we should be able to fix it by installing cctools
in the test section for osx-64.
Nightly feedstock build failure for tiledbsoma-feedstock at https://dev.azure.com/TileDB-Inc/CI/_build?definitionId=43&_a=summary
Nightly feedstock build failure for tiledbsoma-feedstock at https://dev.azure.com/TileDB-Inc/CI/_build?definitionId=43&_a=summary
Nightly feedstock build failure for tiledbsoma-feedstock at https://dev.azure.com/TileDB-Inc/CI/_build?definitionId=43&_a=summary
Nightly feedstock build failure for tiledbsoma-feedstock at https://dev.azure.com/TileDB-Inc/CI/_build?definitionId=43&_a=summary
Nightly feedstock build failure for tiledbsoma-feedstock at https://dev.azure.com/TileDB-Inc/CI/_build?definitionId=43&_a=summary
I think I've discovered the source of the error. The migration from the image macOS-12 to macOS-13
The last passing osx-64 build (https://github.com/TileDB-Inc/tiledbsoma-feedstock/commit/b3fd6779ec797492691edfe69ddd00e787b31998) used macOS-12. The first failing osx-64 build (https://github.com/TileDB-Inc/tiledbsoma-feedstock/commit/ab4a5b06a95a2c08a5dfb6175c73eb2e857d8484) used macOS-13.
That being said, I have no idea why otool
is not available in the macOS-13 image. The macOS-12 image has installed Xcode Command Line Tools 14.2.0.0.1.1668646533, and the macOS-13 image has installed Xcode Command Line Tools 14.3.1.0.1.1683849156. Looking at the release notes for Xcode 14.3 and 14.3.1, I didn't see anything that would imply dropping otool
.
Currently I am trying my workaround idea of explicitly installing cctools for the test section in my fork (https://github.com/jdblischak/tiledbsoma-feedstock/commit/351bee218d82ba555685f5f3aa303864c1e975be).
Nightly feedstock build failure for tiledbsoma-feedstock at https://dev.azure.com/TileDB-Inc/CI/_build?definitionId=43&_a=summary