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-09-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

Items in progress

  • Rebuilt Perl packages: 2506 of 2557 done (98.01 %)
  • Rebuild other packages: Use Fedora::Rebuild dependency solver

Items to be done

  • Failed rebuilds ( including intermittent failures):
    • DONE: 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]
    • DONE: 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 - tests fail [9]
    • DONE: perl-Devel-Size - tests fail [10]
    • perl-Dist-Zilla
    • DONE: perl-Net-UPnP - problem with git [11]
    • perl-Padre
    • perl-perl5i - fails in rawhide [12]
    • perl-Qt - tests fail [13]
    • perl-RT-Authen-ExternalAuth - missing dependency rt3 [14]
    • perl-Tk-EntryCheck - tests fail [15]
    • perl-Tk-Pod - tests fail [16]
    • perl-Tk-Text-SuperText - tests fail [17]
    • perl-Workflow
    • DONE: polymake - circular dependency - disable BR Singular-devel when bootstrapping
    • publican - fails in rawhide [18]
    • queuegraph - fails in rawhide [19]
    • DONE: redland-binding - fails due to code generated by old swig [20]
    • slic3 - fails in rawhide [21]
    • Sprog - fails in rawhide [22]
  • 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