############################################################################## ############################################################################## ### ### Running command: ### ### rm -rf QuasR.buildbin-libdir && mkdir QuasR.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh QuasR_1.47.2.tar.gz /Library/Frameworks/R.framework/Resources/bin/R QuasR.buildbin-libdir ### ############################################################################## ############################################################################## >>>>>>> >>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=QuasR.buildbin-libdir QuasR_1.47.2.tar.gz' >>>>>>> * installing *source* package ‘QuasR’ ... ** 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 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c R_init_QuasR.cpp -o R_init_QuasR.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c bam_cat.c -o bam_cat.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c bam_plbuf.c -o bam_plbuf.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c cat_bam.c -o cat_bam.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c convert_reads_id_bis_rc.c -o convert_reads_id_bis_rc.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c count_alignments.c -o count_alignments.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c count_alignments_subregions.c -o count_alignments_subregions.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c count_junctions.cpp -o count_junctions.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c export_wig.c -o export_wig.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c extract_unmapped_reads.c -o extract_unmapped_reads.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c filter_hisat2.c -o filter_hisat2.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c idxstats_bam.c -o idxstats_bam.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c merge_reorder_sam.cpp -o merge_reorder_sam.o merge_reorder_sam.cpp:178:16: warning: variable 'nr' set but not used [-Wunused-but-set-variable] static int nr; ^ 1 warning generated. clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c nucleotide_alignment_frequencies.c -o nucleotide_alignment_frequencies.o nucleotide_alignment_frequencies.c:59:6: warning: variable 'u' set but not used [-Wunused-but-set-variable] int u = 0; // count of matched position since last mismatch ^ nucleotide_alignment_frequencies.c:62:10: warning: variable 'nm' set but not used [-Wunused-but-set-variable] int32_t nm = 0; // number of mismatch ^ 2 warnings generated. clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c profile_alignments.c -o profile_alignments.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c quantify_methylation.cpp -o quantify_methylation.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c remove_unmapped_from_sam.c -o remove_unmapped_from_sam.o remove_unmapped_from_sam.c:33:12: warning: variable 'count' set but not used [-Wunused-but-set-variable] int r, count = 0; ^ 1 warning generated. clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sam_opts.c -o sam_opts.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sam_utils.c -o sam_utils.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c split_sam_chr.c -o split_sam_chr.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c utilities.c -o utilities.o 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 QuasR.so R_init_QuasR.o bam_cat.o bam_plbuf.o cat_bam.o convert_reads_id_bis_rc.o count_alignments.o count_alignments_subregions.o count_junctions.o export_wig.o extract_unmapped_reads.o filter_hisat2.o idxstats_bam.o merge_reorder_sam.o nucleotide_alignment_frequencies.o profile_alignments.o quantify_methylation.o remove_unmapped_from_sam.o sam_opts.o sam_utils.o split_sam_chr.o utilities.o /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Rhtslib/usrlib/libhts.a -lcurl -lbz2 -llzma -lz -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Users/biocbuild/bbs-3.21-bioc/meat/QuasR.buildbin-libdir/00LOCK-QuasR/00new/QuasR/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 (QuasR) >>>>>>> >>>>>>> FIXING PATHS TO DYNAMIC LIBRARIES FOR QuasR.buildbin-libdir/QuasR/libs/QuasR.so >>>>>>> >>>>>>> Paths before fix: QuasR.buildbin-libdir/QuasR/libs/QuasR.so: QuasR.so (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 9.0.0) /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11) /Library/Frameworks/R.framework/Versions/4.5-arm64/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-arm64/Resources/lib/libgcc_s.1.1.dylib" "QuasR.buildbin-libdir/QuasR/libs/QuasR.so" install_name_tool -change "/usr/local/lib/libgfortran.5.dylib" "/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/libgfortran.5.dylib" "QuasR.buildbin-libdir/QuasR/libs/QuasR.so" install_name_tool -change "/usr/local/lib/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/libquadmath.0.dylib" "QuasR.buildbin-libdir/QuasR/libs/QuasR.so" >>>>>>> Paths after fix: QuasR.buildbin-libdir/QuasR/libs/QuasR.so: QuasR.so (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 9.0.0) /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11) /Library/Frameworks/R.framework/Versions/4.5-arm64/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)