############################################################################## ############################################################################## ### ### Running command: ### ### rm -rf mbkmeans.buildbin-libdir && mkdir mbkmeans.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh mbkmeans_1.16.0.tar.gz /Library/Frameworks/R.framework/Resources/bin/R mbkmeans.buildbin-libdir ### ############################################################################## ############################################################################## >>>>>>> >>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=mbkmeans.buildbin-libdir mbkmeans_1.16.0.tar.gz' >>>>>>> * installing *source* package ‘mbkmeans’ ... ** using staged installation ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ 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/Versions/4.3-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RcppArmadillo/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Rhdf5lib/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/beachmat/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/ClusterR/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RcppArmadillo/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Rhdf5lib/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/beachmat/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/ClusterR/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c mini_batch.cpp -o mini_batch.o In file included from mini_batch.cpp:2: In file included from /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57: In file included from /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RcppArmadillo/include/armadillo:26: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RcppArmadillo/include/armadillo_bits/config.hpp:338:11: warning: INFO: support for ARMA_DONT_PRINT_ERRORS option has been removed [-W#pragma-messages] #pragma message ("INFO: support for ARMA_DONT_PRINT_ERRORS option has been removed") ^ /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RcppArmadillo/include/armadillo_bits/config.hpp:343:13: warning: INFO: suggest to use ARMA_WARN_LEVEL option instead [-W#pragma-messages] #pragma message ("INFO: suggest to use ARMA_WARN_LEVEL option instead") ^ /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RcppArmadillo/include/armadillo_bits/config.hpp:346:11: warning: INFO: see the documentation for details [-W#pragma-messages] #pragma message ("INFO: see the documentation for details") ^ In file included from mini_batch.cpp:3: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/ClusterR/include/ClusterRHeader.h:862:14: warning: variable 'status' set but not used [-Wunused-but-set-variable] bool status; ^ /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/ClusterR/include/ClusterRHeader.h:1530:14: warning: variable 'status' set but not used [-Wunused-but-set-variable] bool status; ^ 5 warnings generated. clang++ -arch arm64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o mbkmeans.so RcppExports.o mini_batch.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Users/biocbuild/bbs-3.17-bioc-mac-arm64/meat/mbkmeans.buildbin-libdir/00LOCK-mbkmeans/00new/mbkmeans/libs ** R ** 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 (mbkmeans) >>>>>>> >>>>>>> FIXING PATHS TO DYNAMIC LIBRARIES FOR mbkmeans.buildbin-libdir/mbkmeans/libs/mbkmeans.so >>>>>>> >>>>>>> Paths before fix: mbkmeans.buildbin-libdir/mbkmeans/libs/mbkmeans.so: mbkmeans.so (compatibility version 0.0.0, current version 0.0.0) /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libR.dylib (compatibility version 4.3.0, current version 4.3.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.3-arm64/Resources/lib/libgcc_s.1.1.dylib" "mbkmeans.buildbin-libdir/mbkmeans/libs/mbkmeans.so" install_name_tool -change "/usr/local/lib/libgfortran.5.dylib" "/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libgfortran.5.dylib" "mbkmeans.buildbin-libdir/mbkmeans/libs/mbkmeans.so" install_name_tool -change "/usr/local/lib/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libquadmath.0.dylib" "mbkmeans.buildbin-libdir/mbkmeans/libs/mbkmeans.so" >>>>>>> Paths after fix: mbkmeans.buildbin-libdir/mbkmeans/libs/mbkmeans.so: mbkmeans.so (compatibility version 0.0.0, current version 0.0.0) /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libR.dylib (compatibility version 4.3.0, current version 4.3.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)