Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575814 - app-office/libreoffice-5.1.0.3 not setting PYTHON_SINGLE_TARGET and preventing emerge
Summary: app-office/libreoffice-5.1.0.3 not setting PYTHON_SINGLE_TARGET and preventin...
Status: RESOLVED DUPLICATE of bug 472932
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-27 12:55 UTC by Aldo Mazzeo
Modified: 2016-02-28 16:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aldo Mazzeo 2016-02-27 12:55:17 UTC
The other day I tried to update the system by running the usual "emerge -uvDN world", but it was impossible to run it properly as I am getting the following error since then

!!! Problem resolving dependencies for app-office/libreoffice from @selected
... done!

!!! The ebuild selected to satisfy "app-office/libreoffice" has unmet requirements.
- app-office/libreoffice-5.1.0.3::gentoo USE="branding cups dbus gtk (-aqua) -bluetooth -coinmp -collada -debug -eds (-firebird) -gltf -gnome -gstreamer -gtk3 -java -jemalloc -kde -libressl -mysql -odk -postgres (-telepathy) -test -vlc" 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 )

  The above constraints are a subset of the following complete expression:
    exactly-one-of ( python_single_target_python3_4 python_single_target_python3_5 ) python_single_target_python3_4? ( python_targets_python3_4 ) python_single_target_python3_5? ( python_targets_python3_5 ) bluetooth? ( dbus ) collada? ( gltf ) eds? ( gnome ) gnome? ( gtk ) telepathy? ( gtk ) libreoffice_extensions_nlpsolver? ( java ) libreoffice_extensions_scripting-beanshell? ( java ) libreoffice_extensions_scripting-javascript? ( java ) libreoffice_extensions_wiki-publisher? ( java )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])




Apparently, libreoffice's ebuild is not setting PYTHON_SINGLE_TARGET correctly. I never had to set this variable for any of the packages. Could you please give a look at this issue?
Comment 1 Andreas Sturmlechner gentoo-dev 2016-02-27 13:11:48 UTC
The problem here is that >=libreoffice-5.1.0.3 only has python3_4 and python3_5 support while your global PYTHON_SINGLE_TARGET is at python2_7. That's what requires you to make a manual adjustment.

Meanwhile, build with python2_7 appears to have been fixed so maybe it could go back into the ebuild...
Comment 2 Aldo Mazzeo 2016-02-27 13:13:22 UTC
Thanks for the fast reply. Well, as updating now is not so important, I guess I can wait for the ebuild to be fixed. Thanks again.
Comment 3 Pacho Ramos gentoo-dev 2016-02-28 16:42:15 UTC

*** This bug has been marked as a duplicate of bug 472932 ***