Bug 252789 - Making science/pagmo2 depend on onetbb
Summary: Making science/pagmo2 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 Some People
Assignee: Yuri Victorovich
URL: https://github.com/esa/pagmo2/issues/463
Keywords:
Depends on:
Blocks: 252648
  Show dependency treegraph
 
Reported: 2021-01-17 19:28 UTC by Ganael LAPLANCHE
Modified: 2021-08-27 11:30 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 freebsd_triage 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 freebsd_triage 2021-01-17 19:45:21 UTC
The upstream needs to fix this.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-08-15 07:33:30 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=809ec70b320f327dff65246852eb4e3eec480538

commit 809ec70b320f327dff65246852eb4e3eec480538
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-08-15 07:31:09 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-08-15 07:33:08 +0000

    science/pagmo2: Switch to devel/onetbb

    Pagmo2 now supports both old devel/tbb and new devel/onetbb at the same time.

    PR:             252789

 science/pagmo2/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 3 Ganael LAPLANCHE freebsd_committer freebsd_triage 2021-08-27 11:30:21 UTC
Thanks Yuri!