Control: tags -1 upstream Control: forwarded -1 Ben Goodrich <benjamin.goodr...@columbia.edu>
Hi Ben, Debian is migrating from old tbb to onetbb (currently version 2021.5.0). When trying to build rstan version 2.21.5 which includes StanHeaders we get the error you can find here in our CI: https://salsa.debian.org/r-pkg-team/r-cran-rstan/-/jobs/3011219 In file included from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/core.hpp:4, from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat.hpp:6, from /usr/lib/R/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12, from ./stan/model/log_prob_grad.hpp:4, from ./stan/model/test_gradients.hpp:7, from ./stan/services/diagnose/diagnose.hpp:10, from stan_fit.cpp:33: /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:9:10: fatal error: tbb/task_scheduler_init.h: No such file or directory 9 | #include <tbb/task_scheduler_init.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. It seems StanHeaders need to be adapted to onetbb. There is a tbb -> onetbb transition guide: https://oneapi-src.github.io/oneTBB/main/tbb_userguide/Migration_Guide.html Hope this helps Andreas. -- http://fam-tille.de