############################################################################## ############################################################################## ### ### Running command: ### ### rm -rf cn.farms.buildbin-libdir && mkdir cn.farms.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh cn.farms_1.46.0.tar.gz /Library/Frameworks/R.framework/Resources/bin/R cn.farms.buildbin-libdir ### ############################################################################## ############################################################################## >>>>>>> >>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=cn.farms.buildbin-libdir cn.farms_1.46.0.tar.gz' >>>>>>> * installing *source* package ‘cn.farms’ ... ** using staged installation ** libs clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_init_cnfarms.c -o R_init_cnfarms.o clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c laplace.cpp -o laplace.o laplace.cpp:275:10: warning: variable 'I1left' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if(argLeft >= 0.0 && argRight >= 0.0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ laplace.cpp:364:36: note: uninitialized use occurs here double I2left=(-leftMy/leftSigma)*I1left+I0left; ^~~~~~ laplace.cpp:275:7: note: remove the 'if' if its condition is always true else if(argLeft >= 0.0 && argRight >= 0.0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ laplace.cpp:275:10: warning: variable 'I1left' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] else if(argLeft >= 0.0 && argRight >= 0.0) { ^~~~~~~~~~~~~~ laplace.cpp:364:36: note: uninitialized use occurs here double I2left=(-leftMy/leftSigma)*I1left+I0left; ^~~~~~ laplace.cpp:275:10: note: remove the '&&' if its condition is always true else if(argLeft >= 0.0 && argRight >= 0.0) { ^~~~~~~~~~~~~~~~~ laplace.cpp:198:15: note: initialize the variable 'I1left' to silence this warning double I1left; ^ = 0.0 laplace.cpp:275:10: warning: variable 'I1right' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if(argLeft >= 0.0 && argRight >= 0.0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ laplace.cpp:365:39: note: uninitialized use occurs here double I2right=(-rightMy/rightSigma)*I1right+I0right; ^~~~~~~ laplace.cpp:275:7: note: remove the 'if' if its condition is always true else if(argLeft >= 0.0 && argRight >= 0.0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ laplace.cpp:275:10: warning: variable 'I1right' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] else if(argLeft >= 0.0 && argRight >= 0.0) { ^~~~~~~~~~~~~~ laplace.cpp:365:39: note: uninitialized use occurs here double I2right=(-rightMy/rightSigma)*I1right+I0right; ^~~~~~~ laplace.cpp:275:10: note: remove the '&&' if its condition is always true else if(argLeft >= 0.0 && argRight >= 0.0) { ^~~~~~~~~~~~~~~~~ laplace.cpp:199:16: note: initialize the variable 'I1right' to silence this warning double I1right; ^ = 0.0 laplace.cpp:442:6: warning: unused variable 'method' [-Wunused-variable] int method=0; ^ laplace.cpp:23:11: warning: unused variable 'steps' [-Wunused-const-variable] const int steps=30; ^ laplace.cpp:26:14: warning: unused variable 'integrationFailureFactor' [-Wunused-const-variable] const double integrationFailureFactor=5.0; ^ laplace.cpp:27:14: warning: unused variable 'sigmaFactor' [-Wunused-const-variable] const double sigmaFactor=0.1; ^ laplace.cpp:30:14: warning: unused variable 'Pi' [-Wunused-const-variable] const double Pi=M_PI; ^ laplace.cpp:31:14: warning: unused variable 'E' [-Wunused-const-variable] const double E=M_E; ^ laplace.cpp:34:14: warning: unused variable 'sqrt3' [-Wunused-const-variable] const double sqrt3=1.7320508075688772935274463415058723669428052538104; ^ laplace.cpp:35:14: warning: unused variable 'sqrt2Pi' [-Wunused-const-variable] const double sqrt2Pi=2.5066282746310005024157652848110452530069867406099; ^ 12 warnings generated. clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sparse_farms.c -o sparse_farms.o clang++ -arch arm64 -std=gnu++14 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o cn.farms.so R_init_cnfarms.o laplace.o sparse_farms.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation ld: warning: -undefined dynamic_lookup may not work with chained fixups installing to /Volumes/External/bbs-3.16-bioc-m1/meat/cn.farms.buildbin-libdir/00LOCK-cn.farms/00new/cn.farms/libs ** R ** 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 (cn.farms) >>>>>>> >>>>>>> FIXING LINKS FOR cn.farms.buildbin-libdir/cn.farms/libs/cn.farms.so >>>>>>> install_name_tool -change "/opt/R/arm64/lib/libgcc_s.1.1.dylib" "/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libgcc_s.1.1.dylib" "cn.farms.buildbin-libdir/cn.farms/libs/cn.farms.so" install_name_tool -change "/opt/R/arm64/lib/libgfortran.5.dylib" "/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libgfortran.5.dylib" "cn.farms.buildbin-libdir/cn.farms/libs/cn.farms.so" install_name_tool -change "/opt/R/arm64/lib/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libquadmath.0.dylib" "cn.farms.buildbin-libdir/cn.farms/libs/cn.farms.so"