Skip to content

[Java][CI] Java Jars failing on MacOS #38653

@danepitkin

Description

@danepitkin

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

According to crossbow,

First failure: https://github.com/ursacomputing/crossbow/actions/runs/6795651621/job/18475552909

Last successful commit: 25c18d8...e62ec62

We're seeing a lot of version mismatches in the logs.

aarch64 example:

In file included from /Users/voltrondata/github-actions-runner/_work/crossbow/crossbow/arrow/cpp-build/cpp/src/gandiva/CMakeFiles/gandiva-internals-test.dir/Unity/unity_2_cxx.cxx:22:
/Users/voltrondata/github-actions-runner/_work/crossbow/crossbow/arrow/cpp/src/gandiva/tests/test_util.cc:35:18: error: 'string' is unavailable: introduced in macOS 10.15
  return ir_file.string();
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__filesystem/path.h:852:39: note: 'string' has been explicitly marked unavailable here
  _LIBCPP_HIDE_FROM_ABI _VSTD::string string() const { return __pn_; }
                                      ^

x86_64 example:

In file included from /Users/runner/work/crossbow/crossbow/arrow/cpp-build/cpp/src/gandiva/CMakeFiles/gandiva-internals-test.dir/Unity/unity_2_cxx.cxx:22:
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/gandiva/tests/test_util.cc:35:18: error: 'string' is unavailable: introduced in macOS 10.15
return ir_file.string();
                  ^

/Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/filesystem:1266:43: note: 'string' has been explicitly marked unavailable here
   _LIBCPP_INLINE_VISIBILITY _VSTD::string string() const { return __pn_; }
                                           ^

Component(s)

Continuous Integration, Java

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions