Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518026 - app-editors/pluma-1.8.1 shouldn't call python-single-r1_pkg_setup without USE=python
Summary: app-editors/pluma-1.8.1 shouldn't call python-single-r1_pkg_setup without USE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 19:42 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2014-12-10 09:28 UTC (History)
2 users (show)

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


Attachments
emerge --info app-editors/pluma (einfo,5.32 KB, text/plain)
2014-07-24 19:42 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-07-24 19:42:37 UTC
Created attachment 381518 [details]
emerge --info app-editors/pluma

* Package:    app-editors/pluma-1.8.1
 * Repository: gentoo
 * Maintainer: TomWij@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 userland_GNU
 * FEATURES:   compressdebug preserve-libs sandbox splitdebug userpriv usersandbox
 * No Python implementation selected for the build. Please set
 * the PYTHON_SINGLE_TARGET variable in your make.conf to one
 * of the following values:
 * 
 * python2_6 python2_7


all the REQUIRED_USE stuff looks fine, just it seems that it needlessly invokes python-single-r1_pkg_setup , triggering the error, even though USE=python says it doesn't need to ( and I assume this is right, because that's what the REQUIRED_USE says )
Comment 1 Matthias Maier gentoo-dev 2014-12-09 22:44:58 UTC
I cannot reproduce, can you please retry? If it sill fails, attach the complete build.log and repoen, please.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-12-10 08:36:40 UTC
You have the solution given in summary.

pkg_setup() {
  use python && python-single-r1_pkg_setup
}

If you want to get the error, uninstall python:2.7 and try installing with USE=-
python. But that's not worth the effort.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-12-10 08:41:17 UTC
Or even simpler, USE='-python -python_single_target_python2_7'.
Comment 4 Matthias Maier gentoo-dev 2014-12-10 09:28:47 UTC
  10 Dec 2014; Matthias Maier <tamiko@gentoo.org> pluma-1.8.0.ebuild:
  do not call to python-single-r1_pkg_setup if USE=-python, bug #518026

  10 Dec 2014; Matthias Maier <tamiko@gentoo.org> pluma-1.8.1.ebuild:
  do not call to python-single-r1_pkg_setup if USE=-python, bug #518026