arrow: [R] R package fails to install when using clang-16 as the compiler

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

On the CRAN package check page ( https://cran.r-project.org/web/checks/check_results_arrow.html ) there is a new warning about clang-16. We don’t get any diagnostics in the compiler output ( https://www.stats.ox.ac.uk/pub/bdr/clang16/arrow.log ) because we suppress that output by default; however, it seems as though the failure is at the Arrow C++ build step and not the R package build step.

On submission we will need to submit an explanation or we will need to patch the vendored Arrow C++ to ensure that it builds prior to submission. The first step is to reproduce…LLVM provides a Dockerfile that we can probably build from ( https://github.com/llvm/llvm-project/blob/main/llvm/utils/docker/debian10/Dockerfile + apt-get install -y r-base will get us close).

Component(s)

R

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 32 (32 by maintainers)

Commits related to this issue

Most upvoted comments

The fix was merged right? And the cran checks look fine so I am closing this 😃

Maybe start with the rhub fedora-clang-devel job and then pull the latest clang into that?

As now shown on the package check page, the clang build on Fedora now appears broken, too. We have a CI nightly that attempts to replicate the fedora clang build and that is still passing the last I checked. The clang-16 build is also on Fedora, so there’s a very good chance the problem is fedora and not dev clang. I will investigate the Fedora issue tomorrow (maybe the version of Fedora got bumped?).

Also, if you apt-get install clang in the image, will it pull the latest nightly clang?