Bug 252765 - Making devel/py-numba depend on onetbb
Summary: Making devel/py-numba depend on onetbb
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ganael LAPLANCHE
Depends on: 266538
Blocks: 252648
  Show dependency treegraph
Reported: 2021-01-17 08:00 UTC by Ganael LAPLANCHE
Modified: 2022-09-30 10:35 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (dave)
martymac: maintainer-feedback? (dave)


Note You need to log in before you can comment on or make changes to this bug.
Description Ganael LAPLANCHE freebsd_committer 2021-01-17 08:00:53 UTC

As a maintainer of devel/py-numba, 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:


numba/np/ufunc/tbbpool.cpp:40:13: error: no type named 'task_scheduler_init' in namespace 'tbb'; did you mean 'task_scheduler_handle'?
static tbb::task_scheduler_init *tsi = NULL;
[... and other errors ...]

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,
Best regards,

Comment 1 Ganael LAPLANCHE freebsd_committer 2022-09-30 10:35:16 UTC
Thanks David, Yuri! I can close that PR now :)