############################################################################## ############################################################################## ### ### Running command: ### ### rm -rf densvis.buildbin-libdir && mkdir densvis.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh densvis_1.16.0.tar.gz /Library/Frameworks/R.framework/Resources/bin/R densvis.buildbin-libdir ### ############################################################################## ############################################################################## >>>>>>> >>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=densvis.buildbin-libdir densvis_1.16.0.tar.gz' >>>>>>> * installing *source* package ‘densvis’ ... ** using non-staged installation via StagedInstall field ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/Rcpp/include' -I/opt/R/x86_64/include -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'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c densne.cpp -o densne.o densne.cpp:181:24: warning: variable 'row_P' is used uninitialized whenever 'for' loop exits because its condition is false [-Wsometimes-uninitialized] for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:201:33: note: uninitialized use occurs here computeExpectedLogDist(&ro, row_P, col_P, val_P, val_D, N, logdist_shift); ^~~~~ densne.cpp:181:24: note: remove the condition if it is always true for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:154:35: note: initialize the variable 'row_P' to silence this warning double* P; unsigned int* row_P; unsigned int* col_P; double* val_P; double* val_D; ^ = nullptr densne.cpp:181:24: warning: variable 'col_P' is used uninitialized whenever 'for' loop exits because its condition is false [-Wsometimes-uninitialized] for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:201:40: note: uninitialized use occurs here computeExpectedLogDist(&ro, row_P, col_P, val_P, val_D, N, logdist_shift); ^~~~~ densne.cpp:181:24: note: remove the condition if it is always true for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:154:56: note: initialize the variable 'col_P' to silence this warning double* P; unsigned int* row_P; unsigned int* col_P; double* val_P; double* val_D; ^ = nullptr densne.cpp:181:24: warning: variable 'val_P' is used uninitialized whenever 'for' loop exits because its condition is false [-Wsometimes-uninitialized] for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:201:47: note: uninitialized use occurs here computeExpectedLogDist(&ro, row_P, col_P, val_P, val_D, N, logdist_shift); ^~~~~ densne.cpp:181:24: note: remove the condition if it is always true for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:154:71: note: initialize the variable 'val_P' to silence this warning double* P; unsigned int* row_P; unsigned int* col_P; double* val_P; double* val_D; ^ = nullptr densne.cpp:181:24: warning: variable 'val_D' is used uninitialized whenever 'for' loop exits because its condition is false [-Wsometimes-uninitialized] for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:201:54: note: uninitialized use occurs here computeExpectedLogDist(&ro, row_P, col_P, val_P, val_D, N, logdist_shift); ^~~~~ densne.cpp:181:24: note: remove the condition if it is always true for(int i = 0; i < N * N; i++) P[i] /= sum_P; ^~~~~~~~~ densne.cpp:154:86: note: initialize the variable 'val_D' to silence this warning double* P; unsigned int* row_P; unsigned int* col_P; double* val_P; double* val_D; ^ = nullptr 4 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c densvis.cpp -o densvis.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sptree.cpp -o sptree.o 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 densvis.so RcppExports.o densne.o densvis.o sptree.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Users/biocbuild/bbs-3.20-bioc/meat/densvis.buildbin-libdir/densvis/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 * DONE (densvis) >>>>>>> >>>>>>> FIXING PATHS TO DYNAMIC LIBRARIES FOR densvis.buildbin-libdir/densvis/libs/densvis.so >>>>>>> >>>>>>> Paths before fix: densvis.buildbin-libdir/densvis/libs/densvis.so: densvis.so (compatibility version 0.0.0, current version 0.0.0) /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libRlapack.dylib (compatibility version 4.4.0, current version 4.4.2) /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libRblas.dylib (compatibility version 0.0.0, current version 0.0.0) /opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/12.2.0/libgfortran.5.dylib (compatibility version 6.0.0, current version 6.0.0) /opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/12.2.0/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.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" "densvis.buildbin-libdir/densvis/libs/densvis.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" "densvis.buildbin-libdir/densvis/libs/densvis.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" "densvis.buildbin-libdir/densvis/libs/densvis.so" install_name_tool -change "/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/12.2.0/libgfortran.5.dylib" "/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libgfortran.5.dylib" "densvis.buildbin-libdir/densvis/libs/densvis.so" install_name_tool -change "/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/12.2.0/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libquadmath.0.dylib" "densvis.buildbin-libdir/densvis/libs/densvis.so" >>>>>>> Paths after fix: densvis.buildbin-libdir/densvis/libs/densvis.so: densvis.so (compatibility version 0.0.0, current version 0.0.0) /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libRlapack.dylib (compatibility version 4.4.0, current version 4.4.2) /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libRblas.dylib (compatibility version 0.0.0, current version 0.0.0) /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libgfortran.5.dylib (compatibility version 6.0.0, current version 6.0.0) /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.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)