Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265777 - python-2.6-r5.ebuild fails with doc use flag due to typo in doc package name
Summary: python-2.6-r5.ebuild fails with doc use flag due to typo in doc package name
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 265779 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-11 16:18 UTC by Richard Kaiser
Modified: 2009-04-11 16:31 UTC (History)
0 users

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 Richard Kaiser 2009-04-11 16:18:24 UTC
Unable to emerge new python-2.6-r5.ebuild due to doc use flag due to package not found. Package name in ebuild script has a type in the doc package name. The bad line 45 is: doc? ( dev-python/python-docs:2.6 ). It should be: doc? ( dev-python/python-docs-2.6 ).

Reproducible: Always

Steps to Reproduce:
1. add doc use flag to /etc/make.conf (my setup) or /etc/portage/use
2. emerge -auDNvt world
3.

Actual Results:  
planxty python # emerge -auDNvt world

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy "dev-python/python-docs:2.6" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-python/python-docs-2.6.1 (masked by: ~amd64 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "dev-lang/python-2.6-r5" [ebuild])
(dependency required by "world" [argument])


Expected Results:  
emerge updates python-2.6-r5 and dev-python/python-docs-2.6 

Workaround is to remove or disable doc use flag for python in /etc/portage/package-use
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-11 16:25:09 UTC
*** Bug 265779 has been marked as a duplicate of this bug. ***
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-11 16:31:41 UTC
I cannot reproduce your problem:

# USE="doc" emerge -qpv python:2.6
[ebuild  N    ] dev-python/python-docs-2.6.1
[ebuild   R   ] dev-lang/python-2.6.1-r1  USE="berkdb -build doc* -examples gdbm -ipv6 ncurses readline -sqlite ssl threads -tk -ucs2 -wininst xml"

Furthermore

  doc? ( dev-python/python-docs:2.6 )

is a valid syntax with >=sys-apps/portage-2.1.2 
Just try it on the command-line:

# emerge -qpv python-docs:2.6
[ebuild  N    ] dev-python/python-docs-2.6.1

The ":" is the operator for slot-versions.