As a maintainer of math/suitesparse, could you have a look at PR #252648:
In short, TBB version 2021 will soon be available as devel/onetbb but the port you maintain does not build correctly with it, see the following Poudriere run:
and error logs:
c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O3 -fexceptions -fPIC -fopenmp -DHAVE_TBB -I../../CHOLMOD/Include -I../../SuiteSparse_config -I../Include -c ../Source/spqr_parallel.cpp
../Source/spqr_parallel.cpp:10:10: fatal error: 'tbb/task_scheduler_init.h' file not found
1 error generated.
Could you try to provide a patch (important: *by replying to this PR*) to facilitate the migration to devel/onetbb ?
To help you modifying your port, expected patches to devel/tbb and devel/onetbb are available in PR #252648.
Thanks for your contribution,
Created attachment 221631 [details]
Proposed patch to disable TBB option
We can disable TBB option while waiting for a proper patch (see attached patch).
Would that be acceptable ?
I guess that this has an impact on performances, but this port is a suite of several different libraries, and this is difficult to evaluate.
Thus your patch seems acceptable if you do not commit it to early: please wait for the latest moment!
OK, thanks for your feedback. I'll commit it during the switch then.
Have a nice w-e,
Raised an issue upstream: