* installing *source* package ‘gdalcubes’ ...
** package ‘gdalcubes’ successfully unpacked and MD5 sums checked
** using staged installation
configure: CC: clang -arch arm64
configure: CXX: clang++ -arch arm64 -std=gnu++11
checking for gdal-config... /opt/R/arm64/bin/gdal-config
checking gdal-config usability... yes
configure: GDAL: 3.5.3
checking GDAL version >= 2.0.1... yes
checking GDAL version != 3.6.0... yes
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 the compiler supports GNU C++... yes
checking whether clang++ -arch arm64 -std=gnu++11 accepts -g... yes
checking for clang++ -arch arm64 -std=gnu++11 option to enable C++11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for gdal.h... yes
checking GDAL: linking with --libs only... no
checking GDAL: linking with --libs and --dep-libs... yes
checking GDAL: /opt/R/arm64/share/gdal/pcs.csv readable... no
checking GDAL: checking whether PROJ is available for linking:... yes
checking GDAL: checking whether PROJ is available fur running:... yes
configure: GDAL: 3.5.3
configure: pkg-config proj exists, will use it
configure: using proj.h.
configure: PROJ: 9.1.0
checking PROJ: checking whether PROJ and sqlite3 are available for linking:... yes
checking for nc-config... yes
netcdf.m4: about to set rpath, here is source string: >-L/opt/R/arm64/lib -L/opt/R/arm64/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -lcurl -L/opt/R/arm64/lib -lsz<
netcdf.m4: final rpath:   -Wl,-rpath,/opt/R/arm64/lib -Wl,-rpath,/opt/R/arm64/lib -Wl,-rpath,/opt/R/arm64/lib
Netcdf library version: netCDF 4.8.1
Netcdf library has version 4 interface present: yes
Netcdf library was compiled with C compiler: gcc
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 -I/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM
configure: Package LIBS:  -L/opt/R/arm64/lib -lgdal -L/opt/R/arm64/lib -lproj -lc++ -lm -ldl -lsqlite3 -lz -ltiff -lwebp -llzma -ljpeg -lz -lwebp -lm -D_THREAD_SAFE -pthread -lsharpyuv -lm -D_THREAD_SAFE -pthread -llzma -pthread -lpthread -ljpeg -lz -lcurl     -Wl,-rpath,/opt/R/arm64/lib -Wl,-rpath,/opt/R/arm64/lib -Wl,-rpath,/opt/R/arm64/lib -L/opt/R/arm64/lib -L/opt/R/arm64/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -lcurl -L/opt/R/arm64/lib -lsz -L/opt/R/arm64/lib -lcrypto -L/opt/R/arm64/lib -lfreexl -liconv -L/opt/R/arm64/lib -lgeos_c -lgeos -lm -lstdc++ -lwebp -lodbc -lodbcinst -L/opt/R/arm64/lib -lexpat -L/opt/R/arm64/lib -lopenjp2 -lm -L/opt/R/arm64/lib -L/opt/R/arm64/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -lcurl -L/opt/R/arm64/lib -lsz -lhdf5 -lmfhdf -ldf -lpng -L/opt/R/arm64/lib -lpq -lpgcommon -lpgport -lm -lzstd -llzma -lproj -L/opt/R/arm64/lib -lproj -lc++ -lm -ldl -lsqlite3 -lz -ltiff -lwebp -llzma -ljpeg -lz -lwebp -lm -D_THREAD_SAFE -pthread -lsharpyuv -lm -D_THREAD_SAFE -pthread -llzma -pthread -lpthread -ljpeg -lz -lcurl -lsz -L/opt/R/arm64/lib -lsqlite3 -ljpeg -lz -lpthread -ldl -lpcre2-8 -lcurl -liconv -lxml2 -lpthread -lz -lm
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/aggregate_time.cpp -o gdalcubes/src/aggregate_time.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/aggregate_space.cpp -o gdalcubes/src/aggregate_space.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/apply_pixel.cpp -o gdalcubes/src/apply_pixel.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/config.cpp -o gdalcubes/src/config.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/collection_format.cpp -o gdalcubes/src/collection_format.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/crop.cpp -o gdalcubes/src/crop.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/datetime.cpp -o gdalcubes/src/datetime.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/filesystem.cpp -o gdalcubes/src/filesystem.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/utils.cpp -o gdalcubes/src/utils.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/cube.cpp -o gdalcubes/src/cube.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/cube_factory.cpp -o gdalcubes/src/cube_factory.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/error.cpp -o gdalcubes/src/error.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/extract_geom.cpp -o gdalcubes/src/extract_geom.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/image_collection.cpp -o gdalcubes/src/image_collection.o
In file included from gdalcubes/src/image_collection.cpp:28:
/opt/R/arm64/include/sqlite3.h:272:9: warning: struct 'sqlite3' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
typedef struct sqlite3 sqlite3;
        ^
