This wiki page is about a gentoo ebuild. Include any information about how to install it (emerge it), potential problems and how to resolve them. Be bold and improve it!

If you have any questions or experience any problem related to this ebuild, don't hesitate to open a new ticket and we'll do our best to assist you.

Python target

If python is being upgraded system-wide, but libreoffice-bin is not yet being provided for the proper python target, you may see emerge errors like this one:

!!! The ebuild selected to satisfy "app-office/libreoffice-bin" has unmet requirements.
- app-office/libreoffice-bin- USE="kde -gnome -java" ABI_X86="(64)" PYTHON_TARGETS="-python3_5"

  The following REQUIRED_USE flag constraints are unsatisfied:

  The above constraints are a subset of the following complete expression:
    kde? ( !gnome ) gnome? ( !kde ) python_targets_python3_5

Create a file in /etc/portage/package.use/libreoffice and put the following in it:

app-office/libreoffice-bin PYTHON_SINGLE_TARGET: python3_5 PYTHON_TARGETS: python3_5

which you can delete one the binary package has been upgraded to the newer python version.

See also:

External resources