ttyd outdated api on mantic

Bug #2044717 reported by Philip Milev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ttyd (Ubuntu)
New
Undecided
Unassigned

Bug Description

root@linux-build-ws-VM65N:/home/worker# lsb_release -rd
No LSB modules are available.
Description: Ubuntu 23.10
Release: 23.10

worker@linux-build-ws-VM65N:~$ sudo -s
root@linux-build-ws-VM65N:/home/worker# ttyd -i lo -p 7681 -O login
[2023/11/27 10:42:06:8587] N: ttyd 1.7.3 (libwebsockets 4.1.6-)
[2023/11/27 10:42:06:8588] N: tty configuration:
[2023/11/27 10:42:06:8588] N: start command: login
[2023/11/27 10:42:06:8588] N: close signal: SIGHUP (1)
[2023/11/27 10:42:06:8588] N: terminal type: xterm-256color
[2023/11/27 10:42:06:8588] N: check origin: true
[2023/11/27 10:42:06:8588] N: LWS: 4.1.6-, loglevel 7
[2023/11/27 10:42:06:8588] N: NET CLI SRV H1 H2 WS IPV6-off
[2023/11/27 10:42:06:8612] N: /usr/lib/x86_64-linux-gnu/libwebsockets-evlib_uv.so
[2023/11/27 10:42:06:8616] E: lws_plat_dlopen: plugin /usr/lib/x86_64-linux-gnu/libwebsockets-evlib_uv.so has outdated api 427131598 (vs 190)
[2023/11/27 10:42:06:8617] E: lws_create_context: unable to load evlib plugin evlib_uv
[2023/11/27 10:42:06:8617] E: libwebsockets context creation failed
root@linux-build-ws-VM65N:/home/worker# sudo apt install_cmake.sh ^C
root@linux-build-ws-VM65N:/home/worker# apt relay-board4.py ^C
root@linux-build-ws-VM65N:/home/worker# apt remove *libwebsock*
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libwebsockets-test-server' for glob '*libwebsock*'
Note, selecting 'libwebsocket-api-java' for glob '*libwebsock*'
Note, selecting 'libwebsockets-dev' for glob '*libwebsock*'
Note, selecting 'libwebsockets-evlib-glib' for glob '*libwebsock*'
Note, selecting 'libwebsockets19' for glob '*libwebsock*'
Note, selecting 'libwebsockets-evlib-ev' for glob '*libwebsock*'
Note, selecting 'libwebsockets-evlib-uv' for glob '*libwebsock*'
Note, selecting 'libwebsockets-test-server-common' for glob '*libwebsock*'
Note, selecting 'libwebsocketpp-dev' for glob '*libwebsock*'
Note, selecting 'libwebsocketpp-doc' for glob '*libwebsock*'
Package 'libwebsocketpp-dev' is not installed, so not removed
Package 'libwebsockets-dev' is not installed, so not removed
Package 'libwebsocket-api-java' is not installed, so not removed
Package 'libwebsocketpp-doc' is not installed, so not removed
Package 'libwebsockets-evlib-ev' is not installed, so not removed
Package 'libwebsockets-evlib-glib' is not installed, so not removed
Package 'libwebsockets-test-server' is not installed, so not removed
Package 'libwebsockets-test-server-common' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  docker-scan-plugin libcap-dev libev-dev libev4
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  libwebsockets-evlib-uv libwebsockets19 ttyd
0 upgraded, 0 newly installed, 3 to remove and 30 not upgraded.
After this operation, 1236 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 392979 files and directories currently installed.)
Removing ttyd (1.7.3-2) ...
Removing libwebsockets-evlib-uv:amd64 (4.3.2-4) ...
Removing libwebsockets19:amd64 (4.3.2-4) ...
Processing triggers for man-db (2.11.2-3) ...
Processing triggers for libc-bin (2.38-1ubuntu6) ...
root@linux-build-ws-VM65N:/home/worker# ls /usr/lib/*websock*
ls: cannot access '/usr/lib/*websock*': No such file or directory
root@linux-build-ws-VM65N:/home/worker# cat /etc/default/ttyd ^C
root@linux-build-ws-VM65N:/home/worker# apt install ttyd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  docker-scan-plugin libcap-dev libev-dev libev4
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libwebsockets-evlib-uv libwebsockets19
The following NEW packages will be installed:
  libwebsockets-evlib-uv libwebsockets19 ttyd
0 upgraded, 3 newly installed, 0 to remove and 30 not upgraded.
Need to get 598 kB of archives.
After this operation, 1236 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://bg.archive.ubuntu.com/ubuntu mantic/universe amd64 libwebsockets19 amd64 4.3.2-4 [228 kB]
Get:2 http://bg.archive.ubuntu.com/ubuntu mantic/universe amd64 libwebsockets-evlib-uv amd64 4.3.2-4 [12.5 kB]
Get:3 http://bg.archive.ubuntu.com/ubuntu mantic/universe amd64 ttyd amd64 1.7.3-2 [358 kB]
Fetched 598 kB in 0s (9777 kB/s)
Selecting previously unselected package libwebsockets19:amd64.
(Reading database ... 392959 files and directories currently installed.)
Preparing to unpack .../libwebsockets19_4.3.2-4_amd64.deb ...
Unpacking libwebsockets19:amd64 (4.3.2-4) ...
Selecting previously unselected package libwebsockets-evlib-uv:amd64.
Preparing to unpack .../libwebsockets-evlib-uv_4.3.2-4_amd64.deb ...
Unpacking libwebsockets-evlib-uv:amd64 (4.3.2-4) ...
Selecting previously unselected package ttyd.
Preparing to unpack .../ttyd_1.7.3-2_amd64.deb ...
Unpacking ttyd (1.7.3-2) ...
Setting up libwebsockets19:amd64 (4.3.2-4) ...
Setting up libwebsockets-evlib-uv:amd64 (4.3.2-4) ...
Setting up ttyd (1.7.3-2) ...
Processing triggers for man-db (2.11.2-3) ...
Processing triggers for libc-bin (2.38-1ubuntu6) ...
root@linux-build-ws-VM65N:/home/worker# ttyd -i lo -p 7681 -O login
[2023/11/27 10:43:44:3465] N: ttyd 1.7.3 (libwebsockets 4.1.6-)
[2023/11/27 10:43:44:3465] N: tty configuration:
[2023/11/27 10:43:44:3465] N: start command: login
[2023/11/27 10:43:44:3465] N: close signal: SIGHUP (1)
[2023/11/27 10:43:44:3465] N: terminal type: xterm-256color
[2023/11/27 10:43:44:3465] N: check origin: true
[2023/11/27 10:43:44:3466] N: LWS: 4.1.6-, loglevel 7
[2023/11/27 10:43:44:3466] N: NET CLI SRV H1 H2 WS IPV6-off
[2023/11/27 10:43:44:3489] N: /usr/lib/x86_64-linux-gnu/libwebsockets-evlib_uv.so
[2023/11/27 10:43:44:3493] E: lws_plat_dlopen: plugin /usr/lib/x86_64-linux-gnu/libwebsockets-evlib_uv.so has outdated api -938700082 (vs 190)
[2023/11/27 10:43:44:3494] E: lws_create_context: unable to load evlib plugin evlib_uv
[2023/11/27 10:43:44:3494] E: libwebsockets context creation failed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.