| Summary: | net-analyzer/fail2ban-0.9.7 : ImportError: No module named StringIO | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | Keywords: | TESTFAILURE |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.gentoo.org/show_bug.cgi?id=627870 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 net-analyzer:fail2ban-0.9.7:20171103-181235.log temp.tbz2 |
||
Created attachment 502362 [details]
emerge-info.txt
Created attachment 502364 [details]
emerge-history.txt
Created attachment 502366 [details]
environment
Created attachment 502368 [details]
etc.portage.tbz2
Created attachment 502370 [details]
logs.tbz2
Created attachment 502372 [details]
net-analyzer:fail2ban-0.9.7:20171103-181235.log
Created attachment 502374 [details]
temp.tbz2
Happens also in 0.9.6. commit bdf68cec78f2dc54e255677c16785cd778fcd5c0 Author: Jeroen Roovers <jer@gentoo.org> Date: Wed Dec 27 12:28:07 2017 +0100 net-analyzer/fail2ban: Version bump (bug #627870 by Joe, patch by floppym). Package-Manager: Portage-2.3.19, Repoman-2.3.6 I think the addition of +python_compile() { + if python_is_python3; then + ./fail2ban-2to3 || die + fi + distutils-r1_python_compile +} + might have fixed this. |
File "./fail2ban/tests/utils.py", line 34, in <module> from StringIO import StringIO ImportError: No module named 'StringIO' * ERROR: net-analyzer/fail2ban-0.9.7::gentoo failed (test phase): * tests failed with python3.4 * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-systemd_test_20171031-164654 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python2.7 (fallback) emerge -qpv net-analyzer/fail2ban [ebuild N ] net-analyzer/fail2ban-0.9.7 USE="systemd (-selinux)" PYTHON_SINGLE_TARGET="python3_4 -pypy -python2_7 -python3_5" PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_5"