Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 818733 - net-analyzer/fail2ban-0.11.2-r1 - error in fail2ban setup command: use_2to3 is invalid.
Summary: net-analyzer/fail2ban-0.11.2-r1 - error in fail2ban setup command: use_2to3 i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 812149
  Show dependency tree
 
Reported: 2021-10-17 18:06 UTC by Toralf Förster
Modified: 2021-10-24 03:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.66 KB, text/plain)
2021-10-17 18:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,411.39 KB, text/plain)
2021-10-17 18:06 UTC, Toralf Förster
Details
environment (environment,120.03 KB, text/plain)
2021-10-17 18:06 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,51.51 KB, application/x-bzip)
2021-10-17 18:06 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.83 KB, application/x-bzip)
2021-10-17 18:06 UTC, Toralf Förster
Details
net-analyzer:fail2ban-0.11.2-r1:20211017-174934.log (net-analyzer:fail2ban-0.11.2-r1:20211017-174934.log,11.19 KB, text/plain)
2021-10-17 18:06 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.86 KB, application/x-bzip)
2021-10-17 18:06 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-10-17 18:06:04 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-10-17 18:06:05 UTC
Created attachment 745584 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-10-17 18:06:07 UTC
Created attachment 745587 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-10-17 18:06:08 UTC
Created attachment 745590 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-10-17 18:06:09 UTC
Created attachment 745593 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-10-17 18:06:10 UTC
Created attachment 745596 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-10-17 18:06:11 UTC
Created attachment 745599 [details]
net-analyzer:fail2ban-0.11.2-r1:20211017-174934.log
Comment 7 Toralf Förster gentoo-dev 2021-10-17 18:06:12 UTC
Created attachment 745602 [details]
temp.tar.bz2
Comment 8 Emil Petrakov 2021-10-22 18:28:09 UTC
I've got the same error on my new Gentoo virtual server.

People say that use_2to3 is deprecated in setuptools-58.
Comment 9 Larry the Git Cow gentoo-dev 2021-10-24 03:39:07 UTC
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(+)