Summary: | net-dns/avahi-0.6.19-r2 -- problem with module gtk | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Seweryn Habdank-Wojewodzki <habdank> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED DUPLICATE | ||
Severity: | normal | CC: | davidvanwinkle, zioalex |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Seweryn Habdank-Wojewodzki
2007-08-24 15:25:57 UTC
*** This bug has been marked as a duplicate of bug 189695 *** Hi I have re-emerged expat; revdep-rebuild -X expat was partially succesfull, because of errors in gnome-pilot and avahi. I have re-emerged python and pygtk. Re-emerging avahi is still broken, because of the same error -- "no gtk module". Regards. This has nothing to do with expat, see Bug 123318. Hi I have no idea what I have to do. # env XAUTHORITY=/dev/null python -c "'import gtk'" # ssh -X localhost env XAUTHORITY=/dev/null python -c "'import gtk'" The authenticity of host 'localhost (127.0.0.1)' can't be established. RSA key fingerprint is f2:76:8d:ee:45:c8:3e:32:f7:e0:4f:c1:02:aa:be:aa. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'localhost' (RSA) to the list of known hosts. Password: Traceback (most recent call last): File "<string>", line 1, in ? File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 38, in ? import gobject as _gobject File "/usr/lib/python2.4/site-packages/gtk-2.0/gobject/__init__.py", line 30, in ? from _gobject import * ImportError: /usr/lib/python2.4/site-packages/gtk-2.0/gobject/_gobject.so: undefined symbol: PyUnicodeUCS2_FromUnicode Re-emerge dev-python/pygobject? Hi I present some further steps. 1. Error -- re-emerge pycairo. Traceback (most recent call last): File "<string>", line 1, in ? File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 48, in ? from gtk import _gtk File "/usr/lib/python2.4/site-packages/cairo/__init__.py", line 1, in ? from _cairo import * ImportError: /usr/lib/python2.4/site-packages/cairo/_cairo.so: undefined symbol: PyUnicodeUCS2_AsUTF8String 2. Ignore warning. 3. Avahi error -- could not find dbus module /usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py:69: GtkWarning: could not open display warnings.warn(str(e), _gtk.Warning) checking for python module dbus... no configure: error: Could not find Python module dbus 3. Re-emerge dbus and dbus-python 4. Avahi still wont compile however gtk exists, but dbus not: checking for python module gtk... yes checking for python module dbus... no configure: error: Could not find Python module dbus !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/net-dns/avahi-0.6.19-r2/work/avahi-0.6.19/config.log !!! ERROR: net-dns/avahi-0.6.19-r2 failed. Call stack: ebuild.sh, line 1632: Called dyn_compile ebuild.sh, line 983: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile avahi-0.6.19-r2.ebuild, line 128: Called econf '--localstatedir=/var' '--with-distro=gentoo' '--disable-python-dbus' '--disable-pygtk' '--disable-xmltoman' '--disable-monodoc' '--enable-glib' '--disable-tests' '--disable-autoipd' '--enable-compat-libdns_sd' '--enable-compat-howl' '--enable-doxygen-doc' '--enable-mono' '--enable-dbus' '--enable-python' '--enable-gtk' '--enable-qt3' '--enable-qt4' '--enable-gdbm' '--enable-python-dbus' '--enable-pygtk' '--enable-monodoc' ebuild.sh, line 586: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/net-dns/avahi-0.6.19-r2/temp/build.log'. Well, run revdep-rebuild without -X; anyway this is not any avahi bug, all sort of your python modules is plain messed up. Hi I understand that I have to rebuild something, but there is still question what. libexpat.so.1 I have made 5 times. There are libdbus-1.so, libdbus-1.so.3 and libdbus-1.so.3.2.0. Of course they are symlinks, but what revdep-rebuild will do with symlinks -- will it understand them? Regards. Hi, I had this issue and traced it to a problem loading the python gtk mod. So I did the following: 1) emerge pygtk 2)# python2.5 -c "import gtk" the traceback had a cairo error (sorry, did not save this): 3) emerge pycairo 4)emerge avahi 5)....sucess Thanks Guys! Solved re-emerging in order: pygobject pycairo pygtk avahi. (In reply to comment #9) > Hi, > > I had this issue and traced it to a problem loading the python gtk mod. So I > did the following: > > 1) emerge pygtk > 2)# python2.5 -c "import gtk" > > the traceback had a cairo error (sorry, did not save this): > > 3) emerge pycairo > 4)emerge avahi > 5)....sucess > |