* installing *source* package ‘divest’ ... ** using staged installation 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++-18 -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer -frtti -std=gnu++17 accepts -g... yes checking for clang++-18 -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer -frtti -std=gnu++17 option to enable C++11 features... none needed checking for pkg-config... /usr/bin/pkg-config 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 fmemopen... yes configure: Using OpenJPEG for JPEG2000 support configure: creating ./config.status config.status: creating src/Makevars ** libs using C++ compiler: ‘Debian clang version 18.1.8 (11)’ clang++-18 -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer -frtti -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-xtra/include" -DNDEBUG -DUSING_R -I/usr/include/openjpeg-2.5 -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -I'/home/hornik/tmp/CRAN_special_clang-san/Library/Rcpp/include' -I'/home/hornik/tmp/CRAN_special_clang-san/Library/RNifti/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c main.cpp -o main.o clang++-18 -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer -frtti -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-xtra/include" -DNDEBUG -DUSING_R -I/usr/include/openjpeg-2.5 -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -I'/home/hornik/tmp/CRAN_special_clang-san/Library/Rcpp/include' -I'/home/hornik/tmp/CRAN_special_clang-san/Library/RNifti/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c dcm2niix/jpg_0XC3.cpp -o dcm2niix/jpg_0XC3.o clang++-18 -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer -frtti -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-xtra/include" -DNDEBUG -DUSING_R -I/usr/include/openjpeg-2.5 -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -I'/home/hornik/tmp/CRAN_special_clang-san/Library/Rcpp/include' -I'/home/hornik/tmp/CRAN_special_clang-san/Library/RNifti/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c dcm2niix/nifti1_io_core.cpp -o dcm2niix/nifti1_io_core.o clang++-18 -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer -frtti -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-xtra/include" -DNDEBUG -DUSING_R -I/usr/include/openjpeg-2.5 -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -I'/home/hornik/tmp/CRAN_special_clang-san/Library/Rcpp/include' -I'/home/hornik/tmp/CRAN_special_clang-san/Library/RNifti/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c dcm2niix/nii_dicom.cpp -o dcm2niix/nii_dicom.o dcm2niix/nii_dicom.cpp:1922:6: warning: variable 'patientPositionNumPhilips' set but not used [-Wunused-but-set-variable] 1922 | int patientPositionNumPhilips = 0; | ^ dcm2niix/nii_dicom.cpp:4876:12: warning: unused variable 'realGroupElement' [-Wunused-variable] 4876 | uint32_t realGroupElement = groupElement; | ^~~~~~~~~~~~~~~~ 2 warnings generated. clang++-18 -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer -frtti -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-xtra/include" -DNDEBUG -DUSING_R -I/usr/include/openjpeg-2.5 -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -I'/home/hornik/tmp/CRAN_special_clang-san/Library/Rcpp/include' -I'/home/hornik/tmp/CRAN_special_clang-san/Library/RNifti/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c dcm2niix/nii_dicom_batch.cpp -o dcm2niix/nii_dicom_batch.o dcm2niix/nii_dicom_batch.cpp:2721:7: warning: variable 'isIsotropic' set but not used [-Wunused-but-set-variable] 2721 | bool isIsotropic = false; | ^ dcm2niix/nii_dicom_batch.cpp:3479:13: warning: unused variable 'kTempPathSeparator' [-Wunused-variable] 3479 | const char kTempPathSeparator = '\a'; | ^~~~~~~~~~~~~~~~~~ dcm2niix/nii_dicom_batch.cpp:3480:7: warning: unused variable 'hasCaret' [-Wunused-variable] 3480 | bool hasCaret = false; | ^~~~~~~~ dcm2niix/nii_dicom_batch.cpp:6822:9: warning: unused variable 'pf' [-Wunused-variable] 6822 | float pf = 1.0f; // partial fourier | ^~ dcm2niix/nii_dicom_batch.cpp:7107:7: warning: variable 'isDirLabel' set but not used [-Wunused-but-set-variable] 7107 | bool isDirLabel = false; // report phase encoding direction | ^ dcm2niix/nii_dicom_batch.cpp:7285:6: warning: variable 'nVol' set but not used [-Wunused-but-set-variable] 7285 | int nVol = 1; | ^ dcm2niix/nii_dicom_batch.cpp:8256:11: warning: variable 'slicePositionRepeats' set but not used [-Wunused-but-set-variable] 8256 | int slicePositionRepeats = 1; // how many times is first position repeated | ^ dcm2niix/nii_dicom_batch.cpp:8555:10: warning: unused variable 'shearMat' [-Wunused-variable] 8555 | mat33 shearMat; | ^~~~~~~~ 8 warnings generated. clang++-18 -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer -frtti -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-xtra/include" -DNDEBUG -DUSING_R -I/usr/include/openjpeg-2.5 -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -I'/home/hornik/tmp/CRAN_special_clang-san/Library/Rcpp/include' -I'/home/hornik/tmp/CRAN_special_clang-san/Library/RNifti/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c dcm2niix/nii_ortho.cpp -o dcm2niix/nii_ortho.o clang++-18 -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer -frtti -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-xtra/include" -DNDEBUG -DUSING_R -I/usr/include/openjpeg-2.5 -DHAVE_FMEMOPEN -I. -Idcm2niix -Iujpeg -I'/home/hornik/tmp/CRAN_special_clang-san/Library/Rcpp/include' -I'/home/hornik/tmp/CRAN_special_clang-san/Library/RNifti/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ujpeg/ujpeg.cpp -o ujpeg/ujpeg.o clang++-18 -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer -frtti -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-xtra/lib -Wl,-O1 -o divest.so main.o dcm2niix/jpg_0XC3.o dcm2niix/nifti1_io_core.o dcm2niix/nii_dicom.o dcm2niix/nii_dicom_batch.o dcm2niix/nii_ortho.o ujpeg/ujpeg.o -lopenjp2 -L/home/hornik/tmp/R-d-clang-xtra/lib -lR installing to /home/hornik/tmp/CRAN_special_clang-san/divest.Rcheck/00LOCK-divest/00new/divest/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** 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 (divest)