As a maintainer of cad/opencascade, 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:
/wrkdirs/usr/ports/cad/opencascade/work/opencascade-7.5.0/src/OSD/OSD_Parallel_TBB.cxx:28:10: fatal error: 'tbb/task_scheduler_init.h' file not found
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1
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.
You will also need:
- suitesparse patches from PR #252651
- opencv patches from PR #252785
Thanks for your contribution,
Just FYI: after the closure of PR 252892 I have updated my machine and I have been able to install onetbb: back on trial for this PR!
Created attachment 221985 [details]
Patch to remove the dependency on devel/tbb
Temporary patch to remove the dependency on devel/tbb.
devel/onetbb should be activated when possible.
Thanks for the patch :)
Do you want me to wait for the big switch or can I commit it earlier ?
(In reply to Ganael LAPLANCHE from comment #3)
Yes, let it wait for the big switch. Meanwhile, a better solution might be found…
OK, no pb :)
Patch committed, thanks!