Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 93437

Summary: meld requires glade
Product: Gentoo Linux Reporter: tim <t1m>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: minor    
Priority: Low    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description tim 2005-05-21 08:52:08 UTC
meld requires pygtk with glade support:

Traceback (most recent call last):
  File "/usr/bin/meld", line 75, in ?
    import gtk.glade
ImportError: No module named glade


Reproducible: Always
Steps to Reproduce:
after emerging glade and pygtk again, i was able to run glade ...
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2005-05-29 05:47:00 UTC
i cannot reproduce this problem.

libglade, gnome-python, and pygtk are all deps of meld.  Sounds like it was a
local problem with pygtk python modules.
Comment 2 tim 2005-05-29 06:06:30 UTC
well, it seems, that pygtk won't build with glade by default ...

probably the order:
libglade, pygtk will compile pygtk with glade
while
pygtk, libglade wont ... compile pygtk with glade support

this is possible if the use flag "gnome" is not set ...

currently, it _might_ work fine, but due to special use flag configurations, it
can be broken ...

(possibly the use flag checking has to be improved)
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2005-05-29 06:42:59 UTC
ah, i see now what you mean.

you could have emerged pygtk with -gnome, but you still satisfy the pygtk dep in
the meld ebuild. ( so it will not recompile pygtk and link against the libglade
you recently emerged as part of the requirements in meld).
Comment 4 tim 2005-05-29 06:51:44 UTC
exactly ... is there a way to force the recompilation of pygtk?
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2005-05-29 14:49:57 UTC
You will now get this if you did not compile pygtk with gnome use flag:

 *
 * Meld requires pygtk be built with the gnome use flag set.
 * Please re-emerge pygtk with the gnome use flag set.
 *

!!! ERROR: dev-util/meld-0.9.4.1-r1 failed.
!!! Function pkg_setup, Line 34, Exitcode 0
!!! You need to re-emerge pygtk with gnome use flag.
!!! If you need support, post the topmost build error, NOT this status message.

this is in ~ -r1 version.  Thanks for reopening the bug and clarifying what you
meant!