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:
A commit references this bug:
Date: Fri Feb 19 15:14:55 UTC 2021
New revision: 566074
Introduce devel/onetbb and mark devel/tbb as legacy
Intel oneAPI tbb 2021.1 (onetbb) has been released and has deprecated
several interfaces over tbb 2020, breaking most dependent ports.
Old tbb 2020 will be kept for a certain time to allow transition but will be
removed in a near future as it CONFLICTS with devel/onetbb. New ports should
now use devel/onetbb instead of devel/tbb.
We tried to move a maximum number of dependent ports to devel/onetbb (or
disable dependency when not possible), but some of them still remain stuck
to devel/tbb. Remaining ones have not been identified as major dependencies
themselves and will be fixed as soon as updates are available from upstream.
PR: 252648, 252688 , 252683 , 252651 , 252690 , 252693 ,
252695 , 252696 , 252786 , 252649, 252868 , 252870 ,
252684 , 252785 
Approved by: yuri , jwb , thierry , FreeBSD@Shaneware.biz ,
maintainer timeout