Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • aports aports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 666
    • Issues 666
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 283
    • Merge requests 283
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Our ARM infrastructure is unreachable at the moment, so CI jobs will time-out and packages will not be updated until the servers are back.

  • alpinealpine
  • aportsaports
  • Merge requests
  • !2421

WIP: Update to PHP 7.4

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Andy Postnikov requested to merge andypost/aports:php74 into master Dec 25, 2019
  • Overview 29
  • Commits 1
  • Pipelines 48
  • Changes 9

The upgrade for #11002 (closed)

Upgrade of PHP to 7.4 and rebuild of php extensions for it

  • supersedes !1808 (closed)
  • upgrade for extensions rebased from !9179 (closed) where tests for dependent ones were tested
  • some work for linting using !9194 (closed)

Ref https://www.php.net/manual/en/migration74.php

Current state https://github.com/php/php-src/blob/PHP-7.4/UPGRADING

  • removed extensions (recode & wddx) https://www.php.net/manual/en/migration74.removed-extensions.php
  • onigmura has been unbundled in https://github.com/php/php-src/commit/d1c1481081ef6280bf403b290501ca62d736cb8b
  • added TRAVIS=true SKIP_IO_CAPTURE_TESTS=1 because tests now rely on this variables to skip risky tests
  • added -D_LARGEFILE_SOURCE and -D_FILE_OFFSET_BITS=64 as recommended https://www.php.net/manual/en/intro.filesystem.php
  • lots of tests now pass but few new ones added and sorted (echant2 compatibility could be backported as patches from master)

Language evolution: https://github.com/php/php-rfcs/pull/2

List of failed tests updated from https://code.foxkit.us/adelie/packages/-/blob/master/user/php7/disabled-tests.list

Rebuild of dependencies

Following packages got fixes for tests (expect fresher releases when PHP 8.0 alpha1 will appear in few weeks)

  • community

    • php7-pecl-igbinary - https://github.com/iusrepo/php74-pecl-igbinary/pull/1
    • php7-pecl-zmq - using patches already and waiting for https://github.com/zeromq/php-zmq/commit/4ad1b33e095924bd4ccf79295999dd54edaaac37
  • testing

    • php7-pecl-decimal - 3 broken tests, waiting for new release
    • php7-pecl-seaslog - https://github.com/SeasX/SeasLog/pull/287

I gonna merge as cumulative change when it starts to pass tests

Edited Jun 13, 2020 by Andy Postnikov
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: php74