Skip to content

Conversation

@assignUser
Copy link
Member

This should fix the nightly test failure test-build-vcpkg-win

@assignUser
Copy link
Member Author

@github-actions crossbow submit test-build-vcpkg-win

@github-actions
Copy link

github-actions bot commented May 4, 2022

Revision: a29f8ab

Submitted crossbow builds: ursacomputing/crossbow @ actions-2011

Task Status
test-build-vcpkg-win Github Actions

@assignUser
Copy link
Member Author

@github-actions crossbow submit test-build-vcpkg-win

@github-actions
Copy link

github-actions bot commented May 4, 2022

Revision: f74d85e

Submitted crossbow builds: ursacomputing/crossbow @ actions-2012

Task Status
test-build-vcpkg-win Github Actions

@pitrou
Copy link
Member

pitrou commented May 4, 2022

@assignUser Thanks for the PR! As a general guideline, can you try to make the PR title and description a bit more explicit?
(they all end up in the commit message, for the record)

@pitrou
Copy link
Member

pitrou commented May 4, 2022

(also, please include the component in the PR title using the same convention as on JIRA, for example MINOR: [C++] ...)

-DARROW_WITH_SNAPPY=ON ^
-DARROW_WITH_ZLIB=ON ^
-DARROW_WITH_ZSTD=ON ^
-DGTest_SOURCE=SYSTEM ^
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, how does this work on Windows? "system" would mean system-provided packages on Linux, but I don't think those exist at all on Windows.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @kou for advice.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like it worked (vcpkg is still installing 1.10 but the error is gone)? It now fails due to missing tzdata, which should be fixable via the download script

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not do this. We should fix https://github.com/apache/arrow/blob/master/cpp/cmake_modules/ThirdpartyToolchain.cmake#L80-L86 instead.

(This is not a MINOR task.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I'll close this PR and I think this might be an appropriate JIRA to use? I would gladly take your suggestion on how to fix this @kou , should this test only be used in case we also use conda? As it seems to work with vcpkg,

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that ARROW-14560 is another problem and it has been fixed in upstream.

Could you open a new JIRA issue for it?

How about just removing https://github.com/apache/arrow/blob/master/cpp/cmake_modules/ThirdpartyToolchain.cmake#L80-L86 ? The latest may solve the problem described in the comment.

If the problem isn't solved yet, we should report it to the conda's GTest package. We can use if(ARROW_DEPENDENCY_SOURCE STREQUAL "CONDA" AND MSVC AND "${GTest_SOURCE}" STREQUAL "") condition as a workaround for this case.

@assignUser assignUser changed the title MINOR: Use bundled gtest MINOR: [C++] Use bundled gtest May 4, 2022
@assignUser
Copy link
Member Author

@github-actions crossbow submit test-build-vcpkg-win

@github-actions
Copy link

github-actions bot commented May 4, 2022

Revision: 10e6832

Submitted crossbow builds: ursacomputing/crossbow @ actions-2016

Task Status
test-build-vcpkg-win Github Actions

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants