From Fedora Project Wiki
(Update documentation links and mark ChangeReadyForWrangler)
No edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 17: Line 17:


== Current status ==
== Current status ==
[[Category:ChangeReadyForWrangler]]
[[Category:ChangeAcceptedF35]]
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
Line 32: Line 32:
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
-->
-->
* FESCo issue: [https://pagure.io/fesco/issue/2637 #2637]
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1982394 #1982394]
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/711 #711]


== Detailed Description ==
== Detailed Description ==
Line 41: Line 44:
== Benefit to Fedora ==
== Benefit to Fedora ==


Fedora 34 includes Boost 1.75 (released December 11th 2020).
Fedora 35 includes Boost 1.76.


Fedora will stay relevant, as far as Boost clients are concerned. Boost 1.76 does not bring any new components but includes many
Fedora will stay relevant, as far as Boost clients are concerned. Boost 1.76 does not bring any new components but includes many
Line 53: Line 56:
* Proposal owners:
* Proposal owners:
** Build will be done with Boost.Build v2 (which is the upstream-sanctioned way of building Boost)
** Build will be done with Boost.Build v2 (which is the upstream-sanctioned way of building Boost)
** Request a "f35-boost" [https://docs.pagure.org/releng/sop_adding_side_build_targets.html build system tag] ([http://lists.fedoraproject.org/pipermail/devel/2011-November/159908.html discussion]): https://pagure.io/releng/issue/9474
** Request a "f35-boost" [https://docs.pagure.org/releng/sop_adding_side_build_targets.html build system tag] ([http://lists.fedoraproject.org/pipermail/devel/2011-November/159908.html discussion]): https://pagure.io/releng/issue/10246
<!-- N.B. next time use the side tag template: https://pagure.io/releng/issue/9419#comment-644377 -->
<!-- N.B. next time use the side tag template: https://pagure.io/releng/issue/9419#comment-644377 -->
** Build boost into that tag (take a look at the [http://koji.fedoraproject.org/koji/buildinfo?buildID=606493 build #606493] for inspiration)
** Build boost into that tag (take a look at the [http://koji.fedoraproject.org/koji/buildinfo?buildID=606493 build #606493] for inspiration)
Line 65: Line 68:




<!-- * Release engineering: [https://pagure.io/releng/issue/9421 #9421] (a check of an impact with Release Engineering is needed) -->
* Release engineering: TODO <!-- [https://pagure.io/releng/issue/9421 #9421] --> (a check of an impact with Release Engineering is needed)


* Policies and guidelines:
* Policies and guidelines:
Line 85: Line 88:
* Expected to remain largely the same.
* Expected to remain largely the same.
* Developers building third-party software on Fedora may need to rebuild against the new Boost packages, and may need to adjust their code if the new Boost release is not source-compatible.
* Developers building third-party software on Fedora may need to rebuild against the new Boost packages, and may need to adjust their code if the new Boost release is not source-compatible.
* Developers using `bjam` to build their own software will need to switch to using the new name for the tool, `b2`


== Dependencies ==
== Dependencies ==
Line 96: Line 98:
== Contingency Plan ==
== Contingency Plan ==


* Contingency mechanism: Worst case scenario is to abandon the update and simply ship F34 with Boost 1.73, which is already in rawhide. It would also be possible to ship the 1.74.0 which would still be newer than in current Fedora releases and contains numerous fixes and improvements to existing Boost components.
* Contingency mechanism: Worst case scenario is to abandon the update and simply ship F35 with Boost 1.75, which is already in rawhide.


<!-- * Contingency deadline: We will know whether the change can be made once the rebuilds in the side tag are done, which will be July 2020, ideally before the mass rebuild. -->
<!-- * Contingency deadline: We will know whether the change can be made once the rebuilds in the side tag are done, which will be July 2020, ideally before the mass rebuild. -->
Line 102: Line 104:
* Blocks release? No
* Blocks release? No
* Blocks product? None
* Blocks product? None


== Documentation ==
== Documentation ==
* https://www.boost.org/users/history/version_1_76_0.html (released on 16 April 2021)
* https://www.boost.org/users/history/version_1_76_0.html (released on 16 April 2021)
* https://www.boost.org/users/history/version_1_75_0.html (released on 11 December 2020)
* https://www.boost.org/users/history/version_1_74_0.html (released on 14 August 2020)
* https://www.boost.org/users/history/version_1_73_0.html (released on 28 April 2020)
* https://www.boost.org/users/history/version_1_72_0.html (released on 11 December 2019)
* https://www.boost.org/users/history/version_1_71_0.html (released on 19 August 2019)
* https://www.boost.org/users/history/version_1_70_0.html (released on 12 April 2019)
* https://www.boost.org/development/index.html
* https://www.boost.org/development/index.html


== Release Notes ==
== Release Notes ==
<!-- TODO -->
<!-- TODO -->

Latest revision as of 16:32, 4 August 2021

Boost 1.76 upgrade

Summary

This change brings Boost 1.76 to Fedora. This will mean Fedora ships with a recent upstream Boost release.

Owner

Current status

Detailed Description

The aim is to synchronize Fedora with the most recent Boost release. Because ABI stability is absent from Boost, this entails rebuilding of all dependent packages. This also entails the change owner assisting maintainers of client packages in decoding cryptic boost-ese seen in output from g++.

The equivalent changes for previous releases were Changes/F34Boost175, Changes/F33Boost173, Fedora 30 Change, Fedora 29 Change, Fedora 28 Change, Fedora 27 Change, Fedora 26 Change, Fedora 25 Change, Fedora 24 Change, Fedora 23 Change and Fedora 22 Change.

Benefit to Fedora

Fedora 35 includes Boost 1.76.

Fedora will stay relevant, as far as Boost clients are concerned. Boost 1.76 does not bring any new components but includes many fixes and enhancements to existing components. Boost 1.76 also introduces some breaking changes -

  • Boost.DLL : boost::dll::import was renamed to boost::dll::import_symbol to avoid collision with C++20 import keyword.
  • Boost.Math : Drops C++03 support.
  • Boost.Multiprecision : Explicitly requires C++11 or later.

Scope

  • Proposal owners:
    • Build will be done with Boost.Build v2 (which is the upstream-sanctioned way of building Boost)
    • Request a "f35-boost" build system tag (discussion): https://pagure.io/releng/issue/10246
    • Build boost into that tag (take a look at the build #606493 for inspiration)
    • Post a request for rebuilds to fedora-devel
    • Work on rebuilding dependent packages in the tag.
    • When most is done, re-tag all the packages to rawhide
    • Watch fedora-devel and assist in rebuilding broken Boost clients (by fixing the client, or Boost).
  • Other developers:
    • Those who depend on Boost DSOs 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 (a check of an impact with Release Engineering is needed)
  • Policies and guidelines:
    • Apart from scope, this is business as usual, so no new policies, no new guidelines.
  • Trademark approval: N/A (not needed for this Change)


Upgrade/compatibility impact

  • No manual configuration or data migration needed.
  • Some impact on other packages needing code changes to rebuild. Historically this hasn't been too much of a problem and could always be resolved before deadline.

How To Test

  • No special hardware is needed.
  • Integration testing simply consists of installing Boost packages (dnf install boost) on Fedora and checking that it does not break other packages (see below for a way to obtain a list of boost clients).


User Experience

  • Expected to remain largely the same.
  • Developers building third-party software on Fedora may need to rebuild against the new Boost packages, and may need to adjust their code if the new Boost release is not source-compatible.

Dependencies

Packages that must be rebuilt: $ dnf repoquery -s --releasever=rawhide --whatrequires libboost\* --disablerepo=* --enablerepo=fedora | sort -u

All clients: $ dnf repoquery --releasever=rawhide --archlist=src --whatrequires boost-devel --disablerepo='*' --enablerepo=fedora-source

Contingency Plan

  • Contingency mechanism: Worst case scenario is to abandon the update and simply ship F35 with Boost 1.75, which is already in rawhide.


  • Blocks release? No
  • Blocks product? None

Documentation

Release Notes