##############################################################################
##############################################################################
###
### Running command:
###
###   rm -rf geneXtendeR.buildbin-libdir && mkdir geneXtendeR.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh geneXtendeR_1.24.0.tar.gz /Library/Frameworks/R.framework/Resources/bin/R geneXtendeR.buildbin-libdir
###
##############################################################################
##############################################################################


>>>>>>> 
>>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=geneXtendeR.buildbin-libdir geneXtendeR_1.24.0.tar.gz'
>>>>>>> 

* installing *source* package ‘geneXtendeR’ ...
** 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 annotate.c -o annotate.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c extract_number.c -o extract_number.o
extract_number.c:72:10: warning: variable 'n_1' set but not used [-Wunused-but-set-variable]
    long n_1;
         ^
extract_number.c:52:12: warning: variable 'pvcfcol3_3' set but not used [-Wunused-but-set-variable]
    char * pvcfcol3_3;
           ^
extract_number.c:54:12: warning: variable 'pvcfcol5_5' set but not used [-Wunused-but-set-variable]
    char * pvcfcol5_5;
           ^
extract_number.c:66:10: warning: variable 'j_1' set but not used [-Wunused-but-set-variable]
    long j_1;
         ^
extract_number.c:53:12: warning: variable 'pvcfcol4_4' set but not used [-Wunused-but-set-variable]
    char * pvcfcol4_4;
           ^
extract_number.c:51:12: warning: variable 'pvcfcol2_2' set but not used [-Wunused-but-set-variable]
    char * pvcfcol2_2;
           ^
extract_number.c:50:12: warning: variable 'pvcfcol1_1' set but not used [-Wunused-but-set-variable]
    char * pvcfcol1_1;
           ^
7 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 extract_peaks.c -o extract_peaks.o
clang -arch arm64 -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 geneXtendeR.so annotate.o extract_number.o extract_peaks.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/geneXtendeR.buildbin-libdir/00LOCK-geneXtendeR/00new/geneXtendeR/libs
** R
** data
*** moving datasets to lazyload DB
** 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 (geneXtendeR)


>>>>>>> 
>>>>>>> FIXING LINKS FOR geneXtendeR.buildbin-libdir/geneXtendeR/libs/geneXtendeR.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" "geneXtendeR.buildbin-libdir/geneXtendeR/libs/geneXtendeR.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" "geneXtendeR.buildbin-libdir/geneXtendeR/libs/geneXtendeR.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" "geneXtendeR.buildbin-libdir/geneXtendeR/libs/geneXtendeR.so"