############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data gpuMagic ### ############################################################################## ############################################################################## * checking for file ‘gpuMagic/DESCRIPTION’ ... OK * preparing ‘gpuMagic’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package ‘gpuMagic’ ... ** using staged installation ** libs using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ using C++11 using SDK: ‘MacOSX11.3.sdk’ clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/Library/Frameworks/R.framework/Resources/include -I../inst/include/OpenCL_header -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_SILENCE_DEPRECATION -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c C_Interface.cpp -o C_Interface.o clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/Library/Frameworks/R.framework/Resources/include -I../inst/include/OpenCL_header -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_SILENCE_DEPRECATION -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_functionRegistration.cpp -o R_functionRegistration.o clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/Library/Frameworks/R.framework/Resources/include -I../inst/include/OpenCL_header -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_SILENCE_DEPRECATION -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Tools.cpp -o Tools.o Tools.cpp:41:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] error(errorInfo.c_str()); ^~~~~~~~~~~~~~~~~ Tools.cpp:41:8: note: treat the string as an argument to avoid this error(errorInfo.c_str()); ^ "%s", Tools.cpp:51:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] warning(warningInfo.c_str()); ^~~~~~~~~~~~~~~~~~~ Tools.cpp:51:10: note: treat the string as an argument to avoid this warning(warningInfo.c_str()); ^ "%s", Tools.cpp:60:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Rprintf(msg.c_str()); ^~~~~~~~~~~ Tools.cpp:60:10: note: treat the string as an argument to avoid this Rprintf(msg.c_str()); ^ "%s", 3 warnings generated. clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/Library/Frameworks/R.framework/Resources/include -I../inst/include/OpenCL_header -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_SILENCE_DEPRECATION -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c kernelManager.cpp -o kernelManager.o clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/Library/Frameworks/R.framework/Resources/include -I../inst/include/OpenCL_header -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_SILENCE_DEPRECATION -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c openArray.cpp -o openArray.o clang++ -arch arm64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o gpuMagic.so C_Interface.o R_functionRegistration.o Tools.o kernelManager.o openArray.o -framework OpenCL -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /private/var/folders/r0/l4fjk6cj5xj0j3brt4bplpl40000gt/T/Rtmpk7YhAN/Rinst2579492b3f55/00LOCK-gpuMagic/00new/gpuMagic/libs ** R ** inst ** byte-compile and prepare package for lazy loading Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/readxl/libs/readxl.so': dlopen(/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/readxl/libs/readxl.so, 0x0006): Symbol not found: _iconv Referenced from: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/readxl/libs/readxl.so Expected in: <5071C9AE-D5F8-3824-BAFF-EA562080A74A> /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib Calls: ... asNamespace -> loadNamespace -> library.dynam -> dyn.load Execution halted ERROR: lazy loading failed for package ‘gpuMagic’ * removing ‘/private/var/folders/r0/l4fjk6cj5xj0j3brt4bplpl40000gt/T/Rtmpk7YhAN/Rinst2579492b3f55/gpuMagic’ ----------------------------------- ERROR: package installation failed