[MacPorts] #71731: php74: cant rebuild
MacPorts
noreply at macports.org
Fri Jan 3 07:16:39 UTC 2025
#71731: php74: cant rebuild
--------------------------+------------------------
Reporter: EfrosIonelu | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: php74 |
--------------------------+------------------------
Changes (by ryandesign):
* owner: (none) => ryandesign
* status: new => assigned
* cc: ryandesign (removed)
Old description:
> MacPorts base version 2.10.5 installed,
> MacPorts base version 2.10.5 available.
> ---> MacPorts base is already the latest version
> ---> Updating the ports tree
>
> The ports tree has been updated.
>
> sudo port upgrade icu
> ---> Updating database of binaries
> ---> Scanning binaries for linking errors
> ---> Found 11 broken files, matching files to ports
> ---> Found 3 broken ports, determining rebuild order
> You can always run 'port rev-upgrade' again to fix errors.
> The following ports will be rebuilt:
> php74-intl @7.4.33
> php82-intl @8.2.24
> postgresql16 @16.6
> Continue? [Y/n]: y
> ---> Computing dependencies for php74
> ---> Fetching archive for php74
> ---> Attempting to fetch php74-7.4.33_2+libedit.darwin_24.arm64.tbz2
> from https://vie.at.packages.macports.org/php74
> ---> Attempting to fetch php74-7.4.33_2+libedit.darwin_24.arm64.tbz2
> from https://fra.de.packages.macports.org/php74
> ---> Attempting to fetch php74-7.4.33_2+libedit.darwin_24.arm64.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: rev-upgrade failed: Error rebuilding php74-intl
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there
> is a bug.
>
> ----
>
> **Every where i see this error**
>
> PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so'
> (tried: /opt/local/lib/php82/extensions/no-debug-non-zts-20220829/intl.so
> (dlopen(/opt/local/lib/php82/extensions/no-debug-non-
> zts-20220829/intl.so, 0x0009): Library not loaded:
> /opt/local/lib/libicuio.74.dylib
> Referenced from: <A304BB2F-92B8-30A6-953A-272E7DD2827D>
> /opt/local/lib/php82/extensions/no-debug-non-zts-20220829/intl.so
> Reason: tried: '/opt/local/lib/libicuio.74.dylib' (no such file),
> '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libicuio.74.dylib'
> (no such file), '/opt/local/lib/libicuio.74.dylib' (no such file)),
> /opt/local/lib/php82/extensions/no-debug-non-zts-20220829/intl.so.so
> (dlopen(/opt/local/lib/php82/extensions/no-debug-non-
> zts-20220829/intl.so.so, 0x0009): tried: '/opt/local/lib/php82/extensions
> /no-debug-non-zts-20220829/intl.so.so' (no such file),
> '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/php82/extensions/no-
> debug-non-zts-20220829/intl.so.so' (no such file),
> '/opt/local/lib/php82/extensions/no-debug-non-zts-20220829/intl.so.so'
> (no such file))) in Unknown on line 0
New description:
{{{
MacPorts base version 2.10.5 installed,
MacPorts base version 2.10.5 available.
---> MacPorts base is already the latest version
---> Updating the ports tree
The ports tree has been updated.
sudo port upgrade icu
---> Updating database of binaries
---> Scanning binaries for linking errors
---> Found 11 broken files, matching files to ports
---> Found 3 broken ports, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
php74-intl @7.4.33
php82-intl @8.2.24
postgresql16 @16.6
Continue? [Y/n]: y
---> Computing dependencies for php74
---> Fetching archive for php74
---> Attempting to fetch php74-7.4.33_2+libedit.darwin_24.arm64.tbz2 from
https://vie.at.packages.macports.org/php74
---> Attempting to fetch php74-7.4.33_2+libedit.darwin_24.arm64.tbz2 from
https://fra.de.packages.macports.org/php74
---> Attempting to fetch php74-7.4.33_2+libedit.darwin_24.arm64.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: rev-upgrade failed: Error rebuilding php74-intl
Error: Follow https://guide.macports.org/#project.tickets if you believe
there
is a bug.
}}}
----
**Every where i see this error**
{{{
PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so'
(tried: /opt/local/lib/php82/extensions/no-debug-non-zts-20220829/intl.so
(dlopen(/opt/local/lib/php82/extensions/no-debug-non-zts-20220829/intl.so,
0x0009): Library not loaded: /opt/local/lib/libicuio.74.dylib
Referenced from: <A304BB2F-92B8-30A6-953A-272E7DD2827D>
/opt/local/lib/php82/extensions/no-debug-non-zts-20220829/intl.so
Reason: tried: '/opt/local/lib/libicuio.74.dylib' (no such file),
'/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libicuio.74.dylib' (no
such file), '/opt/local/lib/libicuio.74.dylib' (no such file)),
/opt/local/lib/php82/extensions/no-debug-non-zts-20220829/intl.so.so
(dlopen(/opt/local/lib/php82/extensions/no-debug-non-
zts-20220829/intl.so.so, 0x0009): tried: '/opt/local/lib/php82/extensions
/no-debug-non-zts-20220829/intl.so.so' (no such file),
'/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/php82/extensions/no-
debug-non-zts-20220829/intl.so.so' (no such file),
'/opt/local/lib/php82/extensions/no-debug-non-zts-20220829/intl.so.so' (no
such file))) in Unknown on line 0
}}}
--
Comment:
Please attach your main.log file so I can see which of the existing
tickets this one is a duplicate of.
--
Ticket URL: <https://trac.macports.org/ticket/71731#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list