Provide ongoing support for Thread Building Blocks v2020.3 for Fedora 39
Fedora is currently shipping version 2020.3 (released July 10, 2020) of the Thread Building Blocks library. The current upstream version is 2021.7 (released October 28, 2022). The Fedora community has expressed interest in moving the TBB package to track a more modern version of the upstream.
This proposal is aimed at continuing to provide the existing 2020.3 version of TBB as a compat package for dependent packages which have not migrated to a new Thread Building Blocks version.
- Name: Thomas Rodgers
- Email: firstname.lastname@example.org
- Targeted release: <VERSION>/ Fedora Linux <VERSION>
- Last updated: 2023-02-06
- FESCo issue: <will be assigned by the Wrangler>
- Tracker bug: <will be assigned by the Wrangler>
- Release notes tracker: <will be assigned by the Wrangler>
Fedora has shipped with version 2020.3 of the Thread Building Blocks library since Fedora 33. The upstream project made a decision to break backward compatibility after this release. As packages have moved to match the upstream's changes it has become more difficult to continue to defer updating the Fedora packaging for TBB. The situation is further complicated by not all dependent packages having been updated to track the latest upstream changes, as detailed in this comment on the tracking issue.
This proposal is part of a pair of proposals that aim to provide a way to modernize the TBB package version for Fedora while providing stability for those packages which are dependent on an older version of TBB.
It will be possible to install both devel and runtime versions of both TBB packages, but the devel compat package for version 2020.3 will require clients to point to a new include path where the legacy headers will be found.
Benefit to Fedora
Fedora 39 will include a current version of Thread Building Blocks, specifically version 2021.7. Fedora will stay relevant, as far as Thread Building Blocks clients are concerned, including GCC's support for Standard C++, as ships with an embedded version of the C++17 parallel algorithms, based on code that is also part of the upstream TBB, and currently requires TBB to be present on the system.
Fedora 39 will continue to include the older 2020.3 version of TBB to ensure stability for Thread Building Blocks clients which are not currently able to move to a newer version of TBB.
- Proposal owners:
- A compat package based on the current 2020.3 version of the existing TBB package will be created.
- Evaluate TBB dependent packages to identify those which need to move to the compat version of the TBB package. An initial
analysis suggests the majority of current TBB clients will need to move to the compat package.
- Request a "f39-tbb" build system tag
- Build TBB2020.3 into that tag.
- Post a request for rebuilds to fedora-devel
- Create patches for those packages affected by this change to adjust their includes to point the compat package's headers,
work with affected package owners to update package specs to account for the change.
- When most packages are done, re-tag all the packages rawhide.
- Watch fedora-devel and assist in rebuilding broken TBB clients.
- Other developers:
- Those who depend on Thread Building Blocks will have to rebuild their packages. Feature owners will alleviate some of this work as indicated above, and will assist those whose packages fail to build in debugging them.
- Release engineering: TODO
- Policies and guidelines: N/A (not needed for this Change)
- Apart from scope, this is business as usual, so no new policies, no new guidelines.
- Trademark approval: N/A (not needed for this Change)
- No manual configuration or data migration needed.
- Some impact on other packages needing code changes to rebuild.
How To Test
- No special hardware is needed.
- Parallel install of the 2020.3 TBB compat packages and the updated TBB packages and checking that it does not
break other packages. See  for an analysis of impacted packages.
- Expected to remain largely the same.
- Developers building third-party software on Fedora may need to rebuild against the new TBB packages, and may need to adjust their code to either remain on the compat TBB version or move to the new version supplied by the updated TBB package.
Packages that must be rebuilt:
& dnf repoquery -s --releasever=rawhide --whatrequires libtbb\* --enablerepo=fedora | sort -u
- Contingency mechanism: Worst case scenario is to abandon the update and simply ship F39 with the existing TBB package, which is already in rawhide.
- Notes on the scope of change, motivation, and likely impacts are in the comments on the tracking issue.
- https://github.com/oneapi-src/oneTBB/releases/tag/v2021.7.0 (Released 2nd October 2022)
- https://github.com/oneapi-src/oneTBB/releases/tag/v2020.3 (Released 10th July 2020)