##############################################################################
##############################################################################
###
### Running command:
###
### rm -rf dreamlet.buildbin-libdir && mkdir dreamlet.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh dreamlet_1.3.3.tar.gz /Library/Frameworks/R.framework/Resources/bin/R dreamlet.buildbin-libdir
###
##############################################################################
##############################################################################
>>>>>>>
>>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=dreamlet.buildbin-libdir dreamlet_1.3.3.tar.gz'
>>>>>>>
* installing *source* package ‘dreamlet’ ...
** 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.4-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/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.4-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c colsum_beachmat.cpp -o colsum_beachmat.o
In file included from colsum_beachmat.cpp:1:
In file included from /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/beachmat.h:24:
In file included from /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/read_lin_block.h:11:
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:218:43: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:236:43: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const int*, int> get_col(size_t c, int* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:254:46: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 5)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:272:46: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
virtual sparse_index<const double*, int> get_col(size_t c, double* work_x, int* work_i, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 5)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:287:35: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const int*, int> get_col(size_t c, int* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:304:35: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const int*, int> get_row(size_t r, int* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:321:38: warning: 'beachmat::lin_sparse_matrix::get_col' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const double*, int> get_col(size_t c, double* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:52:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const int* get_col(size_t c, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:81:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_col' declared here: different number of parameters (4 vs 3)
virtual const double* get_col(size_t c, double* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:338:38: warning: 'beachmat::lin_sparse_matrix::get_row' hides overloaded virtual functions [-Woverloaded-virtual]
sparse_index<const double*, int> get_row(size_t r, double* work_x, int* work_i) {
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:66:24: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const int* get_row(size_t r, int* work, size_t first, size_t last) = 0;
^
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/beachmat/include/beachmat3/lin_matrix.h:95:27: note: hidden overloaded virtual function 'beachmat::lin_matrix::get_row' declared here: different number of parameters (4 vs 3)
virtual const double* get_row(size_t r, double* work, size_t first, size_t last) = 0;
^
8 warnings generated.
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 dreamlet.so RcppExports.o colsum_beachmat.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Users/biocbuild/bbs-3.20-bioc/meat/dreamlet.buildbin-libdir/00LOCK-dreamlet/00new/dreamlet/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** 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 (dreamlet)
>>>>>>>
>>>>>>> FIXING PATHS TO DYNAMIC LIBRARIES FOR dreamlet.buildbin-libdir/dreamlet/libs/dreamlet.so
>>>>>>>
>>>>>>> Paths before fix:
dreamlet.buildbin-libdir/dreamlet/libs/dreamlet.so:
dreamlet.so (compatibility version 0.0.0, current version 0.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" "dreamlet.buildbin-libdir/dreamlet/libs/dreamlet.so"
install_name_tool -change "/usr/local/lib/libgfortran.5.dylib" "/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libgfortran.5.dylib" "dreamlet.buildbin-libdir/dreamlet/libs/dreamlet.so"
install_name_tool -change "/usr/local/lib/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libquadmath.0.dylib" "dreamlet.buildbin-libdir/dreamlet/libs/dreamlet.so"
>>>>>>> Paths after fix:
dreamlet.buildbin-libdir/dreamlet/libs/dreamlet.so:
dreamlet.so (compatibility version 0.0.0, current version 0.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)