From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] a few blockers I can't figure out
Date: Tue, 1 Sep 2015 13:15:39 +0200 [thread overview]
Message-ID: <55E588DB.9050207@gmail.com> (raw)
In-Reply-To: <6640.1441105416@ccs.covici.com>
On 01/09/2015 13:03, covici@ccs.covici.com wrote:
> Alan McKinnon <alan.mckinnon@gmail.com> wrote:
>
>> On 01/09/2015 02:12, covici@ccs.covici.com wrote:
>>> Alan McKinnon <alan.mckinnon@gmail.com> 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
next prev parent reply other threads:[~2015-09-01 11:16 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-31 4:19 [gentoo-user] a few blockers I can't figure out covici
2015-08-31 8:50 ` Neil Bothwick
2015-08-31 9:04 ` covici
2015-08-31 9:36 ` Alan McKinnon
2015-08-31 11:03 ` covici
2015-08-31 11:10 ` Alan McKinnon
2015-08-31 11:49 ` covici
2015-08-31 12:40 ` Alan McKinnon
2015-08-31 13:37 ` Alec Ten Harmsel
2015-08-31 14:03 ` covici
2015-08-31 14:53 ` Alan McKinnon
2015-08-31 16:54 ` covici
2015-08-31 17:02 ` Neil Bothwick
2015-08-31 18:12 ` covici
2015-08-31 22:18 ` Alan McKinnon
2015-09-01 0:12 ` covici
2015-09-01 9:55 ` Alan McKinnon
2015-09-01 10:15 ` Rich Freeman
2015-09-01 11:13 ` covici
2015-09-01 11:45 ` Rich Freeman
2015-09-01 11:54 ` covici
2015-09-01 10:18 ` Marc Joliet_1
2015-09-01 10:46 ` Alan McKinnon
2015-09-01 11:03 ` covici
2015-09-01 11:15 ` Alan McKinnon [this message]
2015-08-31 23:51 ` Jeremi Piotrowski
2015-09-01 0:22 ` covici
2015-09-02 11:57 ` [gentoo-user] " walt
2015-09-02 12:45 ` Rich Freeman
2015-09-02 13:06 ` Jeremi Piotrowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55E588DB.9050207@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox