Bug 252649 - Making archivers/par2cmdline-tbb depend on onetbb
Summary: Making archivers/par2cmdline-tbb 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: Ganael LAPLANCHE
Depends on:
Blocks: 252648
  Show dependency treegraph
Reported: 2021-01-13 21:07 UTC by Ganael LAPLANCHE
Modified: 2021-02-19 21:09 UTC (History)
1 user (show)

See Also:


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

As a maintainer of archivers/par2cmdline-tbb, 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:


c++ -DHAVE_CONFIG_H -I.    -I/usr/local/include -Wall -I/usr/local/include   -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT par2cmdline.o -MD -MP -MF .deps/par2cmdline.Tpo -c -o par2cmdline.o par2cmdline.cpp
In file included from par2cmdline.cpp:26:
./par2cmdline.h:458:12: fatal error: 'tbb/task_scheduler_init.h' file not found
  #include "tbb/task_scheduler_init.h"
1 error generated.
*** Error code 1

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 Ganael LAPLANCHE freebsd_committer 2021-01-19 11:06:38 UTC
Reply to myself: I will mark this one as deprecated. archivers/par2cmdline can be used instead.
Comment 2 Ganael LAPLANCHE freebsd_committer 2021-02-19 21:09:56 UTC
Port marked as DEPRECATED. Closing this issue for now.