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

MacPorts noreply at macports.org
Mon Aug 7 20:24:52 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 thomashohn):

 Hi again

 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.

 {{{
 php82 @8.2.3_0+libedit+universal
   php82 @8.2.4_0+libedit+universal
   php82 @8.2.5_0+libedit+universal
   php82 @8.2.5_1+libedit+universal
   php82 @8.2.7_0+libedit+universal
   php82 @8.2.8_0+libedit+universal (active)
   php82-APCu @5.1.22_0 (active)
   php82-curl @8.2.4_0
   php82-curl @8.2.5_0
   php82-curl @8.2.7_0
   php82-curl @8.2.8_0 (active)
   php82-fpm @8.2.4_0
   php82-fpm @8.2.5_0
   php82-fpm @8.2.7_0
   php82-fpm @8.2.8_0 (active)
   php82-geoip @1.1.1_0 (active)
   php82-iconv @8.2.4_0
   php82-iconv @8.2.5_0
   php82-iconv @8.2.7_0
   php82-iconv @8.2.8_0 (active)
   php82-intl @8.2.4_0
   php82-intl @8.2.5_0
   php82-intl @8.2.5_1
   php82-intl @8.2.7_0
   php82-intl @8.2.8_0 (active)
   php82-lzf @1.7.0_0 (active)
   php82-mbstring @8.2.4_0
   php82-mbstring @8.2.5_0
   php82-mbstring @8.2.7_0
   php82-mbstring @8.2.8_0 (active)
   php82-mysql @8.2.4_0
   php82-mysql @8.2.5_0
   php82-mysql @8.2.7_0
   php82-mysql @8.2.8_0 (active)
   php82-openssl @8.2.4_0
   php82-openssl @8.2.5_0
   php82-openssl @8.2.7_0
   php82-openssl @8.2.8_0 (active)
   php82-posix @8.2.4_0
   php82-posix @8.2.5_0
   php82-posix @8.2.7_0
   php82-posix @8.2.8_0 (active)
   php82-redis @5.3.7_0 (active)
   php82-soap @8.2.4_0
   php82-soap @8.2.5_0
   php82-soap @8.2.7_0
   php82-soap @8.2.8_0 (active)
   php82-ssh2 @1.4_0 (active)
   php82-zip @1.21.1_0
   php82-zip @1.22.0_0
   php82-zip @1.22.1_0 (active)
 }}}

 Tried some extra modules - php82-xdebug seems to fail where others do
 install:


 {{{
  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




  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
 ❯ sudo port install php82-lzf
 --->  Computing dependencies for php82-lzf
 --->  Fetching archive for php82-lzf
 --->  Attempting to fetch php82-lzf-1.7.0_0.darwin_22.arm64.tbz2 from
 https://fra.de.packages.macports.org/php82-lzf
 --->  Attempting to fetch php82-lzf-1.7.0_0.darwin_22.arm64.tbz2.rmd160
 from https://fra.de.packages.macports.org/php82-lzf
 --->  Installing php82-lzf @1.7.0_0
 --->  Activating php82-lzf @1.7.0_0
 --->  Cleaning php82-lzf
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.
 }}}

 Could it maybe be a virus scanner killing the process?

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


More information about the macports-tickets mailing list