############################################################################## ############################################################################## ### ### Running command: ### ### rm -rf fastseg.buildbin-libdir && mkdir fastseg.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh fastseg_1.52.0.tar.gz /Library/Frameworks/R.framework/Resources/bin/R fastseg.buildbin-libdir ### ############################################################################## ############################################################################## >>>>>>> >>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=fastseg.buildbin-libdir fastseg_1.52.0.tar.gz' >>>>>>> * installing *source* package ‘fastseg’ ... ** using staged installation ** libs using C compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ using SDK: ‘MacOSX11.3.sdk’ 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_fastseg.c -o R_init_fastseg.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c segment.cpp -o segment.o segment.cpp:60:20: warning: variable 'globalSd' set but not used [-Wunused-but-set-variable] double globalMean,globalSd,diff,M2,globalVariance; ^ segment.cpp:61:9: warning: variable 'oldStatistic' set but not used [-Wunused-but-set-variable] double oldStatistic, meanLeft,meanRight,varLeft,varRight; ^ segment.cpp:62:31: warning: variable 'maxStatistic' set but not used [-Wunused-but-set-variable] double newStatistic,meanDiff,maxStatistic,DOF,a,b,eps1; ^ segment.cpp:63:40: warning: variable 'maxIdx' set but not used [-Wunused-but-set-variable] double newPValue, maxPValue,oldPValue,maxIdx; ^ segment.cpp:65:9: warning: unused variable 'Rf_beta' [-Wunused-variable] double beta,nn; ^ /Library/Frameworks/R.framework/Resources/include/Rmath.h:210:15: note: expanded from macro 'beta' #define beta Rf_beta ^ 5 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c segmentCyberT.cpp -o segmentCyberT.o segmentCyberT.cpp:59:20: warning: variable 'globalSd' set but not used [-Wunused-but-set-variable] double globalMean,globalSd,diff,M2,globalVariance; ^ segmentCyberT.cpp:60:9: warning: variable 'oldStatistic' set but not used [-Wunused-but-set-variable] double oldStatistic,meanLeft,meanRight,varLeft,varRight; ^ segmentCyberT.cpp:61:31: warning: variable 'maxStatistic' set but not used [-Wunused-but-set-variable] double newStatistic,meanDiff,maxStatistic,DOF,a,b,eps1; ^ segmentCyberT.cpp:63:50: warning: unused variable 'Rf_beta' [-Wunused-variable] double newStatisticBptLeft,newStatisticBptRight,beta,nn; ^ /Library/Frameworks/R.framework/Resources/include/Rmath.h:210:15: note: expanded from macro 'beta' #define beta Rf_beta ^ 4 warnings generated. clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o fastseg.so R_init_fastseg.o segment.o segmentCyberT.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Users/biocbuild/bbs-3.20-bioc/meat/fastseg.buildbin-libdir/00LOCK-fastseg/00new/fastseg/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 (fastseg) >>>>>>> >>>>>>> FIXING PATHS TO DYNAMIC LIBRARIES FOR fastseg.buildbin-libdir/fastseg/libs/fastseg.so >>>>>>> >>>>>>> Paths before fix: fastseg.buildbin-libdir/fastseg/libs/fastseg.so: fastseg.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" "fastseg.buildbin-libdir/fastseg/libs/fastseg.so" install_name_tool -change "/usr/local/lib/libgfortran.5.dylib" "/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libgfortran.5.dylib" "fastseg.buildbin-libdir/fastseg/libs/fastseg.so" install_name_tool -change "/usr/local/lib/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libquadmath.0.dylib" "fastseg.buildbin-libdir/fastseg/libs/fastseg.so" >>>>>>> Paths after fix: fastseg.buildbin-libdir/fastseg/libs/fastseg.so: fastseg.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)