Skip to content

[CI][Release] Release verification jobs for macOS AMD64 fail to build GMock #46609

Closed
@raulcd

Description

@raulcd

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

The verify-rc-source-cpp-macos-amd64 and verify-rc-source-integration-macos-amd64 are failing when building gmock:

[ 22%] Building CXX object _deps/googletest-build/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
In file included from /var/folders/q7/x09_16xd767gr8lwc56pjb_m0000gn/T/arrow-HEAD.XXXXX.enIdQGfD/cpp-build/_deps/googletest-src/googlemock/src/gmock-all.cc:39:
In file included from /var/folders/q7/x09_16xd767gr8lwc56pjb_m0000gn/T/arrow-HEAD.XXXXX.enIdQGfD/cpp-build/_deps/googletest-src/googlemock/include/gmock/gmock.h:61:
/var/folders/q7/x09_16xd767gr8lwc56pjb_m0000gn/T/arrow-HEAD.XXXXX.enIdQGfD/cpp-build/_deps/googletest-src/googlemock/include/gmock/gmock-more-matchers.h:101:1: error: use of undeclared identifier 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
MATCHER(IsTrue, negation ? "is false" : "is true") {
^
/var/folders/q7/x09_16xd767gr8lwc56pjb_m0000gn/T/arrow-HEAD.XXXXX.enIdQGfD/cpp-build/_deps/googletest-src/googlemock/include/gmock/gmock-matchers.h:5554:7: note: expanded from macro 'MATCHER'
      GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED ::testing::MatchResultListener*   \
      ^
In file included from /var/folders/q7/x09_16xd767gr8lwc56pjb_m0000gn/T/arrow-HEAD.XXXXX.enIdQGfD/cpp-build/_deps/googletest-src/googlemock/src/gmock-all.cc:39:
In file included from /var/folders/q7/x09_16xd767gr8lwc56pjb_m0000gn/T/arrow-HEAD.XXXXX.enIdQGfD/cpp-build/_deps/googletest-src/googlemock/include/gmock/gmock.h:61:
/var/folders/q7/x09_16xd767gr8lwc56pjb_m0000gn/T/arrow-HEAD.XXXXX.enIdQGfD/cpp-build/_deps/googletest-src/googlemock/include/gmock/gmock-more-matchers.h:109:1: error: use of undeclared identifier 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
MATCHER(IsFalse, negation ? "is true" : "is false") {
^
/var/folders/q7/x09_16xd767gr8lwc56pjb_m0000gn/T/arrow-HEAD.XXXXX.enIdQGfD/cpp-build/_deps/googletest-src/googlemock/include/gmock/gmock-matchers.h:5554:7: note: expanded from macro 'MATCHER'
      GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED ::testing::MatchResultListener*   \
      ^
2 errors generated.

Component(s)

Continuous Integration, Release

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions