Opened 3 years ago

Closed 3 years ago

#64007 closed defect (duplicate)

php80-openssl: php80-openssl cannot be built while openssl is active

Reported by: KentarouTakeda (KentarouTakeda) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cjones051073 (Chris Jones)
Port: php

Description (last modified by KentarouTakeda (KentarouTakeda))

Unable to install php80-openssl.

$ sudo port clean php80-openssl
--->  Cleaning php80-openssl

$ sudo port install php80-openssl
--->  Computing dependencies for php80-openssl
--->  Fetching archive for php80-openssl
--->  Attempting to fetch php80-openssl-8.0.13_0.darwin_21.x86_64.tbz2 from https://kmq.jp.packages.macports.org/php80-openssl
--->  Attempting to fetch php80-openssl-8.0.13_0.darwin_21.x86_64.tbz2 from https://packages.macports.org/php80-openssl
--->  Attempting to fetch php80-openssl-8.0.13_0.darwin_21.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/php80-openssl
--->  Fetching distfiles for php80-openssl
--->  Verifying checksums for php80-openssl
--->  Extracting php80-openssl
--->  Configuring php80-openssl
Error: php80-openssl cannot be built while openssl is active.
Error: Please forcibly deactivate openssl, e.g. by running:
Error:
Error:     sudo port -f deactivate openssl
Error:
Error: Then try again. You can reactivate openssl again later.
Error: Failed to configure php80-openssl: openssl is active
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php80-openssl/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port php80-openssl failed

$ grep -B 1 failed  /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php80-openssl/main.log
:msg:archivefetch --->  Attempting to fetch php80-openssl-8.0.13_0.darwin_21.x86_64.tbz2 from https://kmq.jp.packages.macports.org/php80-openssl
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch php80-openssl-8.0.13_0.darwin_21.x86_64.tbz2 from https://packages.macports.org/php80-openssl
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch php80-openssl-8.0.13_0.darwin_21.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/php80-openssl
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404

Certainly there doesn't seem to be a file for 8.0.13.

https://kmq.jp.packages.macports.org/php80-openssl/

Change History (9)

comment:1 Changed 3 years ago by KentarouTakeda (KentarouTakeda)

Port: php80-openssl added

comment:2 Changed 3 years ago by KentarouTakeda (KentarouTakeda)

Description: modified (diff)

comment:3 Changed 3 years ago by KentarouTakeda (KentarouTakeda)

Description: modified (diff)

comment:4 Changed 3 years ago by cjones051073 (Chris Jones)

Resolution: wontfix
Status: newclosed

Just follow the instructions as given in the message above....

Error: php80-openssl cannot be built while openssl is active.
Error: Please forcibly deactivate openssl, e.g. by running:
Error:
Error:     sudo port -f deactivate openssl
Error:
Error: Then try again. You can reactivate openssl again later.

php80-openssl needs to build against openssl11 as it is not compatible with openssl 3. To prevent the build finding the wrong headers during the build, the openssl shim port cannot be installed during the build.

comment:5 Changed 3 years ago by cjones051073 (Chris Jones)

Cc: cjones051073 added

comment:6 Changed 3 years ago by KentarouTakeda (KentarouTakeda)

Thank you for your advice. I'm sorry I was wrong.

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

Port: php added; php80-openssl removed
Resolution: wontfix
Status: closedreopened
Summary: Unable to install php80-openssl.php80-openssl: php80-openssl cannot be built while openssl is active

You weren't wrong. It is a bug; we need to fix it. Duplicate of #63921.

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

Owner: set to ryandesign
Status: reopenedaccepted

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

Resolution: duplicate
Status: acceptedclosed
Note: See TracTickets for help on using tickets.