Bug 93437 - meld requires glade
Bug#: 93437 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P4
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: t1m@klingt.org
Component: Ebuilds
URL: 
Summary: meld requires glade
Keywords:  
Status Whiteboard: 
Opened: 2005-05-21 08:52 0000
Description:   Opened: 2005-05-21 08:52 0000
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 From John N. Laliberte (RETIRED) 2005-05-29 05:47:00 0000 -------
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 From tim 2005-05-29 06:06:30 0000 -------
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 From John N. Laliberte (RETIRED) 2005-05-29 06:42:59 0000 -------
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 From tim 2005-05-29 06:51:44 0000 -------
exactly ... is there a way to force the recompilation of pygtk?

------- Comment #5 From John N. Laliberte (RETIRED) 2005-05-29 14:49:57 0000 -------
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!