Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190057 - net-dns/avahi-0.6.19-r2 -- problem with module gtk
Summary: net-dns/avahi-0.6.19-r2 -- problem with module gtk
Status: VERIFIED DUPLICATE of bug 189695
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-24 15:25 UTC by Seweryn Habdank-Wojewodzki
Modified: 2010-02-08 11:22 UTC (History)
2 users (show)

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 Seweryn Habdank-Wojewodzki 2007-08-24 15:25:57 UTC
Dears

There is problem with avahi

checking for python extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking for python module gtk... no
configure: error: Could not find Python module gtk

!!! 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'.



Reproducible: Always




Portage 2.1.2.11 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) 2600+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 20 Aug 2007 12:20:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon-4 -O2 -pipe -msse -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mtune=athlon-4 -O2 -pipe -msse"
DISTDIR="/mnt/storage/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS=" ftp://mirror.switch.ch/mirror/gentoo/ http://distfiles.gentoo.org  http://www.ibiblio.org/pub/Linux/distributions/gentoo  http://gentoo.prz.rzeszow.pl "
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/storage/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="16bit 3dnow 3dnowext 7zip X a52 aac aalib accessibility acl acpi addbookmarks akode alsa amr ao aotuv applet arts artswrappersuid artworkextra async audacious audiofile avahi bash-completion bcp berkdb bidi bitmap-fonts bittorrent bjam bl blas bonobo bzip2 c++ cairo caps catalogs cdda cddb cdinstall cdparanoia cdr cgi chroot cli connectionstatus cpudetection cracklib crypt css ctype cups curl cvs cvsgraph cxx daap dbase dbus dbx dga directfb djvu dlopen dmi dnd doc double-precision dri dts dv dvb dvd dvdnav dvdr dvdread dvi eds emacs emboss encode epiphany epson epydoc esd evo examples exif expat extensions extramodules fam fame fastcgi fat ffmpeg fftw firefox flac flash font-server force-cgi-redirect fortran fpx frascend ftp fuse gadu gb gcj gconf gd gdal gdb gdbm gif gimp gimpprint ginac glade glut gmp gnokii gnome gnuplot gphoto2 gpm graphviz gs gsl gsm gstreamer gtk gzip h323 hal haskell history howl howl-compat html icecast iconv id3 idn ieee1394 image imagemagick inkjar iproute2 ipsec ipv6 irda irmc isdnlog jpeg jpeg2k kcal kde kdeenablefinal kdepim kdm kerberos kexi kipi ladspa lame lash latex lcd lcms ldap libgda libnotify libsamplerate libvisual lirc live lm_sensors logrotate lzo lzw mad mail maildir math mdb mdnsresponder-compat midi mikmod mime mjpeg mmap mmx mmxext mng mono mouse mozdevelop mp2 mp3 mp4 mp4live mpeg mpeg2 mpi mplayer mpm-worker msn mudflap musepack musicbrainz nas nat ncurses net network nfs nis nls nntp nptl nptlonly nsplugin ntfs numarray numeric odbc ode office ogdi ogg openal opengl openmp openssh openssl oss pam pango pcre pda pdf perl player png portaudio posix postgres povray ppds pppd psyco pvm pyste python qt3 qt3support qt4 quicktime rar rdesktop readline real realmedia recode reflection reiserfs resolvconf rss samba sametime sasl scanner screen sdl sensord server session sftp shout simplexml slang slp sms sndfile soap sockets sound spamassassin speech spell spl sql sqlite sqlite3 sse ssl stream subversion svg svgz svk svn-mirror swat swig sysfs syslog tcl tcpd tetex text texteffect tga themes theora thesaurus threads tiff tivo tk tlen tokenizer tools transcode truetype truetype-fonts tta tv_check tv_pick_cgi type1 type1-fonts unicode usb userlocales v4l v4l2 valgrind vcd vdr verbose vidix vim vim-pager vim-with-x visualization vlm vnc vncviewer voice vorbis vorbis-psy wav wavpack weak-algorithms webdav win32codecs winpopup wma wmf x264 x86 xcomposite xface xforms xfs xft xine xml xmlrpc xorg xpm xscreensaver xsl xv xvid xvmc yaepg yp yv12 zip zlib zvbi" ALSA_CARDS="emu10k1 via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="fbdev radeon vesa frglx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-24 15:27:31 UTC

*** This bug has been marked as a duplicate of bug 189695 ***
Comment 2 Seweryn Habdank-Wojewodzki 2007-08-24 20:52:39 UTC
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.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-08-24 20:59:05 UTC
This has nothing to do with expat, see Bug 123318.
Comment 4 Seweryn Habdank-Wojewodzki 2007-08-24 21:30:33 UTC
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
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-08-24 21:33:56 UTC
Re-emerge dev-python/pygobject?
Comment 6 Seweryn Habdank-Wojewodzki 2007-08-25 11:59:23 UTC
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'.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-08-25 12:03:35 UTC
Well, run revdep-rebuild without -X; anyway this is not any avahi bug, all sort of your python modules is plain messed up.
Comment 8 Seweryn Habdank-Wojewodzki 2007-08-26 09:28:29 UTC
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.
Comment 9 David 2008-11-17 05:49:27 UTC
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
Comment 10 Alessandro Surace 2010-02-08 11:22:12 UTC
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
>