rhub icon indicating copy to clipboard operation
rhub copied to clipboard

Support for `r-devel-linux-x86_64-fedora-clang` with clang version 21

Open tony-aw opened this issue 3 months ago • 5 comments

Hi,

CRAN currently uses clang/flang version 21.1.0 for check r-devel-linux-x86_64-fedora-clang; see https://cran.r-project.org/web/checks/check_flavors.html. Could rhub provide support for R package checking for that configuration also please?

Thanks in advance for your response!

Kind regards,

Tony

tony-aw avatar Oct 08 '25 13:10 tony-aw

Do you have a package failure that you cannot reproduce with the current image?

gaborcsardi avatar Oct 08 '25 13:10 gaborcsardi

Yes: broadcast (https://cran.r-project.org/web/checks/check_results_broadcast.html) only fails for r-devel fedora clang

tony-aw avatar Oct 08 '25 13:10 tony-aw

The package only fails for clang v21.1.0 used with fedora, apparently due to somekind of behaviour or bug specific to clang v21.1.0. So if rhub could support clang/flang version 21.1.0 for check r-devel-linux-x86_64-fedora-clang, that would be really nice.

tony-aw avatar Oct 08 '25 15:10 tony-aw

The compiler crashes, so I suspect that this is a compiler bug. Or some timeout that CRAN set up, if that's possible. In any case, they don't use Fedora's clang, but build clang themselves, and I guess that even with clang 21, you won't be able to reproduce that.

gaborcsardi avatar Oct 08 '25 15:10 gaborcsardi

make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:209: rcpp_bcRel_dec.o] CPU time limit exceeded (core dumped)

maybe refers to a CPU time limit in limits.conf?

gaborcsardi avatar Oct 08 '25 15:10 gaborcsardi