Bug 252694

Summary: Making science/madness depend on onetbb
Product: Ports & Packages Reporter: Ganael LAPLANCHE <martymac>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Some People CC: yuri
Priority: --- Flags: bugzilla: maintainer-feedback? (yuri)
martymac: maintainer-feedback? (yuri)
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/m-a-d-n-e-s-s/madness/issues/366
Bug Depends on:    
Bug Blocks: 252648    

Description Ganael LAPLANCHE freebsd_committer 2021-01-14 22:24:04 UTC

As a maintainer of science/madness, 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:


CMake Error at cmake/modules/FindTBB.cmake:103 (file):
  file failed to open for reading (No such file or directory):

Call Stack (most recent call first):
  external/tbb.cmake:2 (find_package)
  CMakeLists.txt:522 (include)

-- Could NOT find TBB: Found unsuitable version ".", but required is at least "4.3.5" (found /usr/local/lib/libtbb.so, )

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.

Thanks for your contribution,
Best regards,

Comment 1 Yuri Victorovich freebsd_committer 2021-01-15 18:35:58 UTC
Made TBB optional and OFF by default.
Comment 2 commit-hook freebsd_committer 2021-01-15 18:36:09 UTC
A commit references this bug:

Author: yuri
Date: Fri Jan 15 18:36:00 UTC 2021
New revision: 561663
URL: https://svnweb.freebsd.org/changeset/ports/561663

  science/madness: Make TBB dependency optional, OFF by default until the upstream fixes oneTBB support

  PR:		252694

Comment 3 Ganael LAPLANCHE freebsd_committer 2021-01-16 14:07:11 UTC