From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CEEFE1383D3 for ; Tue, 1 Sep 2015 11:16:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C891214298; Tue, 1 Sep 2015 11:15:53 +0000 (UTC) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33EDD14229 for ; Tue, 1 Sep 2015 11:15:52 +0000 (UTC) Received: by wicmc4 with SMTP id mc4so29118678wic.0 for ; Tue, 01 Sep 2015 04:15:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=ktjDUjlOgealBirR8Oqk4aGW1fpAvcutDrE4DuCaGSk=; b=Iq1H8Ta1SCoaFwdoXlBR9qtntl82lDSpCMTN8HyxbVcVZCbMuyTJ++CoxND05CiyHN Y7AWixBYGnMK5K28Tid62B7qYdxbhQVU+pQQiLQdSn1SvOkhvrfSMnjH1AHnuKFrrlrk snbdKsq5mA4yV668HEbzaFjx6s6Zpz8gJaLVJiq+HbTEDpMRPNRF89PULFBb1l1lLihT aAUPkoyqL68xppTUl/Fed6r9olV4Ys78ABHKa4JIm1+A5HyYiwXSoggtQJwy9LZ64aSI siqKeSSEsrZ5KdBKrVpsGrUZnvvnb3IbT3nY3ovwvUj69mhjDIhO1MirhLG+EfmpyHie xlLg== X-Received: by 10.194.58.130 with SMTP id r2mr33236705wjq.72.1441106151082; Tue, 01 Sep 2015 04:15:51 -0700 (PDT) Received: from [172.20.0.41] (105-237-150-165.access.mtnbusiness.co.za. [105.237.150.165]) by smtp.googlemail.com with ESMTPSA id fj3sm2222825wic.10.2015.09.01.04.15.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Sep 2015 04:15:50 -0700 (PDT) Subject: Re: [gentoo-user] a few blockers I can't figure out To: gentoo-user@lists.gentoo.org References: <14864.1440994748@ccs.covici.com> <55E42037.1060402@gmail.com> <32639.1441018993@ccs.covici.com> <55E43610.7000709@gmail.com> <24901.1441021764@ccs.covici.com> <55E44B22.9090806@gmail.com> <29989.1441029822@ccs.covici.com> <55E46A64.5030701@gmail.com> <5230.1441040087@ccs.covici.com> <55E4D2A2.5050500@gmail.com> <16396.1441066373@ccs.covici.com> <55E57600.8050409@gmail.com> <6640.1441105416@ccs.covici.com> From: Alan McKinnon Message-ID: <55E588DB.9050207@gmail.com> Date: Tue, 1 Sep 2015 13:15:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <6640.1441105416@ccs.covici.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Archives-Salt: 89bc754e-bd81-4f2f-8c05-cb7b3565284b X-Archives-Hash: ab968a7d4ff2000773e0d2bb3ee113b0 On 01/09/2015 13:03, covici@ccs.covici.com wrote: > Alan McKinnon wrote: > >> On 01/09/2015 02:12, covici@ccs.covici.com wrote: >>> Alan McKinnon wrote: >>> >>>> On 31/08/2015 18:54, covici@ccs.covici.com wrote: >>>>>> The words make sense, the meaning doesn't :-) >>>>>>> >>>>>>> It looks like fail2ban wants systemd without python support, but the >>>>>>> true reason is still hidden. The fail2ban ebuild has this: >>>>>>> >>>>>>> RDEPEND=" >>>>>>> ... >>>>>>> systemd? ( $(python_gen_cond_dep '|| ( >>>>>>> dev-python/python-systemd[${PYTHON_USEDEP}] >>>>>>> sys-apps/systemd[python(-),${PYTHON_USEDEP}] >>>>>>> >>>>>>> >>>>>>> I'm thinking maybe you have a specific portage entry that's getting in >>>>>>> the way. What are your results for: >>>>>>> >>>>>>> emerge --info >>>>>>> grep -r python /etc/portage >>>>>>> grep -r systemd /etc/portage >>>>> Just to let you know, most of the python entries were mandated by >>>>> portage, certainly the systemd one. >>>> >>>> >>>> I'm having a hard time figuring out what is making portage do this. >>>> I also figure you're OK with a downgraded systemd meanwhile, but just >>>> for kicks, lets test my theory: If you run this, does portage offer to >>>> upgrade systemd? >>>> >>>> >>>> USE="-python" emerge -pv systemd >>> >>> Well, here is what I got >>> [ebuild U ] sys-apps/systemd-225:0/2::gentoo [219_p112:0/2::gentoo] >>> USE="acl kdbus* kmod lz4 pam policykit seccomp ssl -apparmor -audit >>> -cryptsetup -curl -elfutils -gcrypt -gnuefi% -http -idn -importd -lzma >>> -nat -qrcode (-selinux) -sysv-utils {-test} -vanilla -xkb (-doc%*) >>> (-gudev%) (-introspection%*) (-python%*) >>> (-terminal%)" ABI_X86="32 (64) (-x32)" >>> PYTHON_SINGLE_TARGET="(-python2_7%*) (-python3_3%) (-python3_4%)" >>> PYTHON_TARGETS="(-python2_7%*) (-python3_3%) (-python3_4%*)" 3,788 KiB >>> >>> Total: 1 package (1 upgrade), Size of downloads: 3,788 KiB >>> >>> !!! Multiple package instances within a single package slot have been >>> pulled >>> !!! into the dependency graph, resulting in a slot conflict: >>> >>> sys-apps/systemd:0 >>> >>> (sys-apps/systemd-225:0/2::gentoo, ebuild scheduled for merge) pulled >>> in by >>> sys-apps/systemd (Argument) >>> >>> (sys-apps/systemd-219_p112:0/2::gentoo, installed) pulled in by >>> sys-apps/systemd[python(-),python_targets_python2_7(-)?,python_single_target_python2_7(+)?,python_targets_python3_3(-)?,python_single_target_python3_3(+)?,python_targets_python3_4(-)?,python_single_target_python3_4(+)?] >>> required by (net-analyzer/fail2ban-0.9.3:0/0::gentoo, installed) >> >> >> >> Got it, finally :-) >> >> fail2ban wants sys-apps/systemd[python(-)], and systemd-219_p112 is the >> highest version with an explicit python USE flag. All later versions do >> not have the flag at all. >> >> Your choices are either to have fail2ban fixed to deal with recent >> systemd USE, and tolerate the systemd downgrade meanwhile; or to replace >> fail2ban with something equivalent > > I do need fail2ban, so should I file a bug against it? Yes, definitely. There's a problem with fail2ban, or with portage's resolver, or with our ability to read portage operators, I'm not sure which :-) The package maintainer is in a position to help out here. -- Alan McKinnon alan.mckinnon@gmail.com