[MacPorts] #70981: php74: Undefined symbols

MacPorts noreply at macports.org
Sun Sep 29 20:43:27 UTC 2024


#70981: php74: Undefined symbols
------------------------+------------------------
  Reporter:  exlemor    |      Owner:  ryandesign
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.10.1
Resolution:  duplicate  |   Keywords:  sequoia
      Port:  php74      |
------------------------+------------------------

Comment (by exlemor):

 Hi Ryan,

 I have read #70468 which you pointed to as being the original duplicate of
 my ticket but it doesn't resolve the issue sadly.

 I have done those 2 commands:

 If you require php74 or older, with the understanding that those versions
 have reached end of life, you can work around the problem by running:

 sudo port clean php74-apache2handler
 sudo port install php74-apache2handler configure.cflags="-Os -Wno-error
 =implicit-int"

 (unfortunately I need php 7.4 locally for the next X months which a site
 is transitioned to php 8.1+)

 and received this:

 sudo port clean php74-apache2handler
 Password:
 --->  Cleaning php74-apache2handler
 user at MacBook-Pro-of-user ~ % sudo port install php74-apache2handler
 configure.cflags="-Os -Wno-error=implicit-int"
 --->  Computing dependencies for php74-apache2handler
 The following dependencies will be installed:
  apache2
  apr
  apr-util
  expat
  openssl
  openssl3
  pcre
  perl5
  php74
  sqlite3
 Continue? [Y/n]: Y
 --->  Fetching archive for php74
 --->  Attempting to fetch php74-7.4.33_1+libedit.darwin_24.x86_64.tbz2
 from https://mse.uk.packages.macports.org/php74
 --->  Attempting to fetch php74-7.4.33_1+libedit.darwin_24.x86_64.tbz2
 from https://fra.de.packages.macports.org/php74
 --->  Attempting to fetch php74-7.4.33_1+libedit.darwin_24.x86_64.tbz2
 from https://packages.macports.org/php74
 --->  Building php74
 Error: Failed to build php74: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php74/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port php74-apache2handler failed
 user at MacBook-Pro-of-user ~ %

 -------------------------------------

 Help ;( ;)

 Sincerely,

 Emmanuel.

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


More information about the macports-tickets mailing list