From Fedora Project Wiki
(perl-Algorithm-CurveFit retired)
 
(43 intermediate revisions by 3 users not shown)
Line 30: Line 30:
* Name: [[User:Ppisar| Petr Písař]]
* Name: [[User:Ppisar| Petr Písař]]
* Email: <ppisar@redhat.com>
* Email: <ppisar@redhat.com>
* Release notes owner:  
* Release notes owner: [mailto:sclark@fedoraproject.org Simon Clark] ([[User:sclark|sclark]])
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo)
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo)
* FESCo shepherd: [[User:FASAccountName| Shehperd name]] <email address>
* FESCo shepherd: [[User:FASAccountName| Shehperd name]] <email address>
Line 45: Line 45:


* Targeted release: [[Releases/27 | Fedora 27 ]]  
* Targeted release: [[Releases/27 | Fedora 27 ]]  
* Last updated: 2017-06-08
* Last updated: 2017-08-28
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
Bugzilla states meaning as usual:
Bugzilla states meaning as usual:
Line 70: Line 70:
* Rebuild packages having perl_bootstrap condition in spec file
* Rebuild packages having perl_bootstrap condition in spec file
* Rebuild all updated packages
* Rebuild all updated packages
* Merge dedicated build-root to rawhide and remove the dedicated one by rel-engs
* Synchronize packages upgraded in f27 build root
* Rebuilt Perl packages: 3006 of 3011 done (99.83 %)
* Unfixable packages retired (3):
** obexftp - openobex-devel is missing on s390x
** perl-Algorithm-CurveFit - build failed [https://bugzilla.redhat.com/show_bug.cgi?id=1242769 BZ#1242769]
** perl-PDL-Graphics-PLplot - tests failed [https://bugzilla.redhat.com/show_bug.cgi?id=1459590 BZ#1459590]


=== Items in progress ===
=== Items in progress ===


* Merge dedicated build-root to rawhide and remove the dedicated one by rel-engs
* Failed builds (2):
* Rebuilt Perl packages: 2963 of 3011 done (98.40 %)
* Failed builds (25):
** asterisk - build failed with OpenSSL 1.1.0 [https://bugzilla.redhat.com/show_bug.cgi?id=1459608 BZ#1459608]
** collectd - missing dependency - liboping
** crypto-utils - build failed [https://bugzilla.redhat.com/show_bug.cgi?id=1431612 BZ#1431612]
** cyrus-imapd - failed tests Cyrus::Sieve.badscript_timsieved
** debhelper - test t/buildsystems/buildsystem_tests.t failed [https://bugzilla.redhat.com/show_bug.cgi?id=1459615 BZ#1459615]
** dnssec-tools - build failed [https://bugzilla.redhat.com/show_bug.cgi?id=1381613 BZ#1381613]
** dnssec-tools - build failed [https://bugzilla.redhat.com/show_bug.cgi?id=1381613 BZ#1381613]
** hexchat - configure failed [https://bugzilla.redhat.com/show_bug.cgi?id=1459618 BZ#1459618]
** perl-OpenOffice-UNO - test fail randomly [https://bugzilla.redhat.com/show_bug.cgi?id=1106166 BZ#1106166]
** kvirc - build failed [https://bugzilla.redhat.com/show_bug.cgi?id=1423830 BZ#1423830]
** liboping - build failed on architectures ppc64le and aarch64 [https://bugzilla.redhat.com/show_bug.cgi?id=1427893 BZ#1427893]
** libsedml - build failed on architecture s390x
** obexftp - openobex-devel is missing on s390x
** os-autoinst - tests failed
** perl-Algorithm-CurveFit - build failed [https://bugzilla.redhat.com/show_bug.cgi?id=1242769 BZ#1242769]
** perl-CHI - tests failed [https://bugzilla.redhat.com/show_bug.cgi?id=1435166 BZ#1435166]
** perl-Gtk3-WebKit - build failed due to missing webkitgtk3-devel [https://bugzilla.redhat.com/show_bug.cgi?id=1373410 BZ#1373410]
** perl-HTML-FormFu-MultiForm - tests failed [https://rt.cpan.org/Public/Bug/Display.html?id=91788 CPANRT#91788]
** perl-Math-Pari - build failed [https://bugzilla.redhat.com/show_bug.cgi?id=1459155 BZ#1459155]
** perl-OpenOffice-UNO - test failed on architectures ppc64le, armv7hl and s390x
** perl-PDL-Graphics-PLplot - tests failed [https://bugzilla.redhat.com/show_bug.cgi?id=1459590 BZ#1459590]
** perl-SDL - tests failed on architectures ppc64le and ppc64 [https://bugzilla.redhat.com/show_bug.cgi?id=1427880 BZ#1427880]
** redland-bindings - build failed [https://bugzilla.redhat.com/show_bug.cgi?id=1350620 BZ#1350620]
** subunit - tests failed on x86_64
** subversion - tests randomly failed on s390x
** xchat - build failed [https://bugzilla.redhat.com/show_bug.cgi?id=1387521 BZ#1387521]
** znc - failed with error "Directory not found"
* It is not possible to build due to missing dependencies (23):
** frozen-bubble - perl-SDL
** kgb-bot - subversion
** perl-Catalyst-Controller-FormBuilder - perl-Catalyst-View-Mason
** perl-Catalyst-Controller-HTML-FormFu - perl-HTML-FormFu-MultiForm
** perl-Catalyst-View-Email - perl-Catalyst-View-Mason
** perl-Catalyst-View-Mason - perl-HTML-Mason
** perl-Crypt-PWSafe3 - perl-Crypt-Random
** perl-Crypt-Primes - perl-Math-Pari perl-Crypt-Random
** perl-Crypt-RSA - perl-Math-Pari perl-Crypt-Random
** perl-Crypt-Random - perl-Math-Pari
** perl-HTML-Mason - perl-CHI
** perl-HTML-Mason-PSGIHandler - perl-HTML-Mason
** perl-HTTP-Server-Simple-Mason - perl-HTML-Mason
** perl-MasonX-Interp-WithCallbacks - perl-HTML-Mason
** perl-MasonX-Request-WithApacheSession - perl-HTML-Mason
** perl-Mojolicious-Plugin-CHI - perl-CHI
** perl-Net-SFTP - perl-Net-SFTP-Foreign
** perl-Net-SFTP-Foreign - perl-Net-SSH-Perl
** perl-Net-SSH-Perl - perl-Math-Pari perl-Crypt-RSA
** perl-SVK - perl-SVN-Simple
** perl-SVN-Simple - subversion
** perl-Task-Catalyst - perl-Catalyst-View-Email
** rt - perl-HTML-Mason perl-HTTP-Server-Simple-Mason perl-HTML-Mason-PSGIHandler
* Unfixable packages retired (0)


=== Items to be done ===
=== Items to be done ===
* Synchronize packages upgraded in f27 build root


== Detailed Description ==
== Detailed Description ==
Line 176: Line 131:
== Release Notes ==
== Release Notes ==
<onlyinclude>
<onlyinclude>
* Main changes with widespread effects:
** Removal of the current directory (".") from @INC for security reason [http://search.cpan.org/dist/perl-5.26.0/pod/perldelta.pod#Removal_of_the_current_directory_(%22.%22)_from_@INC (more info)].
** ''do'' now gives a deprecation warning when it fails to load a file which it would have loaded had "." been in @INC.
** Unescaped literal ''{'' characters in regular expression patterns are no longer permissible.


TBD
* Other changes:
 
** Lexical subroutines (''lexical_subs'') are no longer experimental.
* New features:
** It is possible to indented here-documents. The ''~'' modifier will strip, from each line in the here-doc, the same whitespace that appears before the delimiter.
 
** There is a new regular expression modifier ''/xx''. It does everything that a single ''x'' does, but additionally TAB and SPACE characters within a bracketed character class are generally ignored.
* Changes:
** Unicode 9.0 is now supported.
** Use of ''\p{script}'' uses the improved Script_Extensions property.
** The hash and array functions in the ''CORE'' namespace (''keys'', ''each'', ''values'', ''push'', ''pop'', ''shift'', ''unshift'' and ''splice'') can be called with ampersand syntax (''&CORE::keys(\%hash'') and via reference (''my $k = \&CORE::keys; $k->(\%hash)'').
** New -Di switch is now required for PerlIO debugging output/
** ''scalar(%hash)'' returns the count of used keys instead of information about the buckets allocated in the hash.
** ''keys'' returned from an lvalue subroutine can no longer be assigned to in list context.
** ''require ::Foo::Bar'' is now illegal. Now any bareword require which starts with a double colon dies.
** New documentation ''perldeprecation'' describe all upcoming deprecations and some of the deprecations which already have been removed.


* Removed features:
* Removed features:
** c2ph and pstruct were removed from perlutil
** The ${^ENCODING} facility has been removed. The ''encoding'' pragma's default mode is no longer supported. If you need to write your source code in encoding other than UTF-8, use a source filter such as ''Filter::Encoding'' on CPAN or encoding's ''Filter'' option.
** The old utilities ''c2ph'' and ''pstruct'' were removed.


</onlyinclude>
</onlyinclude>

Latest revision as of 12:21, 20 April 2018


Perl 5.26

Summary

A new perl 5.26 version brings a lot of changes done over a year of development. Perl 5.26 was released 5/31/2017. See 5.26.0 perldelta for more details about preparing release.

Owner

Current status

Completed items

  • Get dedicated build-root from rel-engs (f27-perl)
  • Define perl_bootstrap in perl-srpm-macros
  • Rebase perl to 5.26.0
  • Build new perl 5.26 keeping old COMPAT Provides
  • Rebuild dual-lived packages (otherwise yum recommends --skip-broken and fails)
  • Rebuild packages needed for minimal build-root
  • Rebuild packages needed for building source packages from git repository
  • Remove old perl(:MODULE_COMPAT_5.24.*) from perl
  • Undefine perl_bootstrap
  • Rebuild other packages: Use Fedora::Rebuild dependency solver
  • Rebuild packages having perl_bootstrap condition in spec file
  • Rebuild all updated packages
  • Merge dedicated build-root to rawhide and remove the dedicated one by rel-engs
  • Synchronize packages upgraded in f27 build root
  • Rebuilt Perl packages: 3006 of 3011 done (99.83 %)
  • Unfixable packages retired (3):
    • obexftp - openobex-devel is missing on s390x
    • perl-Algorithm-CurveFit - build failed BZ#1242769
    • perl-PDL-Graphics-PLplot - tests failed BZ#1459590

Items in progress

  • Failed builds (2):

Items to be done

Detailed Description

New perl is released every year and updates containing mainly bug fixes follow during the year. The 5.26.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 f27-perl build-root against perl 5.26.0 and then if no major problem emerges the packages will be merged back to f27 build-root.

  • Proposal owners:

New perl and all packages requiring perl or a Perl module will be rebuilt into f27-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 f27-perl build-root inheriting from f27 build-root. After successful finishing the rebuild, they will be asked to merge f27-perl packages back to f27 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.26 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 26 to 27. 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 3000 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.26 is not suitable for Fedora 27, we will revert back to perl 5.24 and we drop the temporary build-root with already rebuilt packages.

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

Documentation

Release Notes

  • Main changes with widespread effects:
    • Removal of the current directory (".") from @INC for security reason (more info).
    • do now gives a deprecation warning when it fails to load a file which it would have loaded had "." been in @INC.
    • Unescaped literal { characters in regular expression patterns are no longer permissible.
  • Other changes:
    • Lexical subroutines (lexical_subs) are no longer experimental.
    • It is possible to indented here-documents. The ~ modifier will strip, from each line in the here-doc, the same whitespace that appears before the delimiter.
    • There is a new regular expression modifier /xx. It does everything that a single x does, but additionally TAB and SPACE characters within a bracketed character class are generally ignored.
    • Unicode 9.0 is now supported.
    • Use of \p{script} uses the improved Script_Extensions property.
    • The hash and array functions in the CORE namespace (keys, each, values, push, pop, shift, unshift and splice) can be called with ampersand syntax (&CORE::keys(\%hash) and via reference (my $k = \&CORE::keys; $k->(\%hash)).
    • New -Di switch is now required for PerlIO debugging output/
    • scalar(%hash) returns the count of used keys instead of information about the buckets allocated in the hash.
    • keys returned from an lvalue subroutine can no longer be assigned to in list context.
    • require ::Foo::Bar is now illegal. Now any bareword require which starts with a double colon dies.
    • New documentation perldeprecation describe all upcoming deprecations and some of the deprecations which already have been removed.
  • Removed features:
    • The ${^ENCODING} facility has been removed. The encoding pragma's default mode is no longer supported. If you need to write your source code in encoding other than UTF-8, use a source filter such as Filter::Encoding on CPAN or encoding's Filter option.
    • The old utilities c2ph and pstruct were removed.