############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/bbs-3.21-bioc/R/bin/R CMD INSTALL DiffBind ### ############################################################################## ############################################################################## * installing to library ‘/home/biocbuild/bbs-3.21-bioc/R/site-library’ * installing *source* package ‘DiffBind’ ... ** using staged installation ** libs using C compiler: ‘gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0’ using C++ compiler: ‘g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0’ g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/home/biocbuild/bbs-3.21-bioc/R/site-library/Rhtslib/include' -I'/home/biocbuild/bbs-3.21-bioc/R/site-library/Rcpp/include' -I/usr/local/include -DSTRICT_R_HEADERS=1 -fpic -g -O2 -Wall -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'/home/biocbuild/bbs-3.21-bioc/R/site-library/Rhtslib/include' -I'/home/biocbuild/bbs-3.21-bioc/R/site-library/Rcpp/include' -I/usr/local/include -DSTRICT_R_HEADERS=1 -fpic -g -O2 -Wall -DR_NO_REMAP -c bamReader.cpp -o bamReader.o bamReader.cpp: In constructor ‘bode::BamReader::BamReader(const std::string&)’: bamReader.cpp:22:5: error: ‘error’ was not declared in this scope; did you mean ‘perror’? 22 | error("file '%s' does not appear to be a BAM file (bad magic number)",filename.c_str()); | ^~~~~ | perror make: *** [/home/biocbuild/bbs-3.21-bioc/R/etc/Makeconf:202: bamReader.o] Error 1 ERROR: compilation failed for package ‘DiffBind’ * removing ‘/home/biocbuild/bbs-3.21-bioc/R/site-library/DiffBind’ * restoring previous ‘/home/biocbuild/bbs-3.21-bioc/R/site-library/DiffBind’