amoeba opened a new pull request, #49865:
URL: https://github.com/apache/arrow/pull/49865
### Rationale for this change
On my Mac, when I try to install the R package from main, I get a confusing
warning that S3 support is disabled:
```
**** cmake 4.3.0: /opt/homebrew/bin/cmake
**** S3 support requires libcurl-devel (rpm) or libcurl4-openssl-dev
(deb) ; building with ARROW_S3=OFF
```
I figured out we were getting a failure from the cmake invocation,
```
CMake Error in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 4.3)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
```
but silently ignoring it because the subprocess call hardcoded ignoring
stdout/stderr.
### What changes are included in this PR?
- Fixes the issue with cmake by specifying `cmake_minimum_required`
- Makes the cmake command respect `quietly` (ARROW_R_DEV) so we don't
swallow errors
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]