Python plugins don't work when compiled with python later than 3.8. Reproducible: Always Steps to Reproduce: 1. Switch system to python 3.8. 2. Emerge HexChat. 3. Launch HexChat. Actual Results: The following error message is displayed in the server window: AutoLoad failed for: /usr/lib64/hexchat/plugins/python.so /usr/lib64/hexchat/plugins/python.so: undefined symbol: PyExc_RuntimeError The issue has been reported upstream [1] and fixed [2], which also worked for me. I did not need it, but there's an extra commit to possibly handle some edge cases [3]. [1] https://github.com/hexchat/hexchat/issues/2441 [2] https://github.com/hexchat/hexchat/commit/5deb69591992d4fede9090b60d3dc847612a4d60 [3] https://github.com/hexchat/hexchat/commit/3871fbaacb580e959f0d358cc18a76de6b8fd6a4
I was about to report this but you already hav! https://github.com/hexchat/hexchat/commit/5deb69591992d4fede9090b60d3dc847612a4d60.patch solved the issue for someone who reported it to me. Poly, could you apply these if it's alright with you?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84a391d6e374314b5497e0027d87a5af62415989 commit 84a391d6e374314b5497e0027d87a5af62415989 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2020-12-25 13:16:33 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2020-12-25 13:16:40 +0000 net-irc/hexchat: Fixed python plugins with python-3.8 Closes: https://bugs.gentoo.org/758758 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../hexchat/files/hexchat-2.14.3-python38.patch | 28 ++++++++++++++++++++++ net-irc/hexchat/hexchat-2.14.3-r100.ebuild | 6 ++++- 2 files changed, 33 insertions(+), 1 deletion(-)