############################################################################## ############################################################################## ### ### Running command: ### ### rm -rf COMPASS.buildbin-libdir && mkdir COMPASS.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh COMPASS_1.44.0.tar.gz /Library/Frameworks/R.framework/Resources/bin/R COMPASS.buildbin-libdir ### ############################################################################## ############################################################################## >>>>>>> >>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=COMPASS.buildbin-libdir COMPASS_1.44.0.tar.gz' >>>>>>> * installing *source* package ‘COMPASS’ ... ** using staged installation R version 4.4.1 (2024-06-14) -- "Race for Your Life" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: aarch64-apple-darwin20 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > source('R/cleanup.R'); cleanup() It looks like this isn't being called from R CMD build; bailing out > > ** 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.4-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.4-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -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.4-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/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Users/biocbuild/bbs-3.20-bioc/meat/COMPASS.buildbin-libdir/00LOCK-COMPASS/00new/COMPASS/libs ** R ** data *** moving datasets to lazyload DB ** 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 (COMPASS) >>>>>>> >>>>>>> FIXING PATHS TO DYNAMIC LIBRARIES FOR COMPASS.buildbin-libdir/COMPASS/libs/COMPASS.so >>>>>>> >>>>>>> Paths before fix: COMPASS.buildbin-libdir/COMPASS/libs/COMPASS.so: COMPASS.so (compatibility version 0.0.0, current version 0.0.0) /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib (compatibility version 4.4.0, current version 4.4.1) /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRblas.dylib (compatibility version 0.0.0, current version 0.0.0) /opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0/libgfortran.5.dylib (compatibility version 6.0.0, current version 6.0.0) /opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0) /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib (compatibility version 4.4.0, current version 4.4.1) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1775.118.101) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 905.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.100.5) >>>>>>> Fix with install_name_tool: install_name_tool -change "/usr/local/lib/libgcc_s.1.1.dylib" "/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libgcc_s.1.1.dylib" "COMPASS.buildbin-libdir/COMPASS/libs/COMPASS.so" install_name_tool -change "/usr/local/lib/libgfortran.5.dylib" "/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libgfortran.5.dylib" "COMPASS.buildbin-libdir/COMPASS/libs/COMPASS.so" install_name_tool -change "/usr/local/lib/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libquadmath.0.dylib" "COMPASS.buildbin-libdir/COMPASS/libs/COMPASS.so" install_name_tool -change "/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0/libgfortran.5.dylib" "/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libgfortran.5.dylib" "COMPASS.buildbin-libdir/COMPASS/libs/COMPASS.so" install_name_tool -change "/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libquadmath.0.dylib" "COMPASS.buildbin-libdir/COMPASS/libs/COMPASS.so" >>>>>>> Paths after fix: COMPASS.buildbin-libdir/COMPASS/libs/COMPASS.so: COMPASS.so (compatibility version 0.0.0, current version 0.0.0) /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib (compatibility version 4.4.0, current version 4.4.1) /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRblas.dylib (compatibility version 0.0.0, current version 0.0.0) /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libgfortran.5.dylib (compatibility version 6.0.0, current version 6.0.0) /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0) /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib (compatibility version 4.4.0, current version 4.4.1) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1775.118.101) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 905.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.100.5)