Success! python3.9 setup.py build -j 4 error in fail2ban setup command: use_2to3 is invalid. * ERROR: net-analyzer/fail2ban-0.11.2-r1::gentoo failed (compile phase): * (no error message) * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-j4-20211011-200208 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * /usr/lib/llvm/13 13.0.0 Python 3.9.7 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.55.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 9eb9243620b4ef02dca242e3c2e37bd63dc8089a Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Oct 17 16:21:39 2021 +0000 2021-10-17 16:21:37 UTC emerge -qpvO net-analyzer/fail2ban [ebuild N ] net-analyzer/fail2ban-0.11.2-r1 USE="systemd (-selinux)" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Created attachment 745584 [details] emerge-info.txt
Created attachment 745587 [details] emerge-history.txt
Created attachment 745590 [details] environment
Created attachment 745593 [details] etc.portage.tar.bz2
Created attachment 745596 [details] logs.tar.bz2
Created attachment 745599 [details] net-analyzer:fail2ban-0.11.2-r1:20211017-174934.log
Created attachment 745602 [details] temp.tar.bz2
I've got the same error on my new Gentoo virtual server. People say that use_2to3 is deprecated in setuptools-58.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e75f94661d665527b763aa8a5a85e4c7f45a130 commit 5e75f94661d665527b763aa8a5a85e4c7f45a130 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-24 03:37:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-24 03:38:58 +0000 net-analyzer/fail2ban: fix install with newer setuptools (2to3 usage) Closes: https://bugs.gentoo.org/818733 Signed-off-by: Sam James <sam@gentoo.org> net-analyzer/fail2ban/fail2ban-0.11.2-r1.ebuild | 1 + .../files/fail2ban-0.11.2-fix-2to3-usage.patch | 109 +++++++++++++++++++++ 2 files changed, 110 insertions(+)