As a maintainer of graphics/opencv-core, 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/graphics/opencv-core/work/opencv-3.4.1/modules/core/src/parallel.cpp:92:14: fatal error: 'tbb/tbb_stddef.h' file not found
1 warning and 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.
You will also need suitesparse patches from PR #252651 as suitesparse does not build with oneTbb.
Thanks for your contribution,
Sorry, full run URL is the following:
Created attachment 221773 [details]
Patch to disable TBB option
I suggest temporarily removing TBB option while waiting for a proper fix. Would you agree with the attached patch ?
Sure, ship it :) -- thanks
A commit references this bug:
Date: Fri Jan 22 11:27:44 UTC 2021
New revision: 562296
Opencv ports: remove TBB option to facilitate oneTbb transition
Submitted by: martymac
Approved by: tcberner (maintainer)
Patch committed, thanks!
Can you check if upstream can make it oneTbb-compatible ?
Needs to be looked at again, now that graphics/opencv is at 4.5.1.
Thanks, I'll see if version 4.5.1 can be built against onetbb. Stay tuned!
Well, it is still not compatible with onetbb:
Would you agree with the attached patch ?
If yes, do you want me to commit it now or wait for the switch ?
Created attachment 222109 [details]
Patch to disable TBB
Any news ? Would you agree with the attached patch ?
Thanks in advance,
Patch committed (maintainer timeout)