############################################################################## ############################################################################## ### ### Running command: ### ### rm -rf ClustIRR.buildbin-libdir && mkdir ClustIRR.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh ClustIRR_1.4.0.tar.gz /Library/Frameworks/R.framework/Resources/bin/R ClustIRR.buildbin-libdir ### ############################################################################## ############################################################################## >>>>>>> >>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=ClustIRR.buildbin-libdir ClustIRR_1.4.0.tar.gz' >>>>>>> * installing *source* package ‘ClustIRR’ ... ** using staged installation ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++17 using SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppEigen/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppParallel/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include' -I/opt/R/x86_64/include -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppEigen/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppParallel/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include' -I/opt/R/x86_64/include -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -falign-functions=64 -Wall -g -O2 -c stanExports_dm.cc -o stanExports_dm.o In file included from stanExports_dm.cc:5: In file included from ./stanExports_dm.h:23: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/stan_fit.hpp:21: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stanExports_dm.cc:5: In file included from ./stanExports_dm.h:23: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/stan_fit.hpp:21: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stanExports_dm.cc:5: In file included from ./stanExports_dm.h:23: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct ops_partials_edge> { ^ /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? class ops_partials_edge; ^~~~~ struct In file included from stanExports_dm.cc:5: In file included from ./stanExports_dm.h:23: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/rstaninc.hpp:4: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret = stan::services::error_codes::CONFIG; ^ In file included from stanExports_dm.cc:5: ./stanExports_dm.h:443:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] int pos__ = std::numeric_limits::min(); ^ 5 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppEigen/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppParallel/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include' -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include' -I/opt/R/x86_64/include -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -falign-functions=64 -Wall -g -O2 -c stanExports_dm_n2.cc -o stanExports_dm_n2.o In file included from stanExports_dm_n2.cc:5: In file included from ./stanExports_dm_n2.h:23: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/stan_fit.hpp:21: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stanExports_dm_n2.cc:5: In file included from ./stanExports_dm_n2.h:23: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/stan_fit.hpp:21: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stanExports_dm_n2.cc:5: In file included from ./stanExports_dm_n2.h:23: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/rstaninc.hpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/stan_fit.hpp:43: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct ops_partials_edge> { ^ /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? class ops_partials_edge; ^~~~~ struct In file included from stanExports_dm_n2.cc:5: In file included from ./stanExports_dm_n2.h:23: In file included from /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/rstaninc.hpp:4: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret = stan::services::error_codes::CONFIG; ^ In file included from stanExports_dm_n2.cc:5: ./stanExports_dm_n2.h:392:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] int pos__ = std::numeric_limits::min(); ^ 5 warnings generated. clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o ClustIRR.so RcppExports.o stanExports_dm.o stanExports_dm_n2.o -L/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppParallel/lib -ltbb -ltbbmalloc -L/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppParallel/lib/ -Wl,-rpath,/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/RcppParallel/lib/ -ltbb -ltbbmalloc -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Users/biocbuild/bbs-3.20-bioc/meat/ClustIRR.buildbin-libdir/00LOCK-ClustIRR/00new/ClustIRR/libs ** R ** data ** 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 (ClustIRR) >>>>>>> >>>>>>> FIXING PATHS TO DYNAMIC LIBRARIES FOR ClustIRR.buildbin-libdir/ClustIRR/libs/ClustIRR.so >>>>>>> >>>>>>> Paths before fix: ClustIRR.buildbin-libdir/ClustIRR/libs/ClustIRR.so: ClustIRR.so (compatibility version 0.0.0, current version 0.0.0) @rpath/libtbb.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libtbbmalloc.dylib (compatibility version 0.0.0, current version 0.0.0) /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libR.dylib (compatibility version 4.4.0, current version 4.4.2) /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-x86_64/Resources/lib/libgcc_s.1.1.dylib" "ClustIRR.buildbin-libdir/ClustIRR/libs/ClustIRR.so" install_name_tool -change "/usr/local/lib/libgfortran.5.dylib" "/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libgfortran.5.dylib" "ClustIRR.buildbin-libdir/ClustIRR/libs/ClustIRR.so" install_name_tool -change "/usr/local/lib/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libquadmath.0.dylib" "ClustIRR.buildbin-libdir/ClustIRR/libs/ClustIRR.so" >>>>>>> Paths after fix: ClustIRR.buildbin-libdir/ClustIRR/libs/ClustIRR.so: ClustIRR.so (compatibility version 0.0.0, current version 0.0.0) @rpath/libtbb.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libtbbmalloc.dylib (compatibility version 0.0.0, current version 0.0.0) /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libR.dylib (compatibility version 4.4.0, current version 4.4.2) /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)