############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/R/R/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: ‘aarch64-unknown-linux-gnu-g++ (GCC) 14.2.0’ using C++11 /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++11 -I"/home/biocbuild/R/R/include" -DNDEBUG -I/home/biocbuild/R/R/include -I../inst/include/OpenCL_header -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_SILENCE_DEPRECATION -I'/home/biocbuild/R/R-4.4.2/site-library/Rcpp/include' -I/usr/local/include -fPIC -g -O2 -Wall -Werror=format-security -c C_Interface.cpp -o C_Interface.o C_Interface.cpp: In function ‘SEXPREC* download(SEXP)’: C_Interface.cpp:142:19: warning: ‘res’ may be used uninitialized [-Wmaybe-uninitialized] 142 | return(res); | ^ C_Interface.cpp:112:14: note: ‘res’ was declared here 112 | SEXP res; | ^~~ /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++11 -I"/home/biocbuild/R/R/include" -DNDEBUG -I/home/biocbuild/R/R/include -I../inst/include/OpenCL_header -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_SILENCE_DEPRECATION -I'/home/biocbuild/R/R-4.4.2/site-library/Rcpp/include' -I/usr/local/include -fPIC -g -O2 -Wall -Werror=format-security -c R_functionRegistration.cpp -o R_functionRegistration.o /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++11 -I"/home/biocbuild/R/R/include" -DNDEBUG -I/home/biocbuild/R/R/include -I../inst/include/OpenCL_header -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_SILENCE_DEPRECATION -I'/home/biocbuild/R/R-4.4.2/site-library/Rcpp/include' -I/usr/local/include -fPIC -g -O2 -Wall -Werror=format-security -c Tools.cpp -o Tools.o Tools.cpp: In function ‘void errorHandle(std::string)’: Tools.cpp:41:14: error: format not a string literal and no format arguments [-Werror=format-security] 41 | error(errorInfo.c_str()); Tools.cpp: In function ‘void warningHandle(std::string)’: Tools.cpp:51:16: error: format not a string literal and no format arguments [-Werror=format-security] 51 | warning(warningInfo.c_str()); Tools.cpp: In function ‘void message(std::string)’: Tools.cpp:60:16: error: format not a string literal and no format arguments [-Werror=format-security] 60 | Rprintf(msg.c_str()); | ~~~~~~~^~~~~~~~~~~~~ cc1plus: some warnings being treated as errors make: *** [/home/biocbuild/R/R/etc/Makeconf:204: Tools.o] Error 1 ERROR: compilation failed for package ‘gpuMagic’ * removing ‘/home/biocbuild/tmp/RtmpCNpgFG/Rinst30b6a9225e1e46/gpuMagic’ ----------------------------------- ERROR: package installation failed