############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data seqbias ### ############################################################################## ############################################################################## * checking for file ‘seqbias/DESCRIPTION’ ... OK * preparing ‘seqbias’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package ‘seqbias’ ... ** 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’ $SEQBIAS_OBJ is [common.o miscmath.o pos_table.o kmer_matrix.o logger.o motif.o seqbias.o sequencing_bias.o twobitseq.o] $YAML_CPP_OBJ is [aliasmanager.o conversion.o directives.o emitfromevents.o emitter.o emitterstate.o emitterutils.o exp.o iterator.o nodebuilder.o node.o nodeownership.o null.o ostream.o parser.o regex.o scanner.o scanscalar.o scantag.o scantoken.o simplekey.o singledocparser.o stream.o tag.o] clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/Rhtslib/include' -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/zlibbioc/include' -I/opt/R/x86_64/include -Wall -Wextra -I. -fPIC -falign-functions=64 -Wall -g -O2 -c common.c -o common.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/Rhtslib/include' -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/zlibbioc/include' -I/opt/R/x86_64/include -Wall -Wextra -I. -fPIC -falign-functions=64 -Wall -g -O2 -c miscmath.c -o miscmath.o miscmath.c:21:12: warning: 'finite' is deprecated: first deprecated in macOS 10.9 - Use `isfinite((double)x)` instead. [-Wdeprecated-declarations] return finite(a) && 0.0 <= a && a <= 1.0; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/math.h:752:12: note: 'finite' has been explicitly marked deprecated here extern int finite(double) ^ miscmath.c:47:9: warning: 'finite' is deprecated: first deprecated in macOS 10.9 - Use `isfinite((double)x)` instead. [-Wdeprecated-declarations] if (finite(u)) return x + log1p(-exp(u)); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/math.h:752:12: note: 'finite' has been explicitly marked deprecated here extern int finite(double) ^ 2 warnings generated. clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/Rhtslib/include' -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/zlibbioc/include' -I/opt/R/x86_64/include -Wall -Wextra -I. -fPIC -falign-functions=64 -Wall -g -O2 -c pos_table.c -o pos_table.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/Rhtslib/include' -I'/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/zlibbioc/include' -I/opt/R/x86_64/include -Wall -Wextra -I. -fPIC -falign-functions=64 -Wall -g -O2 -c kmer_matrix.cpp -o kmer_matrix.o In file included from kmer_matrix.cpp:8: In file included from ./kmer_matrix.hpp:13: In file included from ./yaml-cpp/yaml.h:9: ./yaml-cpp/parser.h:45:8: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr m_pScanner; ~~~~~^ ./yaml-cpp/parser.h:46:8: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr m_pDirectives; ~~~~~^ In file included from kmer_matrix.cpp:8: In file included from ./kmer_matrix.hpp:13: In file included from ./yaml-cpp/yaml.h:10: In file included from ./yaml-cpp/node.h:12: ./yaml-cpp/iterator.h:20:17: error: no template named 'auto_ptr' in namespace 'std' Iterator(std::auto_ptr pData); ~~~~~^ ./yaml-cpp/iterator.h:36:8: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr m_pData; ~~~~~^ In file included from kmer_matrix.cpp:8: In file included from ./kmer_matrix.hpp:13: In file included from ./yaml-cpp/yaml.h:10: ./yaml-cpp/node.h:43:8: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr Clone() const; ~~~~~^ ./yaml-cpp/node.h:115:8: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr m_pOwnership; ~~~~~^ In file included from kmer_matrix.cpp:8: In file included from ./kmer_matrix.hpp:13: In file included from ./yaml-cpp/yaml.h:13: ./yaml-cpp/emitter.h:98:8: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr m_pState; ~~~~~^ 7 errors generated. make: *** [kmer_matrix.o] Error 1 ERROR: compilation failed for package ‘seqbias’ * removing ‘/private/tmp/RtmpcL8eUn/Rinst181b353ef0e4b/seqbias’ ----------------------------------- ERROR: package installation failed