##############################################################################
##############################################################################
###
### Running command:
###
### rm -rf dada2.buildbin-libdir && mkdir dada2.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh dada2_1.35.0.tar.gz /Library/Frameworks/R.framework/Resources/bin/R dada2.buildbin-libdir
###
##############################################################################
##############################################################################
>>>>>>>
>>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=dada2.buildbin-libdir dada2_1.35.0.tar.gz'
>>>>>>>
* installing *source* package ‘dada2’ ...
** 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 x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppParallel/include' -I/opt/R/x86_64/include -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 ./../inst/include/dada2.h:7:
./../inst/include/dada2_RcppExports.h:14:14: warning: unused function 'validateSignature' [-Wunused-function]
void validateSignature(const char* sig) {
^
1 warning generated.
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppParallel/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c Rmain.cpp -o Rmain.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppParallel/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c chimera.cpp -o chimera.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppParallel/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c cluster.cpp -o cluster.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppParallel/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c containers.cpp -o containers.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppParallel/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c error.cpp -o error.o
error.cpp:178:51: warning: variable 'ncol' set but not used [-Wunused-but-set-variable]
unsigned int i, pos, pos1, qind, j, r, s, nti0, ncol;
^
1 warning generated.
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppParallel/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c evaluate.cpp -o evaluate.o
evaluate.cpp:327:20: warning: variable 'len2' set but not used [-Wunused-but-set-variable]
size_t len1 = 0, len2 = 0;
^
evaluate.cpp:327:10: warning: variable 'len1' set but not used [-Wunused-but-set-variable]
size_t len1 = 0, len2 = 0;
^
2 warnings generated.
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppParallel/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c filter.cpp -o filter.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppParallel/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c kmers.cpp -o kmers.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppParallel/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c misc.cpp -o misc.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppParallel/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c nwalign_endsfree.cpp -o nwalign_endsfree.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppParallel/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c nwalign_vectorized.cpp -o nwalign_vectorized.o
nwalign_vectorized.cpp:280:101: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
Rprintf("len1/2=(%i, %i), nrow,ncol=(%i,%i), ij=(%i,%i), rc=(%i,%i), d[][]=%i, p[][]=%i\n", len1, len2, nrow, ncol, i,j,i+j,(2*start_col+j-i)/2, d[(i+j)*ncol + (2*start_col+j-i)/2], p[(i+j)*ncol + (2*start_col+j-i)/2]);
~~ ^~~~
%zu
nwalign_vectorized.cpp:280:107: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
Rprintf("len1/2=(%i, %i), nrow,ncol=(%i,%i), ij=(%i,%i), rc=(%i,%i), d[][]=%i, p[][]=%i\n", len1, len2, nrow, ncol, i,j,i+j,(2*start_col+j-i)/2, d[(i+j)*ncol + (2*start_col+j-i)/2], p[(i+j)*ncol + (2*start_col+j-i)/2]);
~~ ^~~~
%zu
nwalign_vectorized.cpp:280:113: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
Rprintf("len1/2=(%i, %i), nrow,ncol=(%i,%i), ij=(%i,%i), rc=(%i,%i), d[][]=%i, p[][]=%i\n", len1, len2, nrow, ncol, i,j,i+j,(2*start_col+j-i)/2, d[(i+j)*ncol + (2*start_col+j-i)/2], p[(i+j)*ncol + (2*start_col+j-i)/2]);
~~ ^~~~
%zu
nwalign_vectorized.cpp:280:119: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
Rprintf("len1/2=(%i, %i), nrow,ncol=(%i,%i), ij=(%i,%i), rc=(%i,%i), d[][]=%i, p[][]=%i\n", len1, len2, nrow, ncol, i,j,i+j,(2*start_col+j-i)/2, d[(i+j)*ncol + (2*start_col+j-i)/2], p[(i+j)*ncol + (2*start_col+j-i)/2]);
~~ ^~~~
%zu
nwalign_vectorized.cpp:280:125: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
Rprintf("len1/2=(%i, %i), nrow,ncol=(%i,%i), ij=(%i,%i), rc=(%i,%i), d[][]=%i, p[][]=%i\n", len1, len2, nrow, ncol, i,j,i+j,(2*start_col+j-i)/2, d[(i+j)*ncol + (2*start_col+j-i)/2], p[(i+j)*ncol + (2*start_col+j-i)/2]);
~~ ^
%zu
nwalign_vectorized.cpp:280:127: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
Rprintf("len1/2=(%i, %i), nrow,ncol=(%i,%i), ij=(%i,%i), rc=(%i,%i), d[][]=%i, p[][]=%i\n", len1, len2, nrow, ncol, i,j,i+j,(2*start_col+j-i)/2, d[(i+j)*ncol + (2*start_col+j-i)/2], p[(i+j)*ncol + (2*start_col+j-i)/2]);
~~ ^
%zu
nwalign_vectorized.cpp:280:129: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
Rprintf("len1/2=(%i, %i), nrow,ncol=(%i,%i), ij=(%i,%i), rc=(%i,%i), d[][]=%i, p[][]=%i\n", len1, len2, nrow, ncol, i,j,i+j,(2*start_col+j-i)/2, d[(i+j)*ncol + (2*start_col+j-i)/2], p[(i+j)*ncol + (2*start_col+j-i)/2]);
~~ ^~~
%lu
nwalign_vectorized.cpp:280:133: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
Rprintf("len1/2=(%i, %i), nrow,ncol=(%i,%i), ij=(%i,%i), rc=(%i,%i), d[][]=%i, p[][]=%i\n", len1, len2, nrow, ncol, i,j,i+j,(2*start_col+j-i)/2, d[(i+j)*ncol + (2*start_col+j-i)/2], p[(i+j)*ncol + (2*start_col+j-i)/2]);
~~ ^~~~~~~~~~~~~~~~~~~
%lu
nwalign_vectorized.cpp:75:21: warning: variable 'end_col' set but not used [-Wunused-but-set-variable]
size_t start_col, end_col;
^
9 warnings generated.
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppParallel/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c pval.cpp -o pval.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppParallel/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c taxonomy.cpp -o taxonomy.o
taxonomy.cpp:145:31: warning: variable 'boot_match' set but not used [-Wunused-but-set-variable]
unsigned int boot, booti, boot_match, arraylen, arraylen_rc;
^
1 warning generated.
clang++ -arch x86_64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o dada2.so RcppExports.o Rmain.o chimera.o cluster.o containers.o error.o evaluate.o filter.o kmers.o misc.o nwalign_endsfree.o nwalign_vectorized.o pval.o taxonomy.o -L/Library/Frameworks/R.framework/Versions/4.5-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.21-bioc/meat/dada2.buildbin-libdir/00LOCK-dada2/00new/dada2/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 (dada2)
>>>>>>>
>>>>>>> FIXING PATHS TO DYNAMIC LIBRARIES FOR dada2.buildbin-libdir/dada2/libs/dada2.so
>>>>>>>
>>>>>>> Paths before fix:
dada2.buildbin-libdir/dada2/libs/dada2.so:
dada2.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.5-x86_64/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-x86_64/Resources/lib/libgcc_s.1.1.dylib" "dada2.buildbin-libdir/dada2/libs/dada2.so"
install_name_tool -change "/usr/local/lib/libgfortran.5.dylib" "/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/lib/libgfortran.5.dylib" "dada2.buildbin-libdir/dada2/libs/dada2.so"
install_name_tool -change "/usr/local/lib/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/lib/libquadmath.0.dylib" "dada2.buildbin-libdir/dada2/libs/dada2.so"
>>>>>>> Paths after fix:
dada2.buildbin-libdir/dada2/libs/dada2.so:
dada2.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.5-x86_64/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)