From Fedora Project Wiki

< Changes

Revision as of 13:59, 11 December 2014 by Jreznik (talk | contribs) (Change Announced on 2014-12-11)

Perl 5.20


A new perl 5.20 version brings a lot of changes done over a year of development. See 5.20.0 perldelta for more details.


Current status

  • Targeted release: Fedora 22
  • Last updated: 2014-11-04
  • Tracker bug: <will be assigned by the Wrangler>

Completed items

  • Get dedicated build-root from rel-engs (f22-perl)
  • Rebase perl to 5.20.0
  • Define perl_bootstrap in perl-srpm-macros
  • Build new perl 5.20 keeping old COMPAT Provides
  • Rebuild packages needed for minimal build-root
  • Rebuild dual-lived packages (otherwise yum recommends --skip-broken and fails)
  • Rebuild packages needed for building source packages from git repository
  • Remove old perl(:MODULE_COMPAT_5.18.*) from perl
  • Undefine perl_bootstrap
  • Rebuild packages having perl_bootstrap condition in spec file
  • Merge dedicated build-root to rawhide and remove the dedicated one by rel-engs.
  • Synchronize packages upgraded in f22 build root

Items in progress

  • Rebuilt Perl packages: 2562 of 2566 done (99.84 %)
  • Rebuild other packages: Use Fedora::Rebuild dependency solver

Items to be done

  • Failed rebuilds (3 including intermittent failures):
    • Sprog - fails in rawhide [1]
  • Unsatisfied dependencies
    • perl-RT-Authen-ExternalAuth - missing dependency rt3 [2]
    • perl-RT-Extension-CommandByMail - missing dependencies /usr/sbin/rt-mailgate and perl(RT)

Detailed Description

New perl is released every year and updates containing mainly bug fixes follow during the year. The 5.20.0 version is stable release this year.

Benefit to Fedora

Up-to-date and latest perl release will be delivered to Fedora users.


Every Perl package will be rebuilt in a dedicated f22-perl build-root against perl 5.20.0 and then if no major problem emerges the packages will be merged back to f22 build-root.

  • Proposal owners:

New perl and all packages requiring perl or a Perl module will be rebuilt into f22-perl build-root.

  • Other developers:

Owners of packages that fail to rebuild, mainly perl-sig users, will be asked using Bugzilla to fix or remove their packages from the distribution.

  • Release engineering:

Release engineers will be asked for new f22-perl build-root inheriting from f22 build-root. After successful finishing the rebuild, they will be asked to merge f22-perl packages back to f22 build-root.

  • Policies and guidelines:

No policies have to be modified to complete this change.

Upgrade/compatibility impact

Vast majority of functionality will be preserved. Only the packages that failed to build against perl 5.20 will be removed from the distribution. That will require to remove those packages from existing systems otherwise package manager will encounter unsatisfied dependencies.

How To Test

Try upgrading from Fedora 21 to 22. Try some Perl application to verify they work as expected. Try embedded perl in slapd or snmpd.

User Experience

There should not be any remarkable change in user experience.


There is more than 2000 packages depending on perl. Most of them are expected not to break. Finishing this change can be endangered only by critical changes in a toolchain.

Contingency Plan

If we find perl 5.20 is not suitable for Fedora 22, we will revert back to perl 5.18 and we drop the temporary build-root with already rebuilt packages.

  • Contingency deadline: branching Fedora 22 from Rawhide.
  • Blocks release? No.


Release Notes