Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372933 - gnome-base/libglade binpkg fails after python upgrade
Summary: gnome-base/libglade binpkg fails after python upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 481288
Blocks:
  Show dependency tree
 
Reported: 2011-06-25 01:21 UTC by Victor Mataré
Modified: 2014-04-27 10:30 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 Victor Mataré 2011-06-25 01:21:25 UTC
After upgrading python 2.6 to 2.7, installing a libglade binpkg fails with:

 * ERROR: gnome-base/libglade-2.6.4 failed (setup phase):
 *   dev-lang/python:2.6 is not installed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called pkg_setup
 *   environment, line 3483:  Called python_set_active_version '2'
 *   environment, line 5218:  Called _python_final_sanity_checks
 *   environment, line  801:  Called die
 * The specific snippet of code:
 *                   die "$(python_get_implementational_package) is not installed";

But libglade is not rebuilt when I run python-updater, and it also does not install any python files. I don't know how this is supposed to make sense, but either it needs to be rebuilt or the check removed.
Comment 1 Victor Mataré 2011-06-25 01:28:37 UTC
Just for completeness: After manually recompiling libglade on the binhost, it installs fine.
Comment 2 Victor Mataré 2011-06-25 03:54:13 UTC
This also applies to gnome-base/gnome-desktop and x11-libs/libxcb.
Comment 3 Victor Mataré 2011-06-25 19:32:36 UTC
same thing for dev-libs/zziplib. I'll keep listing affected ebuild here and then see if I need to report separate bugs about them...
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-06-29 11:06:31 UTC
Did you properly run python-updater?
Comment 5 Victor Mataré 2011-06-29 16:11:40 UTC
(In reply to comment #4)
> Did you properly run python-updater?

Of course, I ran it just after activating python 2.7 and it rebuilt lots of packages just fine, but the ones mentioned here (plus several others) were left out. I don't know how it checks for packages to rebuild, but I guess it's not checking if a pkg imports the python eclass, because then these should have been picked up. Maybe this is a bug in python-updater after all?
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-04-27 10:30:35 UTC
Now libglade is using the new Python eclasses, and this should effectively fix this issue since the implementation is now controlled by USE flags.