* installing *source* package ‘vapour’ ... ** this is package ‘vapour’ version ‘0.12.0’ ** package ‘vapour’ successfully unpacked and MD5 sums checked ** using staged installation configure: CC: clang -mmacos-version-min=26 -std=gnu23 configure: CXX: clang++ -mmacos-version-min=26 -std=gnu++17 checking for gdal-config... /opt/R/arm64/bin/gdal-config checking gdal-config usability... yes configure: GDAL: 3.12.0 checking GDAL version >= 2.0.1... yes checking for gcc... clang -mmacos-version-min=26 -std=gnu23 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang -mmacos-version-min=26 -std=gnu23 accepts -g... yes checking for clang -mmacos-version-min=26 -std=gnu23 option to accept ISO C89... unsupported checking how to run the C preprocessor... clang -mmacos-version-min=26 -std=gnu23 -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking gdal.h usability... yes checking gdal.h presence... yes checking for gdal.h... yes checking GDAL: linking with --libs only... yes checking GDAL: checking whether PROJ is available for linking:... yes checking GDAL: checking whether PROJ is available for running:... yes configure: GDAL: 3.12.0 configure: pkg-config proj exists, will use it configure: using proj.h. configure: PROJ: 9.7.0 configure: LIBS: -L/opt/R/arm64/lib -lproj -lcurl -lc++ -lsqlite3 -lz -ltiff -lwebp -lzstd -llzma -ljpeg -ldeflate -lz -lwebp -lm -D_THREAD_SAFE -pthread -lsharpyuv -lm -D_THREAD_SAFE -pthread -lzstd -pthread -llzma -pthread -lpthread -ljpeg -ldeflate -lz -L/opt/R/arm64/lib -lgdal -lcrypto -lfreexl -lgeos_c -lgeos -lexpat -lopenjp2 -lnetcdf -lhdf5_hl -lhdf5 -lsz -lmfhdf -ldf -lpng -lpq -llz4 -lzstd -llzma -lproj -ltiff -lwebp -lsharpyuv -llzma -ljpeg -lsqlite3 -lpcre2-8 -lcurl -liconv -lxml2 -lz -lm -ldeflate checking PROJ: checking whether PROJ and sqlite3 are available for linking:... yes ld: warning: ignoring duplicate libraries: '-ldeflate', '-ljpeg', '-llzma', '-lm', '-lwebp', '-lz', '-lzstd' configure: Package CPP flags: -I/opt/R/arm64/include -I/opt/R/arm64/include/webp -I/opt/R/arm64/include -DHAVE_PROJ_H -I/opt/R/arm64/include configure: Package LIBS: -L/opt/R/arm64/lib -lgdal -lcrypto -lfreexl -lgeos_c -lgeos -lexpat -lopenjp2 -lnetcdf -lhdf5_hl -lhdf5 -lsz -lmfhdf -ldf -lpng -lpq -llz4 -lzstd -llzma -lproj -ltiff -lwebp -lsharpyuv -llzma -ljpeg -lsqlite3 -lpcre2-8 -lcurl -liconv -lxml2 -lz -lm -ldeflate -L/opt/R/arm64/lib -lproj -lcurl -lc++ -lsqlite3 -lz -ltiff -lwebp -lzstd -llzma -ljpeg -ldeflate -lz -lwebp -lm -D_THREAD_SAFE -pthread -lsharpyuv -lm -D_THREAD_SAFE -pthread -lzstd -pthread -llzma -pthread -lpthread -ljpeg -ldeflate -lz configure: creating ./config.status config.status: creating src/Makevars ** libs using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.4.4.1)’ using SDK: ‘MacOSX26.1.sdk’ clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include -I/opt/R/arm64/include/webp -I/opt/R/arm64/include -DHAVE_PROJ_H -I/opt/R/arm64/include -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c 000-stream.cpp -o 000-stream.o In file included from 000-stream.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from 000-stream.cpp:2: ../inst/include/gdalarrowstream/gdalvectorstream.h:241:24: error: cannot initialize a variable of type 'OGRSpatialReference *' with an rvalue of type 'const OGRSpatialReference *' 241 | OGRSpatialReference* crs = poLayer->GetSpatialRef(); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. make[1]: *** [000-stream.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include -I/opt/R/arm64/include/webp -I/opt/R/arm64/include -DHAVE_PROJ_H -I/opt/R/arm64/include -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c 000-warpgeneral.cpp -o 000-warpgeneral.o In file included from 000-warpgeneral.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from 000-warpgeneral.cpp:2: ../inst/include/gdallibrary/gdallibrary.h:760:24: error: cannot initialize a variable of type 'OGRSpatialReference *' with an rvalue of type 'const OGRSpatialReference *' 760 | OGRSpatialReference *SRS = poLayer->GetSpatialRef(); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. make[1]: *** [000-warpgeneral.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include -I/opt/R/arm64/include/webp -I/opt/R/arm64/include -DHAVE_PROJ_H -I/opt/R/arm64/include -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c 00_config.cpp -o 00_config.o In file included from 00_config.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from 00_config.cpp:2: ../inst/include/gdallibrary/gdallibrary.h:760:24: error: cannot initialize a variable of type 'OGRSpatialReference *' with an rvalue of type 'const OGRSpatialReference *' 760 | OGRSpatialReference *SRS = poLayer->GetSpatialRef(); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. make[1]: *** [00_config.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include -I/opt/R/arm64/include/webp -I/opt/R/arm64/include -DHAVE_PROJ_H -I/opt/R/arm64/include -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c 00_gdal.cpp -o 00_gdal.o In file included from 00_gdal.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from 00_gdal.cpp:2: ../inst/include/gdallibrary/gdallibrary.h:760:24: error: cannot initialize a variable of type 'OGRSpatialReference *' with an rvalue of type 'const OGRSpatialReference *' 760 | OGRSpatialReference *SRS = poLayer->GetSpatialRef(); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. make[1]: *** [00_gdal.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include -I/opt/R/arm64/include/webp -I/opt/R/arm64/include -DHAVE_PROJ_H -I/opt/R/arm64/include -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c 00_geometry.cpp -o 00_geometry.o In file included from 00_geometry.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from 00_geometry.cpp:2: In file included from ../inst/include/gdalgeometry/gdalgeometry.h:11: ../inst/include/gdallibrary/gdallibrary.h:760:24: error: cannot initialize a variable of type 'OGRSpatialReference *' with an rvalue of type 'const OGRSpatialReference *' 760 | OGRSpatialReference *SRS = poLayer->GetSpatialRef(); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. make[1]: *** [00_geometry.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include -I/opt/R/arm64/include/webp -I/opt/R/arm64/include -DHAVE_PROJ_H -I/opt/R/arm64/include -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c 00_raster.cpp -o 00_raster.o In file included from 00_raster.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from 00_raster.cpp:2: ../inst/include/gdallibrary/gdallibrary.h:760:24: error: cannot initialize a variable of type 'OGRSpatialReference *' with an rvalue of type 'const OGRSpatialReference *' 760 | OGRSpatialReference *SRS = poLayer->GetSpatialRef(); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. make[1]: *** [00_raster.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include -I/opt/R/arm64/include/webp -I/opt/R/arm64/include -DHAVE_PROJ_H -I/opt/R/arm64/include -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c 00_raster_block_io.cpp -o 00_raster_block_io.o In file included from 00_raster_block_io.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from 00_raster_block_io.cpp:2: In file included from ../inst/include/gdalreadwrite/gdalreadwrite.h:8: ../inst/include/gdallibrary/gdallibrary.h:760:24: error: cannot initialize a variable of type 'OGRSpatialReference *' with an rvalue of type 'const OGRSpatialReference *' 760 | OGRSpatialReference *SRS = poLayer->GetSpatialRef(); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. make[1]: *** [00_raster_block_io.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include -I/opt/R/arm64/include/webp -I/opt/R/arm64/include -DHAVE_PROJ_H -I/opt/R/arm64/include -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c 00_utils.cpp -o 00_utils.o In file included from 00_utils.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from 00_utils.cpp:2: ../inst/include/gdalapplib/gdalapplib.h:206:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 206 | GDALDataset *vrt = (GDALDataset*)GDALBuildVRT("", dsn.size(), nullptr, string_to_charptr(dsn).data(), opt, &err); | ~~~~~~~~~~~~ ~~~~^~~~~~ 2 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include -I/opt/R/arm64/include/webp -I/opt/R/arm64/include -DHAVE_PROJ_H -I/opt/R/arm64/include -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c 00_vrt.cpp -o 00_vrt.o In file included from 00_vrt.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from 00_vrt.cpp:3: ../inst/include/gdalapplib/gdalapplib.h:206:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 206 | GDALDataset *vrt = (GDALDataset*)GDALBuildVRT("", dsn.size(), nullptr, string_to_charptr(dsn).data(), opt, &err); | ~~~~~~~~~~~~ ~~~~^~~~~~ 2 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include -I/opt/R/arm64/include/webp -I/opt/R/arm64/include -DHAVE_PROJ_H -I/opt/R/arm64/include -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ 1 warning generated. clang++ -mmacos-version-min=26 -std=gnu++17 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include -I/opt/R/arm64/include/webp -I/opt/R/arm64/include -DHAVE_PROJ_H -I/opt/R/arm64/include -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c warp_file.cpp -o warp_file.o In file included from warp_file.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from warp_file.cpp:2: ../inst/include/gdalapplib/gdalapplib.h:206:57: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 206 | GDALDataset *vrt = (GDALDataset*)GDALBuildVRT("", dsn.size(), nullptr, string_to_charptr(dsn).data(), opt, &err); | ~~~~~~~~~~~~ ~~~~^~~~~~ 2 warnings generated. make[1]: Target `all' not remade because of errors. ERROR: compilation failed for package ‘vapour’ * removing ‘/Users/ripley/R/packages/tests-devel/vapour.Rcheck/vapour’