[MacPorts] #67898: Issue with PHP 8.2 Arm version of GD

MacPorts noreply at macports.org
Mon Aug 7 21:07:44 UTC 2023


#67898: Issue with PHP 8.2 Arm version of GD
-------------------------+------------------------
  Reporter:  thomashohn  |      Owner:  ryandesign
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  php82-gd    |
-------------------------+------------------------

Comment (by ryandesign):

 Replying to [comment:8 thomashohn]:
 > I have some other (a lot) of php82 modules installed. I would guess that
 i would need a module that needs to be compiled like php82-gd.

 The problem you originally reported was an extraction problem, not a
 compilation problem.

 > {{{
 >   php82 @8.2.8_0+libedit+universal (active)
 > }}}

 Good to know that you're using the universal variant for php82. Non-
 default variants are not as well tested, so this can sometimes cause some
 problems. I don't yet know if it relates to any of the problem you're
 experiencing. I don't see how it could cause an extract problem.

 > {{{
 >  sudo port clean php82-gd
 > Password:
 > --->  Cleaning php82-gd
 > ❯ sudo port install  php82-gd
 > --->  Computing dependencies for php82-gd
 > --->  Fetching archive for php82-gd
 > --->  Attempting to fetch php82-gd-8.2.8_0.darwin_22.arm64.tbz2 from
 https://fra.de.packages.macports.org/php82-gd
 > --->  Attempting to fetch php82-gd-8.2.8_0.darwin_22.arm64.tbz2 from
 https://packages.macports.org/php82-gd
 > --->  Attempting to fetch php82-gd-8.2.8_0.darwin_22.arm64.tbz2 from
 https://cph.dk.packages.macports.org/php82-gd
 > --->  Fetching distfiles for php82-gd
 > --->  Verifying checksums for php82-gd
 > --->  Extracting php82-gd
 > --->  Configuring php82-gd
 > Error: Failed to configure php82-gd: child process exited abnormally
 > Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php82-gd/main.log
 for details.
 > Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 > Error: Processing of port php82-gd failed
 > }}}

 This is not the same as the problem you originally reported. Here,
 extraction succeeded and configuration failed. Please attach (not paste)
 the main.log and config.log files so we can see what happened here. The
 config.log will be somewhere within the directory identified by the
 command `port work php82-gd`.

 > {{{
 >  sudo port install php82-xdebug
 > --->  Computing dependencies for php82-xdebug
 > --->  Fetching archive for php82-xdebug
 > --->  Attempting to fetch php82-xdebug-3.2.2_0.darwin_22.arm64.tbz2 from
 https://fra.de.packages.macports.org/php82-xdebug
 > --->  Attempting to fetch php82-xdebug-3.2.2_0.darwin_22.arm64.tbz2 from
 https://packages.macports.org/php82-xdebug
 > --->  Attempting to fetch php82-xdebug-3.2.2_0.darwin_22.arm64.tbz2 from
 https://cph.dk.packages.macports.org/php82-xdebug
 > --->  Configuring php82-xdebug
 > Error: Failed to configure php82-xdebug: can't read "php.extension_dir":
 child process exited abnormally
 > Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-xdebug/php82-xdebug/main.log
 for details.
 > Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 > Error: Processing of port php82-xdebug failed
 > }}}

 Same here: please attach these main.log and config.log files.

 > Could it maybe be a virus scanner killing the process?

 I have no idea what your virus scanner might do. Try turning it off.

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


More information about the macports-tickets mailing list