-
Notifications
You must be signed in to change notification settings - Fork 13
Inconsistencies with CRAN fedora-clang-devel #63
Comments
I've observed the same thing with the The images are using docker run \
--rm \
rhub/debian-clang-devel:latest \
clang --version
But according to https://cran.r-project.org/web/checks/check_flavors.html#r-devel-linux-x86_64-debian-clang, CRAN is using |
Over in
I just found that I was able to reproduce the warning I see over on CRAN by running the following in a container using that image, to upgrade to # remove clang stuff that comes installed in the image
apt-get autoremove -y --purge \
clang-* \
libclang-* \
libunwind-* \
llvm-*
# download equivalent clang-15 packages
apt-get update -y
apt-get install --no-install-recommends -y \
gnupg \
lsb-release \
software-properties-common \
wget
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
add-apt-repository "deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-15 main"
apt-get install -y --no-install-recommends \
clang-15 \
clangd-15 \
clang-format-15 \
clang-tidy-15 \
clang-tools-15 \
lldb-15 \
lld-15 \
llvm-15-dev \
llvm-15-tools \
libomp-15-dev \
libc++-15-dev \
libc++abi-15-dev \
libclang-common-15-dev \
libclang-15-dev \
libclang-cpp15-dev \
libunwind-15-dev
# overwrite everything in /usr/bin with the new v15 versions
cp --remove-destination /usr/lib/llvm-15/bin/* /usr/bin/ @gaborcsardi @maelle are you open to a pull request with something similar to this, to upgrade the debian and fedora images to |
We are planning on rolling out new images in a week or so. |
Oh great, glad to hear it! Thanks so much. My offer still stands, I'm happy to help out here any time if you want. I depend on these images so much. |
We have been trying to track down a bug in our package that only appears on CRAN fredora-clang-devel. Whilst investigating it looks like there are a number of inconsistencies between the image on Rhub vs what CRAN are running. That being said I'm not very experienced with this system configuration stuff so apologies if I have got this wrong.
In particular:
It looks like you are using Fedora 33 whilst they are using Fedora 36
They are using clang-15 whereas it looks like you are using the rpms clang which appears to be clang-11
It looks like you are using different Makevars compared to them
The impact though is that my unit tests are running fine on your image via
rhub::check(platform = "fedora-clang-devel")
even though they are failing to run on CRAN.The text was updated successfully, but these errors were encountered: