[MacPorts] #62734: ttyd @1.4.2: error: no member named 'ws_ping_pong_interval' in 'struct lws_context_creation_info' (was: Unable to install ttyd at 1.4.2 with macports 2.6.4 (Catalina))

MacPorts noreply at macports.org
Fri Apr 23 07:00:57 UTC 2021


#62734: ttyd @1.4.2: error: no member named 'ws_ping_pong_interval' in 'struct
lws_context_creation_info'
---------------------------+----------------------
  Reporter:  prasantjalan  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:  catalina
      Port:  ttyd          |
---------------------------+----------------------
Changes (by ryandesign):

 * keywords:  ttyd => catalina
 * milestone:  MacPorts Future =>
 * port:  2.6.4 => ttyd


Old description:

> Unable to install ttyd with macport 2.6.4.
> ttyd 1.4.2 fails to
>
> Steps to reproduce the behavior:
> 1. update macports to 2.6.4
> 2. sudo port install ttyd
>
> **Environment:**
>  - OS: [e.g. macOS 10.15.5 Catalina]
>  - MacBook Pro (Retina, 15-inch, Mid 2015)
>  - Xcode 12.4
>
> **While installing it gives the following error**
>
> Error: Failed to build ttyd: command execution failed
>
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_ttyd/ttyd/main.log
> for details.
>
> Error: rev-upgrade failed: Error rebuilding ttyd
>
> From the log file:
>
> ::info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_ttyd/ttyd/work/ttyd-1.4.2/src/server.c:399:10:
> error: no member named 'ws_ping_pong_interval' in 'struct
> lws_context_creation_info'

New description:

 Unable to install ttyd with macport 2.6.4.
 ttyd 1.4.2 fails to

 Steps to reproduce the behavior:
 1. update macports to 2.6.4
 2. sudo port install ttyd

 **Environment:**
  - OS: [e.g. macOS 10.15.5 Catalina]
  - MacBook Pro (Retina, 15-inch, Mid 2015)
  - Xcode 12.4

 **While installing it gives the following error**

 {{{
 Error: Failed to build ttyd: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_ttyd/ttyd/main.log
 for details.
 Error: rev-upgrade failed: Error rebuilding ttyd
 }}}

 From the log file:

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_ttyd/ttyd/work/ttyd-1.4.2/src/server.c:399:10:
 error: no member named 'ws_ping_pong_interval' in 'struct
 lws_context_creation_info'
 }}}

--

Comment:

 Looks like the port is several versions behind. We could try updating it
 to a newer version.
 {{{
 $ port livecheck ttyd
 ttyd seems to have been updated (port version: 1.4.2, new version: 1.6.3)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62734#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list