[
https://issues.apache.org/jira/browse/ARROW-16434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17530781#comment-17530781
]
Will Jones commented on ARROW-16434:
------------------------------------
I'll look into this today. It's very strange, it's using the wrong cmake too
(version is newer than what's in rtools-packages) and R 4.2 seems to come
pre-installed on those machines.
I think it has to do with upgrading to the setup-r@v2 action, which was done in
https://github.com/apache/arrow/pull/13011 *after* running the crossbow job.
Not a terrible judgement, as we shouldn't expect that setup to affect much
downstream, but does seem to be the reason we didn't catch earlier.
> [R] [CI] Nightly crossbow job for windows + devdocs
> ---------------------------------------------------
>
> Key: ARROW-16434
> URL: https://issues.apache.org/jira/browse/ARROW-16434
> Project: Apache Arrow
> Issue Type: Bug
> Components: Continuous Integration, R
> Reporter: Jonathan Keane
> Assignee: Will Jones
> Priority: Major
> Fix For: 9.0.0
>
>
> It looks like something has changed and even though we are installing Ninja
> with pacman, it's not found by cmake later. We do add to the PATH like we
> need to (though `/mingw64/bin` might be missing from the new one, if I'm
> looking at the contents correctly?)
> https://github.com/ursacomputing/crossbow/runs/6251653187?check_suite_focus=true
> {code}
> echo 'options(repos=structure(c(CRAN="https://cloud.r-project.org")))'
> 21
> + pacman --sync --refresh --noconfirm mingw-w64-x86_64-ccache
> mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-openssl
> 22
> :: Synchronizing package databases...
> 23
> downloading mingw32.db...
> 24
> downloading mingw64.db...
> 25
> downloading ucrt64.db...
> 26
> downloading mirrors.db...
> 27
> resolving dependencies...
> 28
> looking for conflicting packages...
> 29
> 30
> Packages (4) mingw-w64-x86_64-ccache-3.7.9-1 mingw-w64-x86_64-cmake-3.21.3-1
> mingw-w64-x86_64-ninja-1.10.2-1 mingw-w64-x86_64-openssl-1.1.1.m-9800
> 31
> 32
> Total Download Size: 17.13 MiB
> 33
> Total Installed Size: 110.39 MiB
> 34
> 35
> :: Proceed with installation? [Y/n]
> 36
> :: Retrieving packages...
> 37
> downloading mingw-w64-x86_64-ccache-3.7.9-1-any.pkg.tar.xz...
> 38
> downloading mingw-w64-x86_64-cmake-3.21.3-1-any.pkg.tar.xz...
> 39
> downloading mingw-w64-x86_64-ninja-1.10.2-1-any.pkg.tar.xz...
> 40
> downloading mingw-w64-x86_64-openssl-1.1.1.m-9800-any.pkg.tar.xz...
> 41
> checking keyring...
> 42
> checking package integrity...
> 43
> loading package files...
> 44
> checking for file conflicts...
> 45
> checking available disk space...
> 46
> :: Processing package changes...
> 47
> installing mingw-w64-x86_64-ccache...
> 48
> installing mingw-w64-x86_64-cmake...
> 49
> installing mingw-w64-x86_64-ninja...
> 50
> installing mingw-w64-x86_64-openssl...
> 51
> + export CMAKE_GENERATOR=Ninja
> 52
> + CMAKE_GENERATOR=Ninja
> 53
> ...
> + cmake -DCMAKE_INSTALL_PREFIX=/d/a/crossbow/crossbow/dist
> -DCMAKE_INSTALL_LIBDIR=lib -DARROW_COMPUTE=ON -DARROW_CSV=ON
> -DARROW_DATASET=ON -DARROW_EXTRA_ERROR_CONTEXT=ON -DARROW_FILESYSTEM=ON
> -DARROW_MIMALLOC=ON -DARROW_JSON=OFF -DARROW_PARQUET=ON
> -DARROW_WITH_SNAPPY=OFF -DARROW_WITH_ZLIB=ON ..
> 112
> -- Building for: Ninja
> 113
> -- Building using CMake version: 3.23.1
> 114
> CMake Error: CMake was unable to find a build program corresponding to
> "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a
> different build tool.
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)