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

See Also:


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-13 21:07:08 UTC
Hello,

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

and error logs:

http://box.martymac.org/FreeBSD-Packages/data/FBSD122amd64-tbb-migr/2021-01-13_17h15m06s/logs/errors/par2cmdline-tbb-20100203_21.log

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,

Ganael.
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.