#63862 closed defect (fixed)
php70-openssl, php71-openssl, php72-openssl, php80-openssl: error: use of undeclared identifier 'RSA_SSLV23_PADDING'
Reported by: | hostep (Pieter Hoste) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | Cc: | judgeene | |
Port: | php |
Description
When trying to install php70-openssl or php71-openssl or php72-openssl (doesn't happen with 73, 74 or 80) I get the following error:
sudo port install php70-openssl Password: ---> Computing dependencies for php70-openssl ---> Fetching archive for php70-openssl ---> Attempting to fetch php70-openssl-7.0.33_1.darwin_20.x86_64.tbz2 from https://packages.macports.org/php70-openssl ---> Attempting to fetch php70-openssl-7.0.33_1.darwin_20.x86_64.tbz2.rmd160 from https://packages.macports.org/php70-openssl ---> Installing php70-openssl @7.0.33_1 ---> Activating php70-openssl @7.0.33_1 ---> Cleaning php70-openssl ---> Scanning binaries for linking errors ---> Found 2 broken files, matching files to ports ---> Found 1 broken port, determining rebuild order You can always run 'port rev-upgrade' again to fix errors. The following ports will be rebuilt: php70-openssl @7.0.33 Continue? [Y/n]: Y ---> Computing dependencies for php70-openssl ---> Cleaning php70-openssl ---> Scanning binaries for linking errors ---> Found 2 broken files, matching files to ports ---> Found 1 broken port, determining rebuild order ---> Rebuilding in order php70-openssl @7.0.33_1 ---> Computing dependencies for php70-openssl ---> Fetching distfiles for php70-openssl ---> Verifying checksums for php70-openssl ---> Extracting php70-openssl ---> Configuring php70-openssl ---> Building php70-openssl Error: Failed to build php70-openssl: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php70-openssl/main.log for details. Error: rev-upgrade failed: Error rebuilding php70-openssl Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
See attachment for the main.log file from php70-openssl
This seems to have been triggered by an openssl upgrade (to version 3) which broke a bunch of ports on my system.
Attachments (1)
Change History (6)
Changed 3 years ago by hostep (Pieter Hoste)
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | judgeene added |
---|---|
Port: | php added; php70-openssl php71-openssl php72-openssl removed |
Status: | assigned → accepted |
Summary: | php70-openssl@7.0.33: fails to build after openssl 3 → php70-openssl, php71-openssl, php72-openssl, php80-openssl: error: use of undeclared identifier 'RSA_SSLV23_PADDING' |
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Looks like someone else has been working on it. Did [2ef7852b9c78560464431444596860d88686a2a4/macports-ports] fix it? (Run sudo port selfupdate
to receive this and other fixes.)
comment:3 Changed 3 years ago by judgeene
Yes, it works! I tested it with:
port install php80-openssl
Many thanks!
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:5 Changed 3 years ago by hostep (Pieter Hoste)
Confirmed over here as well, executing the following steps did the trick for me (which is how it is recommended in the output when trying to install without deactivating openssl):
sudo port -f deactivate openssl sudo port install php70-openssl php71-openssl php72-openssl sudo port activate openssl
Thanks everybody!
Note: See
TracTickets for help on using
tickets.
Has duplicate #63888.