[MacPorts] #61351: PHP 7.4 Wordpress & Composer Behavior

MacPorts noreply at macports.org
Tue Dec 8 03:52:23 UTC 2020


#61351: PHP 7.4 Wordpress & Composer Behavior
----------------------+------------------------
  Reporter:  mav2287  |      Owner:  ryandesign
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  php74    |
----------------------+------------------------

Comment (by ryandesign):

 It's likely the problem will affect all future versions of php until
 someone identifies what the problem is and fixes it.

 I've never seen the problem on macOS 10.13.6. Since you're on an older
 version of macOS, it could be a problem in that older version of macOS or
 in the older version of clang that gets used to compile on that OS. To
 test the second half of that theory, you could first try recompiling php
 from source using the same compiler we used on our build machine:

 {{{
 sudo port -ns upgrade --force php80
 }}}

 (or php74 or whatever port you want to test).

 Presumably that will still fail the same way.

 Then, try recompiling with a newer compiler, like clang 10:

 {{{
 sudo port install clang-10
 sudo port -ns upgrade --force php80 configure.compiler=macports-clang-10
 }}}

 If that then works, that could indicate a bug in the old compiler or an
 assumption in the php code that isn't true for older compilers.

-- 
Ticket URL: <https://trac.macports.org/ticket/61351#comment:20>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list