#67151 closed defect (duplicate)

php72 @7.2.34_4+libedit+universal: php-config72 differs and cannot be merged

Reported by: grove86amits (Amit Sarkar) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: php

Description

I am using M1 MacBook Air, and I am using macports to install PHP 7.2.34. I am working in a project where I required to have cURl enabled. But the installation is getting failed every time.

The command I have run: sudo port install php72-curl

Here is the final error -

Error: Failed to destroot php72: php-config72 differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php72/work/destroot-arm64//opt/local/bin and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php72/work/destroot-ppc-intel//opt/local/bin and cannot be merged

Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php72/main.log for details.

Error: Unable to execute port: upgrade php72 failed

I have attached the log file here.

Attachments (2)

main.log (1.6 MB) - added by grove86amits (Amit Sarkar) 13 months ago.
Log file path: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php72/main.log
main.2.log (83.5 KB) - added by grove86amits (Amit Sarkar) 13 months ago.
Log file path: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php72-curl/main.log

Download all attachments as: .zip

Change History (4)

Changed 13 months ago by grove86amits (Amit Sarkar)

Attachment: main.log added

Log file path: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php72/main.log

Changed 13 months ago by grove86amits (Amit Sarkar)

Attachment: main.2.log added

Log file path: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php72-curl/main.log

comment:1 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Port: php added
Priority: HighNormal
Status: newassigned
Summary: php72-curl installation failedphp72 @7.2.34_4+libedit+universal: php-config72 differs and cannot be merged

Please attach the two php-config72 files so we can see how they differ.

This is only happening because you are using the universal variant. If you don't require a universal build, you can avoid the problem by not using that variant.

comment:2 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: assignedclosed

You didn't attach the requested files but since you're building universal for arm64 and x86_64 I bet this is a duplicate of #64758.

Note: See TracTickets for help on using tickets.