Closed sneumann closed 3 years ago
Kurt also already proposed a fix:
Thanks. Changing the offending line
reference operator[](difference_type _Off) const
to remove the const seems to make things installable for me.
Hi, after some struggling I was able to easily reproduce:
docker run --rm -it rhub/debian-clang bash
cd /tmp ; apt install -y libnetcdf-dev libxml2-dev r-base
mkdir ~/.R
cat >~/.R/Makevars <<EOF
CC=/usr/bin/clang-11
CPP=/usr/bin/clang-cpp-11
CXX=/usr/bin/clang++-11
CXX11=/usr/bin/clang++-11
CXX14=/usr/bin/clang++-11
EOF
R -e 'install.packages(c("BiocManager", "ncdf4"), repos="https://cloud.r-project.org")'
R -e 'BiocManager::install(c("zlibbioc", "Rhdf5lib"))'
R -e 'BiocManager::install("mzR")'
It was recently reported by Kurt Hornik that mzR fails to install for Clang 11 and 12 (at least on Linux) with
Either this is a small-ish fix, or we'll have to hurry up getting a new pwiz/boost version in.
Yours, Steffen