##############################################################################
##############################################################################
###
### Running command:
###
### /home/biocbuild/bbs-3.23-bioc/R/bin/R CMD build --keep-empty-dirs --no-resave-data scran
###
##############################################################################
##############################################################################
* checking for file ‘scran/DESCRIPTION’ ... OK
* preparing ‘scran’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package (it is needed to build vignettes)
-----------------------------------
Warning: SystemRequirements specified C++11: support will be removed soon
* installing *source* package ‘scran’ ...
** this is package ‘scran’ version ‘1.39.0’
** using staged installation
** libs
using C++ compiler: ‘g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0’
using C++11
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.23-bioc/R/include" -DNDEBUG -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/Rcpp/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/BH/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/dqrng/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/scuttle/include' -I/usr/local/include -fpic -g -O2 -Wall -Werror=format-security -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.23-bioc/R/include" -DNDEBUG -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/Rcpp/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/BH/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/dqrng/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/scuttle/include' -I/usr/local/include -fpic -g -O2 -Wall -Werror=format-security -c choose_effect_size.cpp -o choose_effect_size.o
choose_effect_size.cpp: In instantiation of ‘size_t instantiate_list(Rcpp::List, std::vector<T>&, std::string) [with V = Rcpp::Vector<13>; size_t = long unsigned int; Rcpp::List = Rcpp::Vector<19>; std::string = std::__cxx11::basic_string<char>]’:
choose_effect_size.cpp:38:41: required from here
choose_effect_size.cpp:13:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘R_xlen_t’ {aka ‘long int’} [-Wsign-compare]
13 | for (size_t c=0; c<input.size(); ++c) {
| ~^~~~~~~~~~~~~
choose_effect_size.cpp: In instantiation of ‘size_t instantiate_list(Rcpp::List, std::vector<T>&, std::string) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; size_t = long unsigned int; Rcpp::List = Rcpp::Vector<19>; std::string = std::__cxx11::basic_string<char>]’:
choose_effect_size.cpp:67:43: required from here
choose_effect_size.cpp:13:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘R_xlen_t’ {aka ‘long int’} [-Wsign-compare]
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.23-bioc/R/include" -DNDEBUG -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/Rcpp/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/BH/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/dqrng/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/scuttle/include' -I/usr/local/include -fpic -g -O2 -Wall -Werror=format-security -c combine_rho.cpp -o combine_rho.o
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.23-bioc/R/include" -DNDEBUG -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/Rcpp/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/BH/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/dqrng/include' -I'/home/biocbuild/bbs-3.23-bioc/R/site-library/scuttle/include' -I/usr/local/include -fpic -g -O2 -Wall -Werror=format-security -c compute_blocked_stats.cpp -o compute_blocked_stats.o
In file included from /home/biocbuild/bbs-3.23-bioc/R/site-library/Rcpp/include/Rcpp/proxy/proxy.h:24,
from /home/biocbuild/bbs-3.23-bioc/R/site-library/Rcpp/include/RcppCommon.h:133,
from /home/biocbuild/bbs-3.23-bioc/R/site-library/Rcpp/include/Rcpp.h:27,
from compute_blocked_stats.cpp:1:
/home/biocbuild/bbs-3.23-bioc/R/site-library/Rcpp/include/Rcpp/proxy/AttributeProxy.h: In instantiation of ‘bool Rcpp::AttributeProxyPolicy<CLASS>::hasAttribute(const std::string&) const [with CLASS = Rcpp::RObject_Impl<Rcpp::PreserveStorage>; std::string = std::__cxx11::basic_string<char>]’:
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/utils.h:78:32: required from here
/home/biocbuild/bbs-3.23-bioc/R/site-library/Rcpp/include/Rcpp/proxy/AttributeProxy.h:91:27: error: ‘R_hasAttrib’ was not declared in this scope; did you mean ‘R_mapAttrib’?
91 | return R_hasAttrib(static_cast<const CLASS&>(*this).get__(),
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92 | Rf_install(attr.c_str()));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/lin_matrix.h:12,
from /home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/read_lin_block.h:11,
from /home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/beachmat.h:24,
from compute_blocked_stats.cpp:2:
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of ‘beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<13>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’:
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46: required from ‘beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<13>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/read_lin_block.h:36:39: required from ‘std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57: required from here
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: ‘const size_t’ {aka ‘const long unsigned int’} and ‘R_xlen_t’ {aka ‘long int’} [-Wsign-compare]
535 | if (nnz != x.size()) {
| ~~~~^~~~~~~~~~~
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
551 | if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
| ~~~~~~^~~~
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
551 | if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
| ~~~~~~^~~~
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
593 | for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
| ~~^~~~~
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of ‘beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’:
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46: required from ‘beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/read_lin_block.h:38:39: required from ‘std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57: required from here
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: ‘const size_t’ {aka ‘const long unsigned int’} and ‘R_xlen_t’ {aka ‘long int’} [-Wsign-compare]
535 | if (nnz != x.size()) {
| ~~~~^~~~~~~~~~~
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
551 | if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
| ~~~~~~^~~~
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
551 | if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
| ~~~~~~^~~~
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
593 | for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
| ~~^~~~~
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of ‘beachmat::SparseArraySeed_reader<V, TIT>::SparseArraySeed_reader(Rcpp::RObject) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’:
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/lin_matrix.h:561:46: required from ‘beachmat::lin_SparseArraySeed<V, TIT>::lin_SparseArraySeed(Rcpp::RObject) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/read_lin_block.h:40:39: required from ‘std::unique_ptr<M> beachmat::read_lin_sparse_block_raw(Rcpp::RObject) [with M = lin_matrix; Rcpp::RObject = Rcpp::RObject_Impl<Rcpp::PreserveStorage>]’
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/read_lin_block.h:65:57: required from here
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:535:17: warning: comparison of integer expressions of different signedness: ‘const size_t’ {aka ‘const long unsigned int’} and ‘R_xlen_t’ {aka ‘long int’} [-Wsign-compare]
535 | if (nnz != x.size()) {
| ~~~~^~~~~~~~~~~
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
551 | if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
| ~~~~~~^~~~
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:551:73: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
551 | if (lastR <= 0 || lastR > NR || lastC <= 0 || lastC > NC) {
| ~~~~~~^~~~
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:593:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
593 | for (int v = 0; v < nnz; ++v, ++rowIt, ++colIt, ++xIt) {
| ~~^~~~~
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of ‘beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const int*; ALT = int*; TIT = const double*; I = int; P = long unsigned int; size_t = long unsigned int]’:
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42: required from ‘beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const int*; ALT = int*; V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]’
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/lin_matrix.h:596:51: required from ‘beachmat::sparse_index<const int*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, int*, int*, size_t, size_t) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]’
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/lin_matrix.h:595:35: required from here
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘const long unsigned int’ [-Wsign-compare]
250 | if (idex != *pIt && static_cast<size_t>(i[idex]) == r) {
| ~~~~~^~~~~~~
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of ‘beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const double*; ALT = double*; TIT = const double*; I = int; P = long unsigned int; size_t = long unsigned int]’:
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42: required from ‘beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const double*; ALT = double*; V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]’
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/lin_matrix.h:602:54: required from ‘beachmat::sparse_index<const double*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, double*, int*, size_t, size_t) [with V = Rcpp::Vector<14, Rcpp::PreserveStorage>; TIT = const double*; size_t = long unsigned int]’
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/lin_matrix.h:601:38: required from here
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘const long unsigned int’ [-Wsign-compare]
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of ‘beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const int*; ALT = int*; TIT = const int*; I = int; P = long unsigned int; size_t = long unsigned int]’:
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42: required from ‘beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const int*; ALT = int*; V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]’
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/lin_matrix.h:596:51: required from ‘beachmat::sparse_index<const int*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, int*, int*, size_t, size_t) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]’
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/lin_matrix.h:595:35: required from here
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘const long unsigned int’ [-Wsign-compare]
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h: In instantiation of ‘beachmat::sparse_index<OUT, I> beachmat::Csparse_core<TIT, I, P>::get_row(size_t, ALT, I*, size_t, size_t) [with OUT = const double*; ALT = double*; TIT = const int*; I = int; P = long unsigned int; size_t = long unsigned int]’:
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:650:42: required from ‘beachmat::sparse_index<OUT, int> beachmat::SparseArraySeed_reader<V, TIT>::get_row(size_t, ALT, int*, size_t, size_t) [with OUT = const double*; ALT = double*; V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]’
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/lin_matrix.h:602:54: required from ‘beachmat::sparse_index<const double*, int> beachmat::lin_SparseArraySeed<V, TIT>::get_row(size_t, double*, int*, size_t, size_t) [with V = Rcpp::Vector<10, Rcpp::PreserveStorage>; TIT = const int*; size_t = long unsigned int]’
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/lin_matrix.h:601:38: required from here
/home/biocbuild/bbs-3.23-bioc/R/site-library/beachmat/include/beachmat3/Csparse_reader.h:250:22: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘const long unsigned int’ [-Wsign-compare]
make: *** [/home/biocbuild/bbs-3.23-bioc/R/etc/Makeconf:209: compute_blocked_stats.o] Error 1
ERROR: compilation failed for package ‘scran’
* removing ‘/tmp/RtmpIUxCrU/Rinst1a2c133c325d8c/scran’
-----------------------------------
ERROR: package installation failed