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 C25351388C0 for ; Sat, 27 Feb 2016 20:28:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33C1B21C02D; Sat, 27 Feb 2016 20:28:45 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1C06E21C009 for ; Sat, 27 Feb 2016 20:28:43 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZlTj-0007q2-UQ for gentoo-user@lists.gentoo.org; Sat, 27 Feb 2016 21:28:39 +0100 Received: from 108-248-189-27.lightspeed.clmasc.sbcglobal.net ([108.248.189.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Feb 2016 21:28:39 +0100 Received: from boxcars by 108-248-189-27.lightspeed.clmasc.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Feb 2016 21:28:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: =?UTF-8?B?wrtRwqs=?= Subject: [gentoo-user] Re: PYTHON_SINGLE_TARGET & libreoffice Date: Sat, 27 Feb 2016 14:27:10 -0600 Organization: none Message-ID: <20160227142710.5e2ed423@sepulchrave.remarqs> References: <56D1FB96.8030500@gmail.com> 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 108-248-189-27.lightspeed.clmasc.sbcglobal.net X-Newsreader: Claws Mail 3.13.2 (GTK+ 2.24.29; x86_64-pc-linux-gnu) X-Archives-Salt: 3b5a6574-0c03-4c75-8563-54d9b193f25d X-Archives-Hash: 8c1c0a6026b4ea049bd11bbb2ace5a29 On Sat, 27 Feb 2016 21:40:06 +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 can set it in make.conf but as expected that causes all manner of > other packages to fail emerge checks as they need python2.7. > > What's the preferred way to deal with this situation? > Some relevant info: > > !!! 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 ) > khamul ~ # eselect python list > Available Python interpreters: > [1] python2.7 > [2] python3.4 > [3] python3.5 * I think you can just put app-office/libreoffice python_single_target_python3_5 into package.use, which is easier than messing with package.env. But if anything still looks funny in emerge --pretend output, wait for advice from someone better than me!