Opened 5 years ago

Closed 5 years ago

#59396 closed defect (fixed)

php53-intl, php54-intl, php55-intl, php56-intl, php70-intl: Build fails with icu 65.1

Reported by: wadjei Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc: raphael-st (Raphael Straub)
Port: php

Description (last modified by jmroot (Joshua Root))

xenon:~ will$ sudo port clean php56-intl
--->  Cleaning php56-intl
xenon:~ will$ sudo port -ns upgrade --force php56-intl
--->  Computing dependencies for php56-intl
--->  Fetching distfiles for php56-intl
--->  Verifying checksums for php56-intl
--->  Extracting php56-intl
--->  Configuring php56-intl
--->  Building php56-intl
Error: Failed to build php56-intl: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php56-intl/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Error seems linked to icu (went from 58 to 65) but I can't figure out how to work around it

Attachments (1)

main.log (72.0 KB) - added by wadjei 5 years ago.
indicated logfile

Download all attachments as: .zip

Change History (8)

Changed 5 years ago by wadjei

Attachment: main.log added

indicated logfile

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to ryandesign
Port: php56-intl added
Status: newassigned

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Is only php56-intl affected or are the other phpXX-intl versions also affected?

Maybe old versions of PHP are not compatible with the new ICU. If so, maybe we can find out how they fixed newer versions and backport the fix.

comment:3 in reply to:  2 Changed 5 years ago by raphael-st (Raphael Straub)

Replying to ryandesign:

Is only php56-intl affected or are the other phpXX-intl versions also affected?

I have the same problem with php70-intl.

comment:4 Changed 5 years ago by raphael-st (Raphael Straub)

Cc: raphael-st added

comment:5 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

It might be this bug which was fixed in php 7.2.

comment:6 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Port: php added; php56-intl removed
Status: assignedaccepted
Summary: unable to install php56-intl after upgrade to mac os 10.14php53-intl, php54-intl, php55-intl, php56-intl, php70-intl: Build fails with icu 65.1

I have been able to fix this for php55, php56, and php70 by backporting the fixes already in php71 and later. I have not committed it yet because I'm still trying to solve the problem for php53 and php54.

comment:7 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 29a7baedd03ebb6b399fbf3da2a3ca1e0b6a995e/macports-ports (master):

php: Fix building php70-intl and older with newer icu

Closes: #59396

Note: See TracTickets for help on using tickets.