From Fedora Project Wiki


Perl 5.20

Summary

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.

Owner

Current status

  • Targeted release: Fedora 22
  • Last updated: 2014-08-29
  • 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

Items in progress

  • Rebuilt Perl packages: 2267 of 2555 done (88.73 %)
  • Rebuild other packages: Use Fedora::Rebuild dependency solver or ordered sets computed by Paul

Items to be done

  • Failed rebuilds ( including intermittent failures):
    • amanda - fails due to code generated by old swig [1]
    • debconf - python requires perl-Qt which is not built yet
    • debhelper - tests fail [2]
    • inkscape - fails in rawhide [3]
    • libguestfs
    • mailgraph - fails in rawhide [4]
    • mapserver - fails due to code generated by old swig [5]
    • munin - fails in rawhide [6]
    • opensips - fails in rawhide [7]
    • DONE: perl-Alien-ROOT - failed on %{arm} [8]. Changed package from noarch to architecture specific
    • DONE: perl-CGI-Emulate-PSGI - failed due to infinity loop
    • perl-CPAN-Inject
    • perl-Cache-Mmap
    • perl-Devel-Size
    • DONE: perl-Net-UPnP - problem with git [9]
    • perl-Padre
    • perl-Qt
    • perl-RT-Authen-ExternalAuth - missing dependency rt3 [10]
    • perl-Test-Smoke
    • perl-Tk-EntryCheck
    • perl-Tk-Pod
    • perl-Tk-Text-SuperText
    • perl-Workflow
    • polymake - circular dependency [11]
    • queuegraph - fails in rawhide [12]
    • redland-binding - fails due to code generated by old swig [13]
    • slic3r
  • 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
  • Merge dedicated build-root to rawhide and remove the dedicated one by rel-engs.
  • Synchronize packages upgraded in f22 build root
  • Undefine perl_bootstrap
  • Rebuild packages having perl_bootstrap condition in spec file

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.

Scope

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.

Dependencies

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.

Documentation

Release Notes