[R-pkg-devel] new package version fails on r-devel fedora clang

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Fri Oct 3 15:07:01 CEST 2025


On 3 October 2025 at 08:57, Tony Wilkes wrote:
| Hi everyone,
| 
| I submitted an update for my broadcast R-package yesterday on CRAN.
| Prior to submission I checked the package with R CMD check, devtools::check_win_devel(), with devtools::check_mac_release(), and with various operating systems via GitHub actions.
| No problems were found.
| 
| But I see on the CRAN page that the new version of broadcast fails to install on r-devel fedora clang.
| The install log can be found here: https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/broadcast-00install.html
| 
| It's unclear to me why exactly installation fails. The only concrete statement I can find in the install log is "CPU time limit exceeded". Does this mean the installation simply took too long? If it is something else, what then happened exactly? And how can I fix it?

This may be a compiler error in that (new-ish) version of clang.

A good first step would be to see if another build of clang-21 succeeds,
ideally on a similar Fedora system, else on whatever other system you can
deploy clang-21. There have been prior discussions of this here, as I recall
clang you can nightlies from clang for Debian; I do not know if they offer
that for Fedora. See https://apt.llvm.org/

[ Some time later ]

Ok, I just installed your package onto a rocker/r-base container (running
Debian testing/unstable) with both clang-21 and clang-22 in turn. [1] So you
could try to email CRAN suggestion their particular build of clang-21 may
have an issue. You may want to replicate what I did here with the exact
compiler flags they used to be sure. It would also help to get clang-21 on
Fedora but I am not sure it is pre-made somewhere and building it from source
is of course more work.

Hope this helps,  Dirk

[1 ] I had to muck a little longer than I should have to get the apt repo
setup -- the website lists the old 'list' format of apt files, we now need / prefer
the newer 'sources' format with a key. I will try to write that up as I am
sure I will need it again.

-- 
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-package-devel mailing list