############################################################################## ############################################################################## ### ### Running command: ### ### rm -rf GrafGen.buildbin-libdir && mkdir GrafGen.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh GrafGen_1.3.0.tar.gz /Library/Frameworks/R.framework/Resources/bin/R GrafGen.buildbin-libdir ### ############################################################################## ############################################################################## >>>>>>> >>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=GrafGen.buildbin-libdir GrafGen_1.3.0.tar.gz' >>>>>>> * installing *source* package ‘GrafGen’ ... ** using staged installation ** libs using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ 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/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c AncestrySnps.cpp -o AncestrySnps.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c BedFileSnpGeno.cpp -o BedFileSnpGeno.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c BimFileAncestrySnps.cpp -o BimFileAncestrySnps.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c FamFileSamples.cpp -o FamFileSamples.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c GrafGenHp_init.c -o GrafGenHp_init.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c GrafPop.cpp -o GrafPop.o In file included from GrafPop.cpp:1: ./GrafPop.h:1:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c SampleGenoAncestry.cpp -o SampleGenoAncestry.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c SampleGenoDist.cpp -o SampleGenoDist.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c Util.cpp -o Util.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c VcfSampleAncestrySnpGeno.cpp -o VcfSampleAncestrySnpGeno.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 GrafGen.so AncestrySnps.o BedFileSnpGeno.o BimFileAncestrySnps.o FamFileSamples.o GrafGenHp_init.o GrafPop.o SampleGenoAncestry.o SampleGenoDist.o Util.o VcfSampleAncestrySnpGeno.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Users/biocbuild/bbs-3.21-bioc/meat/GrafGen.buildbin-libdir/00LOCK-GrafGen/00new/GrafGen/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 (GrafGen) >>>>>>> >>>>>>> FIXING PATHS TO DYNAMIC LIBRARIES FOR GrafGen.buildbin-libdir/GrafGen/libs/GrafGen.so >>>>>>> >>>>>>> Paths before fix: GrafGen.buildbin-libdir/GrafGen/libs/GrafGen.so: GrafGen.so (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" "GrafGen.buildbin-libdir/GrafGen/libs/GrafGen.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" "GrafGen.buildbin-libdir/GrafGen/libs/GrafGen.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" "GrafGen.buildbin-libdir/GrafGen/libs/GrafGen.so" >>>>>>> Paths after fix: GrafGen.buildbin-libdir/GrafGen/libs/GrafGen.so: GrafGen.so (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)