############################################################################## ############################################################################## ### ### Running command: ### ### rm -rf SharedObject.buildbin-libdir && mkdir SharedObject.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh SharedObject_1.19.0.tar.gz /Library/Frameworks/R.framework/Resources/bin/R SharedObject.buildbin-libdir ### ############################################################################## ############################################################################## >>>>>>> >>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=SharedObject.buildbin-libdir SharedObject_1.19.0.tar.gz' >>>>>>> * installing *source* package ‘SharedObject’ ... ** using staged installation checking for gcc... clang -arch x86_64 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang -arch x86_64 accepts -g... yes checking for clang -arch x86_64 option to accept ISO C89... none needed checking for shm_open in -lrt... no configure: creating ./config.status config.status: creating src/Makevars ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++11 using SDK: ‘MacOSX11.3.sdk’ mkdir -p ../inst/include&&\ mkdir -p ../inst/include/SharedObject&&\ mkdir -p ../inst/usrlib clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include' -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 C_interface.cpp -o C_interface.o clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include' -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++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include' -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 altrep.cpp -o altrep.o altrep.cpp:146:61: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] Rf_error("Something is wrong with the unit size: %llu\n", unitSize); ~~~~ ^~~~~~~~ %zu 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.4-x86_64/Resources/library/BH/include' -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 altrepRegistration.cpp -o altrepRegistration.o clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include' -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 numericAltrepOperations.cpp -o numericAltrepOperations.o numericAltrepOperations.cpp:13:78: warning: format specifies type 'unsigned long long' but the argument has type 'R_xlen_t' (aka 'long') [-Wformat] Rprintf(" (len=%llu, type=%d, COW=%d, SC=%d, SS=%d) shared object ID:%s\n", Rf_xlength(x), TYPEOF(x), ~~~~ ^~~~~~~~~~~~~ %td 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.4-x86_64/Resources/library/BH/include' -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 sharedMemory.cpp -o sharedMemory.o clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include' -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 sharedObjectClass.cpp -o sharedObjectClass.o clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library/BH/include' -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 stringAltrepOperations.cpp -o stringAltrepOperations.o stringAltrepOperations.cpp:13:59: warning: format specifies type 'unsigned long long' but the argument has type 'R_xlen_t' (aka 'long') [-Wformat] Rprintf(" (len=%llu, COW=%d) shared string object\n", Rf_xlength(x), ~~~~ ^~~~~~~~~~~~~ %td 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.4-x86_64/Resources/library/BH/include' -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 utils.cpp -o utils.o utils.cpp:39:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Rprintf(buffer); ^~~~~~ utils.cpp:39:17: note: treat the string as an argument to avoid this Rprintf(buffer); ^ "%s", utils.cpp:49:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Rprintf(buffer); ^~~~~~ utils.cpp:49:17: note: treat the string as an argument to avoid this Rprintf(buffer); ^ "%s", utils.cpp:59:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Rprintf(buffer); ^~~~~~ utils.cpp:59:17: note: treat the string as an argument to avoid this Rprintf(buffer); ^ "%s", 3 warnings 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 SharedObject.so C_interface.o RcppExports.o altrep.o altrepRegistration.o numericAltrepOperations.o sharedMemory.o sharedObjectClass.o stringAltrepOperations.o utils.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation ar -crv SharedObject.a *.o a - C_interface.o a - RcppExports.o a - altrep.o a - altrepRegistration.o a - numericAltrepOperations.o a - sharedMemory.o a - sharedObjectClass.o a - stringAltrepOperations.o a - utils.o cp "sharedMemory.h" "../inst/include/SharedObject/"&&\ cp "SharedObject.a" "../inst/usrlib/" installing to /Users/biocbuild/bbs-3.20-bioc/meat/SharedObject.buildbin-libdir/00LOCK-SharedObject/00new/SharedObject/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 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 (SharedObject) >>>>>>> >>>>>>> FIXING PATHS TO DYNAMIC LIBRARIES FOR SharedObject.buildbin-libdir/SharedObject/libs/SharedObject.so >>>>>>> >>>>>>> Paths before fix: SharedObject.buildbin-libdir/SharedObject/libs/SharedObject.so: SharedObject.so (compatibility version 0.0.0, current version 0.0.0) /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libR.dylib (compatibility version 4.4.0, current version 4.4.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.4-x86_64/Resources/lib/libgcc_s.1.1.dylib" "SharedObject.buildbin-libdir/SharedObject/libs/SharedObject.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" "SharedObject.buildbin-libdir/SharedObject/libs/SharedObject.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" "SharedObject.buildbin-libdir/SharedObject/libs/SharedObject.so" >>>>>>> Paths after fix: SharedObject.buildbin-libdir/SharedObject/libs/SharedObject.so: SharedObject.so (compatibility version 0.0.0, current version 0.0.0) /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libR.dylib (compatibility version 4.4.0, current version 4.4.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)