Control: -1 patch Hi Thomas,
the attached patch fixes this for me, can you take care of uploading or should I?
Cheers Jochen * Mike Gabriel <mike.gabr...@das-netzwerkteam.de> [2021-06-27 05:08]:
Package: python3-websockify Severity: important Version: 0.9.0+dfsg1-2+b1 Hi,I played with websockify and NoVNC recently and discovered that websockify's program wrapper mode is currently broken in Debian 11:``` [sunweaver@sunobo ~]$ websockify 127.0.0.1:9898 -- x11vnc -noipv6 -display :0 Traceback (most recent call last): File "/usr/bin/websockify", line 33, in <module>sys.exit(load_entry_point('websockify==0.9.0', 'console_scripts', 'websockify')()) File "/usr/lib/python3/dist-packages/websockify/websocketproxy.py", line 725, in websockify_initserver = WebSocketProxy(**opts.__dict__)File "/usr/lib/python3/dist-packages/websockify/websocketproxy.py", line 306, in __init__raise Exception("rebind.so not found, perhaps you need to run make") Exception: rebind.so not found, perhaps you need to run make ``` The directory /usr/lib/websockify has this content here: ``` root@sunobo:/usr/lib/websockify# LANG=C ls -al total 44 drwxr-xr-x 2 root root 4096 Jun 27 07:01 . drwxr-xr-x 182 root root 12288 Jun 24 15:44 ..-rw-r--r-- 1 root root 14304 Nov 19 2020 rebind.cpython-39-x86_64-linux-gnu.so-rw-r--r-- 1 root root 11776 Nov 19 2020 rebind.o ```My work-around for the above error is putting a symlink into this directory, like this:``` root@sunobo:/usr/lib/websockify# LANG=C ls -al total 44 drwxr-xr-x 2 root root 4096 Jun 27 07:05 . drwxr-xr-x 182 root root 12288 Jun 24 15:44 ..-rw-r--r-- 1 root root 14304 Nov 19 2020 rebind.cpython-39-x86_64-linux-gnu.so-rw-r--r-- 1 root root 11776 Nov 19 2020 rebind.olrwxrwxrwx 1 root root 37 Jun 27 07:05 rebind.so -> rebind.cpython-39-x86_64-linux-gnu.so```Please, possibly fix this for Debian 11. If more help is needed, please let me know.Greets, Mike -- DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de
From 1306ee39a0f6019dcb2906a70e89bdb5be158c1e Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof <jspri...@debian.org> Date: Mon, 12 Jul 2021 08:05:28 +0200 Subject: [PATCH] Don't multiarchivy rebind.so rebind.so is used as LD_PRELOAD, not as a Python library. Also add a d/clean for it. Closes: #990359 --- debian/clean | 2 ++ debian/rules | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 debian/clean diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..cc058d7 --- /dev/null +++ b/debian/clean @@ -0,0 +1,2 @@ +rebind.o +rebind.so diff --git a/debian/rules b/debian/rules index c89017f..e5ea90c 100755 --- a/debian/rules +++ b/debian/rules @@ -34,4 +34,4 @@ override_dh_installmenu: rm -rf $(CURDIR)/debian/python3-websockify/usr/share/man override_dh_python3: - dh_python3 --shebang=/usr/bin/python3 + dh_python3 --shebang=/usr/bin/python3 --no-ext-rename -- 2.32.0
signature.asc
Description: PGP signature