Skip to content
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] Mac aarch64 C++ libraries fail to build #37159

Closed
danepitkin opened this issue Aug 14, 2023 · 3 comments
Closed

[CI][Packaging][Java] Mac aarch64 C++ libraries fail to build #37159

danepitkin opened this issue Aug 14, 2023 · 3 comments

Comments

@danepitkin
Copy link
Contributor

danepitkin commented Aug 14, 2023

Describe the bug, including details regarding any error messages, version, and platform.

Error trying to build java-jars from main:

-- Found Java: /opt/homebrew/opt/openjdk@11/libexec/openjdk.jdk/Contents/Home/bin/java (found version "11.0.20") 
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CMake Error at /opt/homebrew/Cellar/cmake/3.27.2/share/cmake/Modules/FindJNI.cmake:394 (string):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
Call Stack (most recent call first):
  CMakeLists.txt:61 (find_package)

Example CI job triggered here: #37158
Crossbow job results here: https://github.com/ursacomputing/crossbow/actions/runs/5859024890/job/15884200629

Component(s)

Java

@danepitkin danepitkin changed the title [CI][Packaging][Java] Mac aarch64 Java jar fails to build [CI][Packaging][Java] Mac aarch64 C++ libraries fail to build Aug 14, 2023
@kou
Copy link
Member

kou commented Aug 15, 2023

@danepitkin
Copy link
Contributor Author

Great find! That was fixed quickly 😄

@raulcd
Copy link
Member

raulcd commented Aug 17, 2023

Homebrew has published the new version: Homebrew/homebrew-core#139719
And the job works now: https://github.com/ursacomputing/crossbow/actions/runs/5887300865/job/15966467300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants