From Fedora Project Wiki

< Features

Revision as of 12:05, 7 July 2010 by Ppisar (talk | contribs) (→‎Items still to be done - perl modules: perl-Test-AutoBuild link to Bugzilla)

Perl 5.12

Summary

Perl 5.12 brings a lot of changes. Details about them could be found at perl [delta]

Owner

Current status

  • Targeted release: Fedora 14
  • Last updated: 2010-06-07
  • Percentage of completion: 100%

Completed items

  • rewritten spec for perl 5.12
  • rebuild of almost all perl modules

Items still to be done - perl modules

perl-Archive-RPM Done
perl-Catalyst-Controller-BindLex Done
perl-Config-Model-CursesUI Done
perl-Data-Alias broken, RHBZ report, can't be fix easily, according repoquery no dependencies-> TODO: retire the package, owner asked to do it
perl-DateTime-Format-Strptime Done
perl-DBI-Dumper buggy, last release in 2006 -> remove? ; removed from rawhide; cweyl contacted to retire the package, retirement bug
perl-Devel-LexAlias Done
perl-Fedora-Bugzilla Done
perl-forks Done
perl-GDGraph3d Done
perl-GSSAPI Done
perl-HTTP-Server-Simple-Mason Done
perl-IO-Compress-Bzip2 package is obsoleted by perl-IO-Compress
perl-MasonX-Request-WithApacheSession Done
perl-MooseX-Params-Validate Done
perl-Net-GitHub Done
perl-Olson-Abbreviations Done
perl-Padre Done
perl-PDL Done
perl-PDL-Graphics-PLplot Done
perl-POE-Component-Client-HTTP Done
perl-POE-Component-Server-Bayeux Done
perl-POE-Component-Server-SimpleHTTP Done
perl-POE-Component-Server-SOAP Done
perl-POE-Component-Server-XMLRPC Done
perl-Pugs-Compiler-Rule Bug report, one test unit fails because of different Data::Dumper indentation. The strange thing is it should fail even on localhost with perl-5.10.1. Data::Dumper indents local and package (AST) structure in different way. I don't know how is it possible. However it does not fail.
perl-SVG-Parser Done
perl-SVN-Mirror Removed
perl-Test-AutoBuild Bug report, depends on rebuild perl-SVN-Mirror with perl5.12
perl-Test-WWW-Selenium Done
perl-WebService-Validator-CSS-W3C Done
perl-YAML-LibYAML Done

Other packages

These packages were already fixed, but often they build failure isn't related with perl-5.12. -> DONE

gnumeric not perl issue - already FTBFS
grepmail Builds fine -> Done
krazy2 not perl issue - already FTBFS
lcgdm not perl issue, will be fixed by maintainer
ocaml-perl4caml Already fixed upstream
virt-v2v failure is due to old version of libguest in this buildroot. In rawhide it should pass -> Done
Zim now is in Fedora Zim in python! Done
zarafa build by maintainer -> Done

Detailed Description

Perl releases will be now every year and updates during year will be containing mainly bug fixes. The release 5.12.1 should be stable release.

Benefit to Fedora

Fedora as bleeding edge distribution should be shipping new release of perl as one of the first distributions.

Scope

Everything will be rebuilt in testing buildroot dist-f14-perltest. 'make build TARGET=dist-f14-perltest'

  • update perl to 5.12.1
  • update/fix/rebuild all perl modules
  • rebuild all other dependent packages -> file bugs to maintainers
  • in case no basic component is broken, then the packages could be tagged into dist-f14 buildroot

How To Test

Download packages from koji's buildroot dist-f14-perltest or try your packages with rebuild build requirements related to perl.

User Experience

User could notice warnings about soon to be removed modules e.g. Class::ISA will be removed, install from CPAN and errors in syntax e.g. defined(%hash) isn't supported anymore. These warnings are fixed in Fedora's modules, but it could be still found in users scripts.

Dependencies

repoquery --whatrequires --alldeps 'perl(:MODULE_COMPAT_5.1?.?)' | sort -u

Contingency Plan

In case some essential packages couldn't be fixed, then would be used perl-5.10.?.

Some packages seem to be unfixable, therefore they should be removed if they don't have any other dependencies.

Documentation

Release Notes

Notable changes in Perl 5.12 include:

  • Perl now conforms much more closely to the Unicode standard.

Additionally, this release includes an upgrade to version 5.2 of the standard.

  • New experimental APIs allow developers to extend Perl with "pluggable" keywords and syntax.
  • Perl now has a better sense of time and will be able to keep accurate time well past the "Y2038" barrier.
  • New syntax allows developers to specify package version numbers directly in "package" statements
  • Perl now warns the user about the use of deprecated features by default.

Perl 5.12.0 features numerous new features, optimizations and bugfixes. You can find a complete list of these changes on the web at:

http://search.cpan.org/~jesse/perl-5.12.0/pod/perl5120delta.pod

Original release note: http://www.nntp.perl.org/group/perl.perl5.porters/2010/04/msg158820.html

Comments and Discussion