Features/F18Boost150

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
(Created page with "= Fedora 18 Boost 1.50 Uplift = Category: FeaturePageIncomplete")
 
m (Current status)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
= Fedora 18 Boost 1.50 Uplift =
 
= Fedora 18 Boost 1.50 Uplift =
[[Category: FeaturePageIncomplete]]
+
 
 +
== Summary ==
 +
This feature brings Boost 1.50.0 to Fedora 18.
 +
 
 +
== Owner ==
 +
* Name: [[User:Pmachata| Petr Machata]]
 +
* Email: pmachata at redhat com
 +
 
 +
== Current status ==
 +
* Targeted release: [[Releases/18/Schedule |Fedora 18]] (and its [[Releases/18/FeatureList |Feature List]])
 +
* Last updated: 2012-10-07
 +
* Percentage of completion: 100%
 +
** The Boost 1.50 package has been in Fedora 18 for a while (a few months), a few bugs have been fixed at the beginning, and the system has been pretty much stable ever since
 +
 
 +
== Detailed Description ==
 +
That feature aims at synchronising the top of the Fedora tree with the current Boost upstream release. The current Fedora release is boost-1.48.0.
 +
 
 +
As of Fedora 13, the canonical sources used for the package switched from the official Boost release (with BJam build) to an alternate repository (with CMake build, for boost-1.41.0). That alternate repository has been deprecated and may be deleted any time soon (as of November 2011).
 +
