public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] PYTHON_SINGLE_TARGET & libreoffice
Date: Sat, 27 Feb 2016 22:04:44 +0200	[thread overview]
Message-ID: <56D2015C.5040806@gmail.com> (raw)
In-Reply-To: <20160227195958.GA25675@apio>

On 27/02/2016 21:59, Alec Ten Harmsel wrote:
> On Sat, Feb 27, 2016 at 09:40:06PM +0200, Alan McKinnon wrote:
>> I don't know much about PYTHON_SINGLE_TARGET and PYTHON_TARGET, it all
>> seemed to just work so I never looked further. Until now. Of all
>> packages, libreoffice seems to want only python3:
> 
> I don't know much about them either.
> 
>> !!! The ebuild selected to satisfy "app-office/libreoffice" has unmet
>> requirements.
>> - app-office/libreoffice-5.1.0.3::gentoo USE="bluetooth branding cups
>> dbus gstreamer java kde mysql vlc (-aqua) -coinmp -collada -debug -eds
>> (-firebird) -gltf -gnome -gtk -gtk3 -jemalloc -libressl -odk -postgres
>> (-telepathy) -test" ABI_X86="64" LIBREOFFICE_EXTENSIONS="-nlpsolver
>> -scripting-beanshell -scripting-javascript -wiki-publisher"
>> PYTHON_SINGLE_TARGET="-python3_4 -python3_5" PYTHON_TARGETS="python3_4
>> python3_5"
>>
>>   The following REQUIRED_USE flag constraints are unsatisfied:
>>     exactly-one-of ( python_single_target_python3_4
>> python_single_target_python3_5 )
>>
>> <snip>
>>
>> khamul ~ # emerge --info | grep PYTHON
>> PYTHON_SINGLE_TARGET="python2_7"
>> PYTHON_TARGETS="python2_7 python3_4"
>> Unset:  USE_PYTHON
>>
> 
> app-office/libreoffice-5.1.0.3 requires PYTHON_SINGLE_TARGET to be
> python3_4 or python3_5. That's the only problem. I would recommend
> running stable libreoffice; I would be surprised if emerge would be
> happy after you set PYTHON_SINGLE_TARGET="python3_4".

Correct, there are still way too many packages requiring python-2.7 that
don't support python-3 at all.

I deliberately keep this box on ~arch so I set the variables for
libreoffice in package.use and a world update is now running.

Wanting to know more about the subject, I found
https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS
which more or less states that to fix issues like this, put it in
package.use


-- 
Alan McKinnon
alan.mckinnon@gmail.com



  reply	other threads:[~2016-02-27 20:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-27 19:40 [gentoo-user] PYTHON_SINGLE_TARGET & libreoffice Alan McKinnon
2016-02-27 19:59 ` Alec Ten Harmsel
2016-02-27 20:04   ` Alan McKinnon [this message]
2016-02-27 20:22     ` [gentoo-user] " Nikos Chantziaras
2016-02-27 20:36       ` Alan McKinnon
2016-02-27 20:16 ` Nikos Chantziaras
2016-02-27 20:21   ` Alan McKinnon
2016-02-27 20:27 ` »Q«
2016-02-27 20:37   ` Alan McKinnon
2016-02-27 20:49 ` [gentoo-user] " Todd Goodman
2016-02-27 21:22 ` Neil Bothwick

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=56D2015C.5040806@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