gdalcubes/src/image_collection.h:35:7: note: previous use is here
class sqlite3;
      ^
In file included from gdalcubes/src/image_collection.cpp:28:
/opt/R/arm64/include/sqlite3.h:3901:9: warning: struct 'sqlite3_stmt' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
typedef struct sqlite3_stmt sqlite3_stmt;
        ^
gdalcubes/src/image_collection.h:36:7: note: previous use is here
class sqlite3_stmt;
      ^
2 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/image_collection_cube.cpp -o gdalcubes/src/image_collection_cube.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/image_collection_ops.cpp -o gdalcubes/src/image_collection_ops.o
In file included from gdalcubes/src/image_collection_ops.cpp:20:
/opt/R/arm64/include/sqlite3.h:272:9: warning: struct 'sqlite3' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
typedef struct sqlite3 sqlite3;
        ^
gdalcubes/src/image_collection.h:35:7: note: previous use is here
class sqlite3;
      ^
In file included from gdalcubes/src/image_collection_ops.cpp:20:
/opt/R/arm64/include/sqlite3.h:3901:9: warning: struct 'sqlite3_stmt' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
typedef struct sqlite3_stmt sqlite3_stmt;
        ^
gdalcubes/src/image_collection.h:36:7: note: previous use is here
class sqlite3_stmt;
      ^
