Bug 252789 - Making science/pagmo2 depend on onetbb
Summary: Making science/pagmo2 depend on onetbb
Status: New
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/esa/pagmo2/issues/463
Keywords:
Depends on: 252651
Blocks: 252648
  Show dependency treegraph
 
Reported: 2021-01-17 19:28 UTC by Ganael LAPLANCHE
Modified: 2021-01-20 21:43 UTC (History)
1 user (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:28:30 UTC
Hello,

As a maintainer of science/pagmo2, 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/pagmo2-2.15.0.102_1.log

CMake Error at cmake_modules/FindTBB.cmake:400 (file):
  file STRINGS file "/usr/local/include/tbb/tbb_stddef.h" cannot be read.

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:45:21 UTC
The upstream needs to fix this.