The net-analyzer/fail2ban-0.9.2 ebuild says: RDEPEND=" net-misc/whois virtual/mta virtual/logger net-firewall/iptables selinux? ( sec-policy/selinux-fail2ban ) systemd? ( $(python_gen_cond_dep '|| ( dev-python/python-systemd[${PYTHON_USEDEP}] sys-apps/systemd[python,${PYTHON_USEDEP}] )' 'python*' ) ) " But the sys-apps/systemd-222-r1 ebuild doesn't have a "python" use flag: IUSE="acl apparmor audit cryptsetup curl elfutils gcrypt gnuefi http idn importd +kdbus +kmod +lz4 lzma nat pam policykit qrcode +seccomp selinux ssl sysv-utils terminal test vanilla xkb" The result is this error: -- # emerge systemd -pv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/systemd-221:0/2::gentoo USE="acl cryptsetup curl elfutils gcrypt http idn kdbus kmod lz4 lzma pam policykit python qrcode seccomp ssl terminal -apparmor -audit -gnuefi -importd -nat (-selinux) -sysv-utils {-test} -vanilla -xkb" ABI_X86="32 (64) (-x32)" PYTHON_SINGLE_TARGET="python3_3 -python2_7 -python3_4" PYTHON_TARGETS="python2_7 python3_3 -python3_4" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: sys-apps/systemd:0 (sys-apps/systemd-222-r1:0/2::gentoo, ebuild scheduled for merge) conflicts with sys-apps/systemd[python,python_targets_python2_7(-),python_targets_python3_3(-),python_single_target_python3_3(+)] required by (net-analyzer/fail2ban-0.9.2:0/0::gentoo, installed) -- Perhaps fail2ban needs to depend on sys-apps/python-systemd instead? Reproducible: Always
Please try emerge -1av sys-apps/systemd dev-python/python-systemd
That does fix the problem. After running emerge -1av sys-apps/systemd dev-python/python-systemd I don't get any more errors about fail2ban / the systemd python use flag.
# ChangeLog for net-analyzer/fail2ban # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/fail2ban/ChangeLog,v 1.164 2015/07/10 01:01:59 floppym Exp $ 10 Jul 2015; Mike Gilbert <floppym@gentoo.org> fail2ban-0.9.2.ebuild, fail2ban-99999999.ebuild: Adjust systemd dep for dev-python/python-systemd.