Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526304 - dev-python/path-py - missing IUSE="doc"
Summary: dev-python/path-py - missing IUSE="doc"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-21 17:35 UTC by Seemant Kulleen
Modified: 2014-10-22 08:58 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 Seemant Kulleen 2014-10-21 17:35:46 UTC
Hi, dev-python/path-py-7.0 has a missing "doc" in IUSE, which causes a fatal error during emerge.  Adding that into the IUSE string made it proceed.

Thank you!
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-10-22 04:53:47 UTC
I meant to take the doc build out for now and missed removing it completely. Removing it for now, it's flagged for addition later which will have to be a revbump. Did you actually want the docs or were you just testing because it was there?

  22 Oct 2014; Ian Delaney <idella4@gentoo.org> path-py-7.0.ebuild:
  remove premature addition of doc build
Comment 2 Seemant Kulleen 2014-10-22 05:23:49 UTC
Ian, thank you.  Neither, it was simply portage spitting out an error:


$ sudo emerge -av path-py

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-python/path-py-7.0  USE="{-test} (-doc%)" PYTHON_TARGETS="python2_7 python3_3 -pypy -python3_4" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-python/path-py-7.0::gentoo
 * path.py-7.0.zip SHA256 SHA512 WHIRLPOOL size ;-) ...                     [ ok ]
>>> Unpacking source...
>>> Unpacking path.py-7.0.zip to /var/tmp/portage/dev-python/path-py-7.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/path-py-7.0/work
>>> Preparing source in /var/tmp/portage/dev-python/path-py-7.0/work/path.py-7.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/path-py-7.0/work/path.py-7.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/path-py-7.0/work/path.py-7.0 ...
 * python3_3: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.3 setup.py build
running build
running build_py
creating /var/tmp/portage/dev-python/path-py-7.0/work/path.py-7.0-python3_3/lib
copying path.py -> /var/tmp/portage/dev-python/path-py-7.0/work/path.py-7.0-python3_3/lib
copying test_path.py -> /var/tmp/portage/dev-python/path-py-7.0/work/path.py-7.0-python3_3/lib
warning: build_py: byte-compiling is disabled, skipping.

 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
running build
running build_py
creating /var/tmp/portage/dev-python/path-py-7.0/work/path.py-7.0-python2_7/lib
copying path.py -> /var/tmp/portage/dev-python/path-py-7.0/work/path.py-7.0-python2_7/lib
copying test_path.py -> /var/tmp/portage/dev-python/path-py-7.0/work/path.py-7.0-python2_7/lib
warning: build_py: byte-compiling is disabled, skipping.

 * python2_7: running distutils-r1_run_phase python_compile_all
 * ERROR: dev-python/path-py-7.0::gentoo failed (compile phase):
 *   USE Flag 'doc' not in IUSE for dev-python/path-py-7.0
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_compile
 *        environment, line 3483:  Called distutils-r1_src_compile
 *        environment, line 1044:  Called _distutils-r1_run_common_phase 'python_compile_all'
 *        environment, line  284:  Called multibuild_for_best_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all'
 *        environment, line 2286:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all'
 *        environment, line 2311:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all'
 *        environment, line 2309:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile_all'
 *        environment, line  712:  Called distutils-r1_run_phase 'python_compile_all'
 *        environment, line 1030:  Called python_compile_all
 *        environment, line 2797:  Called use 'doc'
 *   phase-helpers.sh, line  200:  Called die
 * The specific snippet of code:
 *   				die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 * 
 * If you need support, post the output of `emerge --info '=dev-python/path-py-7.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/path-py-7.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/path-py-7.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/path-py-7.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/path-py-7.0/work/path.py-7.0'
 * S: '/var/tmp/portage/dev-python/path-py-7.0/work/path.py-7.0'

>>> Failed to emerge dev-python/path-py-7.0, Log file:

>>>  '/var/tmp/portage/dev-python/path-py-7.0/temp/build.log'

 * Messages for package dev-python/path-py-7.0:

 * ERROR: dev-python/path-py-7.0::gentoo failed (compile phase):
 *   USE Flag 'doc' not in IUSE for dev-python/path-py-7.0
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_compile
 *        environment, line 3483:  Called distutils-r1_src_compile
 *        environment, line 1044:  Called _distutils-r1_run_common_phase 'python_compile_all'
 *        environment, line  284:  Called multibuild_for_best_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all'
 *        environment, line 2286:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all'
 *        environment, line 2311:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all'
 *        environment, line 2309:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile_all'
 *        environment, line  712:  Called distutils-r1_run_phase 'python_compile_all'
 *        environment, line 1030:  Called python_compile_all
 *        environment, line 2797:  Called use 'doc'
 *   phase-helpers.sh, line  200:  Called die
 * The specific snippet of code:
 *   				die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 * 
 * If you need support, post the output of `emerge --info '=dev-python/path-py-7.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/path-py-7.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/path-py-7.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/path-py-7.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/path-py-7.0/work/path.py-7.0'
 * S: '/var/tmp/portage/dev-python/path-py-7.0/work/path.py-7.0'
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2014-10-22 08:58:10 UTC
$ sudo emerge -av path-py
hmm portage picked out an error with a use case that wasn't even put up.
Well it was an oversight that needing rectifying. Closing