[MacPorts] #74036: php82 @8.2.30_1 build failure

MacPorts noreply at macports.org
Mon May 25 22:57:42 UTC 2026


#74036: php82 @8.2.30_1 build failure
--------------------------+------------------------
  Reporter:  mga-at-home  |      Owner:  BjarneDMat
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.12.5
Resolution:               |   Keywords:
      Port:  php82        |
--------------------------+------------------------

Comment (by mga-at-home):

 Thank you! I shall use your php84.


 Replying to [comment:2 BjarneDMat]:
 > You are running into the autoconf 2.73 C23 problem. Xcode 26 default to
 C23, which exposes some very old K&R coding practises in bcmath. It was
 fixed in macports-ports w/ a patch for 8.2.30, that never got committed to
 macports-ports before 8.2.31 got released. \\ After having reported it
 upstream, php fixed it in 8.2.31. \\ 8.2.31 is in PR
 https://github.com/macports/macports-ports/pull/32175 , but the people w/
 commit right haven't done anything w/ it yet.
 >
 > Temporary fix : you can still use my php84 branch, which has the latest
 updates from PR32175. \\ Instructions can be found in
 https://github.com/macports/macports-ports/pull/28140
 >
 > See : \\
 > https://lists.macports.org/pipermail/macports-dev/2026-April/046730.html
 \\
 > https://github.com/php/php-src/issues/21816

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


More information about the macports-tickets mailing list