############################################################################## ############################################################################## ### ### Running command: ### ### rm -rf destiny.buildbin-libdir && mkdir destiny.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh destiny_3.21.0.tar.gz /Library/Frameworks/R.framework/Resources/bin/R destiny.buildbin-libdir ### ############################################################################## ############################################################################## >>>>>>> >>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=destiny.buildbin-libdir destiny_3.21.0.tar.gz' >>>>>>> * installing *source* package ‘destiny’ ... ** 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/Versions/4.5-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include' -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/grDevices/include' -I/opt/R/arm64/include -ggdb -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/Eigen/Sparse:26: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/Eigen/SparseCore:61: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/Eigen/Sparse:29: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/Eigen/SparseLU:35: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] Index replacements = 0; ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count = 0; ^ 5 warnings generated. clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include' -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/grDevices/include' -I/opt/R/arm64/include -ggdb -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c censoring.cpp -o censoring.o In file included from censoring.cpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/Eigen/Sparse:26: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/Eigen/SparseCore:61: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from censoring.cpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/Eigen/Sparse:29: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/Eigen/SparseLU:35: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from censoring.cpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] Index replacements = 0; ^ In file included from censoring.cpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count = 0; ^ censoring.cpp:57:14: warning: variable 'm0' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] } else if (!one_uncertain && one_missing) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ censoring.cpp:68:19: note: uninitialized use occurs here * ( std::erfc((m0-v) / sigma) - std::erfc((m1-v) / sigma) ) ^~ censoring.cpp:57:10: note: remove the 'if' if its condition is always true } else if (!one_uncertain && one_missing) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ censoring.cpp:57:14: warning: variable 'm0' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] } else if (!one_uncertain && one_missing) { ^~~~~~~~~~~~~~ censoring.cpp:68:19: note: uninitialized use occurs here * ( std::erfc((m0-v) / sigma) - std::erfc((m1-v) / sigma) ) ^~ censoring.cpp:57:14: note: remove the '&&' if its condition is always true } else if (!one_uncertain && one_missing) { ^~~~~~~~~~~~~~~~~ censoring.cpp:52:12: note: initialize the variable 'm0' to silence this warning double m0, m1; ^ = 0.0 censoring.cpp:57:14: warning: variable 'm1' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] } else if (!one_uncertain && one_missing) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ censoring.cpp:68:47: note: uninitialized use occurs here * ( std::erfc((m0-v) / sigma) - std::erfc((m1-v) / sigma) ) ^~ censoring.cpp:57:10: note: remove the 'if' if its condition is always true } else if (!one_uncertain && one_missing) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ censoring.cpp:57:14: warning: variable 'm1' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] } else if (!one_uncertain && one_missing) { ^~~~~~~~~~~~~~ censoring.cpp:68:47: note: uninitialized use occurs here * ( std::erfc((m0-v) / sigma) - std::erfc((m1-v) / sigma) ) ^~ censoring.cpp:57:14: note: remove the '&&' if its condition is always true } else if (!one_uncertain && one_missing) { ^~~~~~~~~~~~~~~~~ censoring.cpp:52:16: note: initialize the variable 'm1' to silence this warning double m0, m1; ^ = 0.0 censoring.cpp:57:14: warning: variable 'use_d' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] } else if (!one_uncertain && one_missing) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ censoring.cpp:63:20: note: uninitialized use occurs here const double v = use_d ? d : c; ^~~~~ censoring.cpp:57:10: note: remove the 'if' if its condition is always true } else if (!one_uncertain && one_missing) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ censoring.cpp:57:14: warning: variable 'use_d' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] } else if (!one_uncertain && one_missing) { ^~~~~~~~~~~~~~ censoring.cpp:63:20: note: uninitialized use occurs here const double v = use_d ? d : c; ^~~~~ censoring.cpp:57:14: note: remove the '&&' if its condition is always true } else if (!one_uncertain && one_missing) { ^~~~~~~~~~~~~~~~~ censoring.cpp:18:12: note: initialize the variable 'use_d' to silence this warning bool use_d; ^ = false 11 warnings generated. clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RcppEigen/include' -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/grDevices/include' -I/opt/R/arm64/include -ggdb -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c utils.cpp -o utils.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 destiny.so RcppExports.o censoring.o utils.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Users/biocbuild/bbs-3.21-bioc/meat/destiny.buildbin-libdir/00LOCK-destiny/00new/destiny/libs ** R ** data ** demo ** 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 (destiny) >>>>>>> >>>>>>> FIXING PATHS TO DYNAMIC LIBRARIES FOR destiny.buildbin-libdir/destiny/libs/destiny.so >>>>>>> >>>>>>> Paths before fix: destiny.buildbin-libdir/destiny/libs/destiny.so: destiny.so (compatibility version 0.0.0, current version 0.0.0) /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/libR.dylib (compatibility version 4.5.0, current version 4.5.0) /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.5-arm64/Resources/lib/libgcc_s.1.1.dylib" "destiny.buildbin-libdir/destiny/libs/destiny.so" install_name_tool -change "/usr/local/lib/libgfortran.5.dylib" "/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/libgfortran.5.dylib" "destiny.buildbin-libdir/destiny/libs/destiny.so" install_name_tool -change "/usr/local/lib/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/libquadmath.0.dylib" "destiny.buildbin-libdir/destiny/libs/destiny.so" >>>>>>> Paths after fix: destiny.buildbin-libdir/destiny/libs/destiny.so: destiny.so (compatibility version 0.0.0, current version 0.0.0) /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/libR.dylib (compatibility version 4.5.0, current version 4.5.0) /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)