Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498530 - app-admin/eselect-python-20140115 - pkg_postinst(): has_version: invalid atom: =dev-lang/python2*
Summary: app-admin/eselect-python-20140115 - pkg_postinst(): has_version: invalid atom...
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-01-19 10:38 UTC by Toralf Förster
Modified: 2014-01-20 15:18 UTC (History)
1 user (show)

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


Attachments
build log (app-admin:eselect-python-20140115:20140119-101558.log.gz,3.38 KB, application/gzip)
2014-01-19 10:38 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2014-01-19 10:38:07 UTC
Created attachment 368132 [details]
build log

git his from elog:

ERROR: postinst
ERROR: app-admin/eselect-python-20140115::gentoo failed (postinst phase):
  has_version: invalid atom: =dev-lang/python2*

Call stack:
         ebuild.sh, line  93:  Called pkg_postinst
       environment, line 107:  Called has_version '=dev-lang/python2*'
  phase-helpers.sh, line 764:  Called die
The specific snippet of code:
  			die "${FUNCNAME[0]}: invalid atom: ${atom}"


packages was installed FWIW.
Comment 1 Mike Gilbert gentoo-dev 2014-01-19 15:59:50 UTC
Thanks for reporting!

+  19 Jan 2014; Mike Gilbert <floppym@gentoo.org> eselect-python-20140115.ebuild,
+  eselect-python-99999999.ebuild:
+  Fix python atoms in pkg_postinst, bug 498530.
Comment 2 Nikos Chantziaras 2014-01-20 12:04:24 UTC
I just did a sync and world upgrade, and I'm seeing no revbump on this.

Can you revbump? This was not a build failure. The package emerged successfully, even though an error was displayed. People have the broken version installed.
Comment 3 Mike Gilbert gentoo-dev 2014-01-20 15:18:57 UTC
There is no need for a revbump; the executed commands are only relevant if you do not already have a python interpreter selected (most likely during stage building).