New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI][Packaging][Java] java-jars job fail on macOS aarch_64 #37201
Comments
It seems the error is here:
|
I am investigating with @amaldonadomat it might be related to an update on the M1 OS |
@kou @lidavidm any idea of what might be going on here?
but on the release notes there doesn't seem to be nothing relevant around the issue above: |
CXX_LINKER_SUPPORTS_VERSION_SCRIPT
check on macOS aarch_64
It does seem to be related to the last two commits on |
it does seem the fix is not included on a new CMake release |
There doesn't seem to be any alias for prior CMake versions on Homebrew that we could reuse. |
Hmm, would vendoring FindJNI.cmake possibly work? |
I am asking if they have a timeline for 3.27.3 on the fix: https://gitlab.kitware.com/cmake/cmake/-/issues/25181 |
This is on our self-hosted runner right? I think the easiest fix would be to manually install an older cmake version without the bug and remove the brew cmake after the bundle installation: https://github.com/ursacomputing/crossbow/actions/runs/5877563237/workflow#L197 |
Duplicated of #37159. |
How about adding diff --git a/ci/scripts/java_jni_macos_build.sh b/ci/scripts/java_jni_macos_build.sh
index d66c39a37..647a7dad8 100755
--- a/ci/scripts/java_jni_macos_build.sh
+++ b/ci/scripts/java_jni_macos_build.sh
@@ -90,6 +90,7 @@ cmake \
-DPARQUET_BUILD_EXECUTABLES=OFF \
-DPARQUET_REQUIRE_ENCRYPTION=OFF \
-Dre2_SOURCE=BUNDLED \
+ -DXCODE_VERSION= \
-GNinja \
${arrow_dir}/cpp
cmake --build . --target install |
https://gitlab.kitware.com/cmake/cmake/-/issues/25181#note_1401407
We may not need a workaround. |
Describe the bug, including details regarding any error messages, version, and platform.
The java-jars job is currently failing on Build C++ libraries macOS aarch_64
This error is also happening on the maintenance branch for 13.0.0:
#36616 (comment)
https://github.com/ursacomputing/crossbow/actions/runs/5877563237/job/15937924010
The error is the following:
There's a bunch of Warnings but I am pretty sure they are not related:
Component(s)
Continuous Integration, Java, Packaging
The text was updated successfully, but these errors were encountered: