############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data COMPASS ### ############################################################################## ############################################################################## * checking for file ‘COMPASS/DESCRIPTION’ ... OK * preparing ‘COMPASS’: * checking DESCRIPTION meta-information ... OK * cleaning src * running ‘cleanup’ * installing the package to build vignettes ----------------------------------- * installing *source* package ‘COMPASS’ ... ** this is package ‘COMPASS’ version ‘1.45.0’ ** using staged installation ** libs using C compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ using SDK: ‘MacOSX11.3.sdk’ clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c COMPASS_c.c -o COMPASS_c.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c COMPASS_cpp.cpp -o COMPASS_cpp.o COMPASS_cpp.cpp:517:10: warning: variable 'psik' set but not used [-Wunused-but-set-variable] double psik = 0.; ^ COMPASS_cpp.cpp:526:7: warning: variable 'flagkk' set but not used [-Wunused-but-set-variable] int flagkk = 0; ^ 2 warnings generated. clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c COMPASS_init.c -o COMPASS_init.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 COMPASS.so COMPASS_c.o COMPASS_cpp.o COMPASS_init.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/14.2.0 -L/opt/gfortran/lib -lemutls_w -lheapt_w -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation ld: warning: search path '/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/14.2.0' not found ld: library 'emutls_w' not found clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [COMPASS.so] Error 1 ERROR: compilation failed for package ‘COMPASS’ * removing ‘/private/var/folders/r0/l4fjk6cj5xj0j3brt4bplpl40000gt/T/RtmpdhR40p/Rinst541e328dd4af/COMPASS’ ----------------------------------- ERROR: package installation failed