boost-1.41.0 has been delivered from that (now deprecated) Boost-CMake repository (hosted on [http://gitorious.org/boost/cmake Gitorious]), where the code base had slightly diverged from upstream.
 +
 
 +
From Fedora 14, boost-1.44.0 has been rebased on upstream, with a mere patch implementing CMake support. Moreover, there is a new Git repository reflecting those changes, hosted on [http://github.com/pocb/boost GitHub] (and cloned on [http://gitorious.org/~denisarnaud/boost/denisarnauds-cmake Gitorious]). That repository relies on the [http://ryppl.github.com Ryppl project] (in particular, on the [http://github.com/ryppl/boost-svn Boost Subversion replicated repository]), created and maintained by two Boost developers, namely [http://github.com/ericniebler Eric Niebler] and [http://github.com/dabrahams Dave Abrahams].
 +
 
 +
The objective is now to keep delivering the latest stable Boost release for each new Fedora release.
 +
 
 +
Some background:
 +
 
 +
* [https://admin.fedoraproject.org/pkgdb/acls/name/boost Boost package in Fedora]
 +
* [http://koji.fedoraproject.org/koji/packageinfo?packageID=1074 Boost build status in Koji]
 +
* [[Features/F17Boost148 |Fedora 17 Boost-1.48 Feature]]
 +
* [[Features/F16Boost147 |Fedora 16 Boost-1.47 Feature]]
 +
* [[Features/F15Boost146 |Fedora 15 Boost-1.46 Feature]]
 +
* [[Features/F14Boost144 |Fedora 14 Boost-1.44 Feature]]
 +
* [[Features/F13Boost141 |Fedora 13 Boost-1.41 Feature]]
 +
* [http://www.boost.org Boost] ships with an ad-hoc build system named [http://www.boost.org/doc/libs/1_47_0/more/getting_started/unix-variants.html#get-bjam BJam].
 +
 
 +
== Benefit to Fedora ==
 +
Syncing with upstream keeps Fedora current. This is part of regular package maintenance.
 +
 
 +
== Scope ==
 +
The following needs to be done:
 +
 
 +
* Assess whether cmake upstream is ready, possibly help patch the holes
 +
* Do the initial packaging work (possibly on a branch), add sub-packages for new runtime components
 +
* Request a "boost" build system tag ([http://lists.fedoraproject.org/pipermail/devel/2011-November/159908.html discussion]) ([https://fedorahosted.org/rel-eng/ticket/5230 tag request ticket])
 +
* Build boost into that tag ([http://koji.fedoraproject.org/koji/buildinfo?buildID=344226 build])
 +
* Post a request for rebuilds to fedora-devel ([https://lists.fedoraproject.org/pipermail/devel/2012-July/170272.html message])
 +
* Work on rebuilding dependent packages in the tag, fixing any bugs it either the dependent package, or Boost
 +
* When most is done, re-tag all the packages to rawhide
 +
 
 +
== How To Test ==
 +
* No special hardware is needed.
 +
* Testing of the Boost packages themselves requires the host system to have the boost-test package installed. Testing can then be enabled at package build time by passing <tt>--with tests</tt>. Note that that testing phase should be done only once per type of architecture and distribution version.
 +
* Integration testing simply consists of installing Boost packages on Fedora 18 and checking that it does not break other packages.
 +
 
 +
== User Experience ==
 +
Expected to remain largely the same.
 +
 
 +
== Dependencies ==
 +
There are a large number of dependencies for the boost package in Fedora.  The list of packages that really _need_ rebuilding can be obtained as follows:
 +
 
 +
<code>$ repoquery -s --whatrequires libboost\* | sort -u</code>
 +
 
 +
Those are packages whose binaries won't even start after boost update, because each Boost update implies a soname bump.  Currently this returns 104 packages, with some of those being sub-packages of a single package.
 +
 
 +
== Contingency Plan ==
 +
Since we will build in a separate tag, if anything goes wildly wrong, the natural result would be abandoning that tag and shipping Fedora 18 with boost-1.48.
 +
 
 +
== Documentation ==
 +
* Boost: http://www.boost.org/doc/libs/1_50_0
 +
* Boost-CMake: http://github.com/pocb/boost ([https://svn.boost.org/trac/boost/wiki/CMake the previous wiki] is now outdated)
 +
* Boost 1.49.0 Release Notes: http://www.boost.org/users/news/version_1_49_0
 +
* Boost 1.50.0 Release Notes: http://www.boost.org/users/news/version_1_50_0
 +
 
 +
== Comments and Discussion ==
 +
* See [[Talk:Features/F18Boost150]]
 +
* BZ: https://bugzilla.redhat.com/show_bug.cgi?id=825826
 +
 
 +
[[Category:FeatureAcceptedF18]]
 +
<!-- When your feature page is completed and ready for review -->
 +
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
 +
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
 +
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->

Latest revision as of 08:14, 7 October 2012

Contents

[edit] Fedora 18 Boost 1.50 Uplift

[edit] Summary

This feature brings Boost 1.50.0 to Fedora 18.

[edit] Owner

[edit] Current status

  • Targeted release: Fedora 18 (and its Feature List)
  • Last updated: 2012-10-07
  • Percentage of completion: 100%
    • The Boost 1.50 package has been in Fedora 18 for a while (a few months), a few bugs have been fixed at the beginning, and the system has been pretty much stable ever since

[edit] Detailed Description

That feature aims at synchronising the top of the Fedora tree with the current Boost upstream release. The current Fedora release is boost-1.48.0.

As of Fedora 13, the canonical sources used for the package switched from the official Boost release (with BJam build) to an alternate repository (with CMake build, for boost-1.41.0). That alternate repository has been deprecated and may be deleted any time soon (as of November 2011). boost-1.41.0 has been delivered from that (now deprecated) Boost-CMake repository (hosted on Gitorious), where the code base had slightly diverged from upstream.

From Fedora 14, boost-1.44.0 has been rebased on upstream, with a mere patch implementing CMake support. Moreover, there is a new Git repository reflecting those changes, hosted on GitHub (and cloned on Gitorious). That repository relies on the Ryppl project (in particular, on the Boost Subversion replicated repository), created and maintained by two Boost developers, namely Eric Niebler and Dave Abrahams.

The objective is now to keep delivering the latest stable Boost release for each new Fedora release.

Some background:

[edit] Benefit to Fedora

Syncing with upstream keeps Fedora current. This is part of regular package maintenance.

[edit] Scope

The following needs to be done:

  • Assess whether cmake upstream is ready, possibly help patch the holes
  • Do the initial packaging work (possibly on a branch), add sub-packages for new runtime components
  • Request a "boost" build system tag (discussion) (tag request ticket)
  • Build boost into that tag (build)
  • Post a request for rebuilds to fedora-devel (message)
  • Work on rebuilding dependent packages in the tag, fixing any bugs it either the dependent package, or Boost
  • When most is done, re-tag all the packages to rawhide

[edit] How To Test

  • No special hardware is needed.
  • Testing of the Boost packages themselves requires the host system to have the boost-test package installed. Testing can then be enabled at package build time by passing --with tests. Note that that testing phase should be done only once per type of architecture and distribution version.
  • Integration testing simply consists of installing Boost packages on Fedora 18 and checking that it does not break other packages.

[edit] User Experience

Expected to remain largely the same.

[edit] Dependencies

There are a large number of dependencies for the boost package in Fedora. The list of packages that really _need_ rebuilding can be obtained as follows:

$ repoquery -s --whatrequires libboost\* | sort -u

Those are packages whose binaries won't even start after boost update, because each Boost update implies a soname bump. Currently this returns 104 packages, with some of those being sub-packages of a single package.

[edit] Contingency Plan

Since we will build in a separate tag, if anything goes wildly wrong, the natural result would be abandoning that tag and shipping Fedora 18 with boost-1.48.

[edit] Documentation

[edit] Comments and Discussion