From Fedora Project Wiki

m (Remove extra line break)
(page moved to antora)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
This page describes '''the policy for packages that no longer build''' and need developer attention.
{{admon/important|This page is removed| FESCo docs have moved to [https://docs.fedoraproject.org/en-US/fesco/ docs.fp.o] with source hosted in a [https://pagure.io/fesco/fesco-docs pagure repo]. This page is now at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/.}}
 
The schedule for most releases of Fedora includes a mass rebuild (e.g. [[Fedora 27 Mass Rebuild]], [[Fedora 28 Mass Rebuild]]) to update the packages with new features of the compiler, packaging, build flags, etc. This serves as a convenient opportunity to detect all packages which no longer build properly.
 
== Package Removal for Long-standing FTBFS bugs ==
 
Packages which fail to build will be retired after a period of time.
 
# Releng perfoms the '''mass rebuild''' and will open bugs for any packages which fail.
# Maintainers should either fix and close the bug or acknowledge that they are working on a solution by setting the state to ASSIGNED.
# If a FTBFS bug remains in NEW state, a weekly reminder will be sent. The package will be '''orphaned''' after the FTBFS bug is in NEW state for 8 weeks.
# The normal [[Orphaned package that need new maintainers]] procedure will be followed for the packages orphaned in this way, leading to their retirement if nobody adopts them.
# A week before the mass branching any packages which still have open FTBFS bugs from the ''previous'' release will be '''retired'''.
 
(Effectively, packages will be retired after 14 weeks if there is no maintainer response and the package is orphaned, or after 6½ months if the maintainer responds but the bug is not fixed.)
 
Only one FTBFS bug should be open at any time against a given package. If the package FTBFS in more than one mass rebuild, the bug will be set as blocking for all relevant tracking bugs.
 
== Tracking bugs ==
* [https://bugzilla.redhat.com/showdependencytree.cgi?id=440169 generic FTBFS blocker bug]
* [https://bugzilla.redhat.com/showdependencytree.cgi?id=440169&hide_resolved=1 F9FTBFS]
* [https://bugzilla.redhat.com/showdependencytree.cgi?id=463452&hide_resolved=1 F10FTBFS]
* F11 was handled by Release Engineering, no FTBFS bugs were filed.  http://jkeating.fedorapeople.org/needed-f11-rebuilds.html ([[Fedora 11 Mass Rebuild]])
* [https://bugzilla.redhat.com/showdependencytree.cgi?id=511348&hide_resolved=1 F12FTBFS] ([[Fedora 12 Mass Rebuild]])
* [https://bugzilla.redhat.com/showdependencytree.cgi?id=538681&hide_resolved=1 F13FTBFS]
** [https://bugzilla.redhat.com/showdependencytree.cgi?id=564245&hide_resolved=1 F13FTBFS due to] [[Features/ChangeInImplicitDSOLinking]]
* [https://bugzilla.redhat.com/show_bug.cgi?id=596849 F14FTBFS]
* [https://bugzilla.redhat.com/show_bug.cgi?id=659965 F15FTBFS] ([[Fedora 15 Mass Rebuild]])
* [https://bugzilla.redhat.com/show_bug.cgi?id=713919 F16FTBFS]
* [https://bugzilla.redhat.com/show_bug.cgi?id=817273 F17FTBFS] ([[Fedora 17 Mass Rebuild]])
* There seem to be no FTBFS bugs reported for Fedora 18, list of failed builds from the mass rebuild: http://fedorapeople.org/~ausil/f18-failures.html ([[Fedora 18 Mass Rebuild]])
* [https://bugzilla.redhat.com/show_bug.cgi?id=913825 F19FTBFS] ([[Fedora 19 Mass Rebuild]])
* [https://bugzilla.redhat.com/show_bug.cgi?id=991858 F20FTBFS] ([[Fedora 20 Mass Rebuild]])
* [https://bugzilla.redhat.com/show_bug.cgi?id=1105908 F21FTBFS] ([[Fedora 21 Mass Rebuild]])
* F22?
* F23?  ([[Fedora 23 Mass Rebuild]])
* [https://bugzilla.redhat.com/show_bug.cgi?id=1305208 F24FTBFS] ([[Fedora 24 Mass Rebuild]])
* No mass rebuild in F25
* [https://bugzilla.redhat.com/show_bug.cgi?id=1423041 F26FTBFS] ([[Fedora 26 Mass Rebuild]])
* F27? ([[Fedora 27 Mass Rebuild]])
* [https://bugzilla.redhat.com/show_bug.cgi?id=1555378 F28FTBFS] ([[Fedora 28 Mass Rebuild]])
 
== What to do if you get a FTBFS bug? ==
*  Read the logs. Each FTBFS bug should have the build logs attached.
* If the build of your package fails due to a bug in '''your package''':
# Fix the problems uncovered and commit the changes.
# Build the package. The fixed package will land in rawhide, generally the next day. If branching has already occurred, also fix the build in branched.
# If the build succeeds, close the bug as CLOSED: RAWHIDE, and include the package version number in the comments.
# If branching already occurred, but bodhi hasn't been activated yet, also build the package in branched.
# If bodhi has already been activated for branched, also make an update. An update should be made even if branched has already been released.
* If the build of your package fails due to a bug in '''another package''' (such as a compiler bug or missing dependency):
# Find an existing bug for that package describing the problem.  Set your bug to "Depends on" that other bug.  Do not change the component of your bug to the other package, or you will get more FTBFS bugs created against you.
# When that other bug is closed, you'll get an email from bugzilla as usual.  Rebuild your package using a koji scratch build, to verify it builds cleanly again. Proceed according to points 2-5 above.
* If the package is no longer useful to the Fedora project, it should be retired. See [[How to remove a package at end of life]].
 
In all cases, if you close an FTBFS bug as a duplicate of another bug, please make the other bug to block the right FTBFS tracking bugs. This way the bug left open will appear in the FTBFS reports properly.
 
== See also ==
* FESCo ticket updating this policy: https://pagure.io/fesco/issue/1890
* releng docs: https://docs.pagure.org/releng/sop_deprecate_ftbfs_packages.html

Latest revision as of 07:34, 12 April 2019

This page is removed
FESCo docs have moved to docs.fp.o with source hosted in a pagure repo. This page is now at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/.