Bug 252788 - Making misc/openvdb depend on onetbb
Summary: Making misc/openvdb depend on onetbb
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Yuri Victorovich
URL: https://github.com/AcademySoftwareFou...
Keywords:
Depends on: 252651
Blocks: 252648
  Show dependency treegraph
 
Reported: 2021-01-17 19:25 UTC by Ganael LAPLANCHE
Modified: 2021-06-28 10:18 UTC (History)
2 users (show)

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


Attachments

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 19:25:47 UTC
Hello,

As a maintainer of misc/openvdb, could you have a look at PR #252648:

  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=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:

  http://box.martymac.org/FreeBSD-Packages/build.html?mastername=FBSD122amd64-tbb-migr&build=2021-01-17_09h08m36s

and error logs:

http://box.martymac.org/FreeBSD-Packages/data/FBSD122amd64-tbb-migr/2021-01-17_09h08m36s/logs/errors/openvdb-8.0.0_2.log

  Could NOT find TBB (missing: Tbb_INCLUDE_DIR) (Required is at least version
  "2018.0")

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,

Ganael.
Comment 1 Yuri Victorovich freebsd_committer 2021-01-17 19:39:18 UTC
The upstream needs to fix this.
Comment 2 Shane 2021-05-23 00:23:16 UTC
Have you tested master to see if the next release will resolve this?

https://github.com/AcademySoftwareFoundation/openvdb/issues/985
Comment 3 Ganael LAPLANCHE freebsd_committer 2021-05-25 10:43:04 UTC
Hello,

I presume yuri@ is waiting for version 8.1 which should include a fix. I've ping'ed the upstream to see if there are news on the subject.
Comment 4 Ganael LAPLANCHE freebsd_committer 2021-06-14 10:09:38 UTC
Hello,

The port has been updated to 8.1 (thank, Yuri !).

It still uses legacy Tbb. I'll try to see if it can be switched to OneTbb.
Comment 6 Ganael LAPLANCHE freebsd_committer 2021-06-28 10:18:12 UTC
Support for OneTBB 2021 has been merged upstream :
https://github.com/AcademySoftwareFoundation/openvdb/commit/e620aa6a472e7e5bebaf2103ed2b4d6442438341

Let's wait for a release now.