Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58973 closed defect (fixed)

cclient @2007f fails to build against openssl 1.1

Reported by: hbsimon (Horst Simon) Owned by: chrisminett (Chris Minett)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), chrisminett (Chris Minett)
Port: cclient

Description (last modified by jmroot (Joshua Root))

Clean install of MacPorts-2.5.4-10.13-HighSierra on macOS High Sierra version 10.13.6 I get following error in installing php73-imap:

Error: Failed to build cclient: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_cclient/cclient/main.log for details.
Error: Problem while installing cclient
Error: rev-upgrade failed: Error rebuilding php73-imap
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Have attached the main.log file in compressed by gzip.

Attachments (1)

main.log.gz (41.7 KB) - added by hbsimon (Horst Simon) 5 years ago.

Download all attachments as: .zip

Change History (18)

Changed 5 years ago by hbsimon (Horst Simon)

Attachment: main.log.gz added

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

Cc: ryandesign added; ryandesign@… removed
Description: modified (diff)
Port: cclient added
Summary: Error rebuilding php73-imap, Problem while installing cclientcclient @2007f fails to build against openssl 1.1

comment:3 Changed 5 years ago by dlw-libs

having the same issue, although I am on an old 10.11.6 OS. trying to install php73-imap or php72-imap results in this same error. Is there a new release that will fix this issue coming? Thanks!!

comment:4 in reply to:  3 Changed 5 years ago by GreggGreen (Gregg Green)

Replying to dlw-libs:

having the same issue, although I am on an old 10.11.6 OS. trying to install php73-imap or php72-imap results in this same error. Is there a new release that will fix this issue coming? Thanks!!

Same here. I uninstalled php73-imap and cclient, then port install curl to rebuild php/mariadb and get things working again.

comment:5 Changed 5 years ago by GreggGreen (Gregg Green)

This breaks PHPMailer

comment:6 Changed 5 years ago by johnww2

To make matters worse, now getting 404 error trying to build client:

:info:archivefetch --->  cclient-2007f_2.darwin_18.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch cclient-2007f_2.darwin_18.x86_64.tbz2 from https://packages.macports.org/cclient
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch cclient-2007f_2.darwin_18.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/cclient
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch cclient-2007f_2.darwin_18.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/cclient
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Tue Sep 17 20:06:33 JST 2019

comment:7 Changed 5 years ago by edgarsstrods (Edgars)

Yes, I am having this issue also!

comment:8 Changed 5 years ago by claudepache (Claude Pache)

Cc: claudepache added

comment:9 Changed 5 years ago by chrisminett (Chris Minett)

Cc: chrisminett added

comment:10 Changed 5 years ago by GreggGreen (Gregg Green)

Version 2.6.0 still will not build cclient

This breaks PHP 7.3 email using PHPMailer.

Error: Failed to build cclient: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_cclient/cclient/main.log for details.
Error: Problem while installing cclient
Error: rev-upgrade failed: Error rebuilding php73-imap
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:11 in reply to:  6 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to johnww2:

To make matters worse, now getting 404 error trying to build client:

:info:archivefetch --->  cclient-2007f_2.darwin_18.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch cclient-2007f_2.darwin_18.x86_64.tbz2 from https://packages.macports.org/cclient
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch cclient-2007f_2.darwin_18.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/cclient
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch cclient-2007f_2.darwin_18.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/cclient
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Tue Sep 17 20:06:33 JST 2019

Yes, you will not be able to get a binary archive of cclient from us. We cannot make one, since, as this ticket points out, the software does not build.

When MacPorts fails to get a binary archive, it should try (and fail) to build from source. If that attempt did not happen on your system, you must have instructed MacPorts not to do it, either by using the -b flag at the command line or by specifying buildfromsource never in macports.conf. So if you want to see the failing source build, for example so that you could work on fixing it, don't do / undo whichever of those you did.

comment:12 in reply to:  10 ; Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to GreggGreen:

Version 2.6.0 still will not build cclient

Yes, it will continue not to work until somebody fixes it. The port has no maintainer so somebody will need to volunteer to fix it.

comment:13 in reply to:  12 Changed 5 years ago by chrisminett (Chris Minett)

Replying to ryandesign:

The port has no maintainer so somebody will need to volunteer to fix it.

@ryandesign I've added the patch that @kencu referenced. Would you mind taking a look at the PR? Patch files are easy enough, but I'm not used to Tcl so unsure about how I've done the version compare. Seems to build OK, including php73-imap.

https://github.com/macports/macports-ports/pull/5366

Thanks!

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

Somebody else should look at it. I haven't been involved with the openssl 1.1 transition and have no particular knowledge of it or what needs to happen to fix such build failures.

comment:15 Changed 5 years ago by chrisminett (Chris Minett)

Owner: set to chrisminett
Resolution: fixed
Status: newclosed

In c0359f03247a4c95712e64d2329dc8328962244b/macports-ports (master):

cclient: Patch to work with OpenSSL v1.1

Apply FreeBSD patch from https://bugs.freebsd.org/bugzilla/attachment.cgi?id=198493&action=edit
Closes #58973

comment:16 Changed 5 years ago by edgarsstrods (Edgars)

Thanks for everyone for this fix!

comment:17 Changed 5 years ago by claudepache (Claude Pache)

Cc: claudepache removed
Note: See TracTickets for help on using tickets.