2 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/join_bands.cpp -o gdalcubes/src/join_bands.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/ncdf_cube.cpp -o gdalcubes/src/ncdf_cube.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/select_time.cpp -o gdalcubes/src/select_time.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/reduce_time.cpp -o gdalcubes/src/reduce_time.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/reduce_space.cpp -o gdalcubes/src/reduce_space.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/window_space.cpp -o gdalcubes/src/window_space.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/window_time.cpp -o gdalcubes/src/window_time.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/select_bands.cpp -o gdalcubes/src/select_bands.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/slice_time.cpp -o gdalcubes/src/slice_time.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/slice_space.cpp -o gdalcubes/src/slice_space.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/filter_pixel.cpp -o gdalcubes/src/filter_pixel.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/filter_geom.cpp -o gdalcubes/src/filter_geom.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/fill_time.cpp -o gdalcubes/src/fill_time.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/rename_bands.cpp -o gdalcubes/src/rename_bands.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/simple_cube.cpp -o gdalcubes/src/simple_cube.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/stream.cpp -o gdalcubes/src/stream.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/stream_reduce_time.cpp -o gdalcubes/src/stream_reduce_time.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/stream_reduce_space.cpp -o gdalcubes/src/stream_reduce_space.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/stream_apply_pixel.cpp -o gdalcubes/src/stream_apply_pixel.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/stream_apply_time.cpp -o gdalcubes/src/stream_apply_time.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/view.cpp -o gdalcubes/src/view.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/dummy.cpp -o gdalcubes/src/dummy.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/warp.cpp -o gdalcubes/src/warp.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c gdalcubes/src/external/tinyexpr/tinyexpr.c -o gdalcubes/src/external/tinyexpr/tinyexpr.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/external/tiny-process-library/process.cpp -o gdalcubes/src/external/tiny-process-library/process.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/external/tiny-process-library/process_unix.cpp -o gdalcubes/src/external/tiny-process-library/process_unix.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes/src/external/json11/json11.cpp -o gdalcubes/src/external/json11/json11.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c multiprocess.cpp -o multiprocess.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c error.cpp -o error.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c gdalcubes.cpp -o gdalcubes.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -I/opt/R/arm64/include -DR_PACKAGE -DGDALCUBES_NO_SWARM -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o gdalcubes.so gdalcubes/src/aggregate_time.o gdalcubes/src/aggregate_space.o gdalcubes/src/apply_pixel.o gdalcubes/src/config.o gdalcubes/src/collection_format.o gdalcubes/src/crop.o gdalcubes/src/datetime.o gdalcubes/src/filesystem.o gdalcubes/src/utils.o gdalcubes/src/cube.o gdalcubes/src/cube_factory.o gdalcubes/src/error.o gdalcubes/src/extract_geom.o gdalcubes/src/image_collection.o gdalcubes/src/image_collection_cube.o gdalcubes/src/image_collection_ops.o gdalcubes/src/join_bands.o gdalcubes/src/ncdf_cube.o gdalcubes/src/select_time.o gdalcubes/src/reduce_time.o gdalcubes/src/reduce_space.o gdalcubes/src/window_space.o gdalcubes/src/window_time.o gdalcubes/src/select_bands.o gdalcubes/src/slice_time.o gdalcubes/src/slice_space.o gdalcubes/src/filter_pixel.o gdalcubes/src/filter_geom.o gdalcubes/src/fill_time.o gdalcubes/src/rename_bands.o gdalcubes/src/simple_cube.o gdalcubes/src/stream.o gdalcubes/src/stream_reduce_time.o gdalcubes/src/stream_reduce_space.o gdalcubes/src/stream_apply_pixel.o gdalcubes/src/stream_apply_time.o gdalcubes/src/view.o gdalcubes/src/dummy.o gdalcubes/src/warp.o gdalcubes/src/external/tinyexpr/tinyexpr.o gdalcubes/src/external/tiny-process-library/process.o gdalcubes/src/external/tiny-process-library/process_unix.o gdalcubes/src/external/json11/json11.o multiprocess.o error.o gdalcubes.o RcppExports.o -L/opt/R/arm64/lib -lgdal -L/opt/R/arm64/lib -lproj -lc++ -lm -ldl -lsqlite3 -lz -ltiff -lwebp -llzma -ljpeg -lz -lwebp -lm -D_THREAD_SAFE -pthread -lsharpyuv -lm -D_THREAD_SAFE -pthread -llzma -pthread -lpthread -ljpeg -lz -lcurl -Wl,-rpath,/opt/R/arm64/lib -Wl,-rpath,/opt/R/arm64/lib -Wl,-rpath,/opt/R/arm64/lib -L/opt/R/arm64/lib -L/opt/R/arm64/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -lcurl -L/opt/R/arm64/lib -lsz -L/opt/R/arm64/lib -lcrypto -L/opt/R/arm64/lib -lfreexl -liconv -L/opt/R/arm64/lib -lgeos_c -lgeos -lm -lstdc++ -lwebp -lodbc -lodbcinst -L/opt/R/arm64/lib -lexpat -L/opt/R/arm64/lib -lopenjp2 -lm -L/opt/R/arm64/lib -L/opt/R/arm64/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -lcurl -L/opt/R/arm64/lib -lsz -lhdf5 -lmfhdf -ldf -lpng -L/opt/R/arm64/lib -lpq -lpgcommon -lpgport -lm -lzstd -llzma -lproj -L/opt/R/arm64/lib -lproj -lc++ -lm -ldl -lsqlite3 -lz -ltiff -lwebp -llzma -ljpeg -lz -lwebp -lm -D_THREAD_SAFE -pthread -lsharpyuv -lm -D_THREAD_SAFE -pthread -llzma -pthread -lpthread -ljpeg -lz -lcurl -lsz -L/opt/R/arm64/lib -lsqlite3 -ljpeg -lz -lpthread -ldl -lpcre2-8 -lcurl -liconv -lxml2 -lpthread -lz -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/gdalcubes.Rcheck/00LOCK-gdalcubes/00new/gdalcubes/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (gdalcubes)