From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-106414-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1NXCxY-00076O-FA
	for garchives@archives.gentoo.org; Tue, 19 Jan 2010 12:13:24 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6940EE0AA0;
	Tue, 19 Jan 2010 12:13:19 +0000 (UTC)
Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228])
	by pigeon.gentoo.org (Postfix) with ESMTP id 0D35FE0AA0
	for <gentoo-user@lists.gentoo.org>; Tue, 19 Jan 2010 12:13:18 +0000 (UTC)
Received: by bwz28 with SMTP id 28so480110bwz.29
        for <gentoo-user@lists.gentoo.org>; Tue, 19 Jan 2010 04:13:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:date:message-id:subject
         :from:to:content-type;
        bh=ZR1UsBS3+zVjw+54wbzsxphz/tDuGMUddMl06SL74pM=;
        b=ft4d9A/5xRf5RbiZ0G8+7T4WCmhTMIPshGt/1hFLd0yIB/cGo5nhFZavg7aLMGNDtA
         PBYc2KaXH7MzoxkxCrevW3lso86DjdrCslXf06H5zPysmbWLis4MZqZuyS7oq7ZZTlEk
         nmOJtghEBQO16u6HUR/pnsEyoZoIg+UMULEqQ=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:date:message-id:subject:from:to:content-type;
        b=tqjgpysNd82M6kYVgKZR0ryYl6fW3xks/VK26MBA55QKMlMOT2eGkDTXau+LSGxHCR
         edeUvq0d9c2ksTmEck9cZixqDyE83aGRN/iyXTLQzQ8x2HeMXD1myJTXwEez6Te+ZZMV
         dV07v6l4OynQ7RarN3gqazUbPNfZXQ32JkyAQ=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.204.24.5 with SMTP id t5mr4123460bkb.214.1263903198250; Tue, 
	19 Jan 2010 04:13:18 -0800 (PST)
Date: Tue, 19 Jan 2010 13:13:18 +0100
Message-ID: <46ea0d6b1001190413m8d53488gbc5568302746ffad@mail.gmail.com>
Subject: [gentoo-user] problem compiling Avahi
From: SpaceCake <spacecakex@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: multipart/alternative; boundary=0023541868fc2988b3047d83659d
X-Archives-Salt: 6dbe5c20-ac46-4d29-8114-0072bec5c17f
X-Archives-Hash: 702b59bacbf5325da8fe333b9bfd7525

--0023541868fc2988b3047d83659d
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I have problem to compile Avahi. As far as I see there was several bugs
related to this package in the past, so I've tried to perform the steps in
those bug reports to fix this issue (recompile python, python packages,
playing with useflags etc). Unfortunately I can't make it work, so I removed
avahi from useflags, so my world compile is ok. However I would like to use
it, so if anyone has any idea how can I fix it, it could be great

I think the most important part is

configure: error: Could not find Python module dbus

however dbus python is emerged and exists

however when I import module I've got this


>>> import dbus
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/dbus/__init__.py", line 100, in
<module>
    from dbus._dbus import Bus, SystemBus, SessionBus, StarterBus
  File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 46, in
<module>
    from dbus.bus import BusConnection
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 46, in <module>
    from dbus.connection import Connection
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 42, in
<module>
    from dbus.proxies import ProxyObject
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 35, in
<module>
    from dbus._expat_introspect_parser import process_introspection_data
  File "/usr/lib/python2.6/site-packages/dbus/_expat_introspect_parser.py",
line 26, in <module>
    from xml.parsers.expat import ExpatError, ParserCreate
  File "/usr/lib/python2.6/site-packages/_xmlplus/parsers/expat.py", line 4,
in <module>
    from pyexpat import *
ImportError: /usr/lib/python2.6/site-packages/_xmlplus/parsers/pyexpat.so:
undefined symbol: PyUnicodeUCS2_Decode



Here is my output of emerge of avahi

checking for python extension module directory...
${exec_prefix}/lib/python2.6/site-packages
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 seeking support:
!!! /var/tmp/portage/net-dns/avahi-0.6.24-r2/work/avahi-0.6.24/config.log
 *
 * ERROR: net-dns/avahi-0.6.24-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4119:  Called econf '--localstatedir=/var'
'--with-distro=gentoo' '--disable-python-dbus' '--disable-pygtk'
'--disable-xmltoman' '--disable-monodoc' '--enable-glib' '--disable-tests'
'--enable-autoipd' '--enable-compat-libdns_sd' '--disable-compat-howl'
'--disable-doxygen-doc' '--disable-mono' '--enable-dbus' '--enable-python'
'--enable-gtk' '--disable-qt3' '--enable-qt4' '--enable-gdbm'
'--enable-python-dbus' '--enable-pygtk'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   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/log/portage/net-dns:avahi-0.6.24-r2:20100119-114442.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/net-dns/avahi-0.6.24-r2/temp/environment'.
 *

>>> Failed to emerge net-dns/avahi-0.6.24-r2, Log file:

>>>  '/var/log/portage/net-dns:avahi-0.6.24-r2:20100119-114442.log'

 * Messages for package net-dns/avahi-0.6.24-r2:

 *
 * ERROR: net-dns/avahi-0.6.24-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4119:  Called econf '--localstatedir=/var'
'--with-distro=gentoo' '--disable-python-dbus' '--disable-pygtk'
'--disable-xmltoman' '--disable-monodoc' '--enable-glib' '--disable-tests'
'--enable-autoipd' '--enable-compat-libdns_sd' '--disable-compat-howl'
'--disable-doxygen-doc' '--disable-mono' '--enable-dbus' '--enable-python'
'--enable-gtk' '--disable-qt3' '--enable-qt4' '--enable-gdbm'
'--enable-python-dbus' '--enable-pygtk'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   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/log/portage/net-dns:avahi-0.6.24-r2:20100119-114442.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/net-dns/avahi-0.6.24-r2/temp/environment'.


Thank you
Laszlo

--0023541868fc2988b3047d83659d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,<br><br>I have problem to compile Avahi. As far as I see there was sever=
al bugs related to this package in the past, so I&#39;ve tried to perform t=
he steps in those bug reports to fix this issue (recompile python, python p=
ackages, playing with useflags etc). Unfortunately I can&#39;t make it work=
, so I removed avahi from useflags, so my world compile is ok. However I wo=
uld like to use it, so if anyone has any idea how can I fix it, it could be=
 great<br>
<br>I think the most important part is<br><br>configure: error: Could not f=
ind Python module dbus<br><br>however dbus python is emerged and exists<br>=
<br>however when I import module I&#39;ve got this<br><br><br>&gt;&gt;&gt; =
import dbus<br>
Traceback (most recent call last):<br>=A0 File &quot;&lt;stdin&gt;&quot;, l=
ine 1, in &lt;module&gt;<br>=A0 File &quot;/usr/lib/python2.6/site-packages=
/dbus/__init__.py&quot;, line 100, in &lt;module&gt;<br>=A0=A0=A0 from dbus=
._dbus import Bus, SystemBus, SessionBus, StarterBus<br>
=A0 File &quot;/usr/lib/python2.6/site-packages/dbus/_dbus.py&quot;, line 4=
6, in &lt;module&gt;<br>=A0=A0=A0 from dbus.bus import BusConnection<br>=A0=
 File &quot;/usr/lib/python2.6/site-packages/dbus/bus.py&quot;, line 46, in=
 &lt;module&gt;<br>
=A0=A0=A0 from dbus.connection import Connection<br>=A0 File &quot;/usr/lib=
/python2.6/site-packages/dbus/connection.py&quot;, line 42, in &lt;module&g=
t;<br>=A0=A0=A0 from dbus.proxies import ProxyObject<br>=A0 File &quot;/usr=
/lib/python2.6/site-packages/dbus/proxies.py&quot;, line 35, in &lt;module&=
gt;<br>
=A0=A0=A0 from dbus._expat_introspect_parser import process_introspection_d=
ata<br>=A0 File &quot;/usr/lib/python2.6/site-packages/dbus/_expat_introspe=
ct_parser.py&quot;, line 26, in &lt;module&gt;<br>=A0=A0=A0 from xml.parser=
s.expat import ExpatError, ParserCreate<br>
=A0 File &quot;/usr/lib/python2.6/site-packages/_xmlplus/parsers/expat.py&q=
uot;, line 4, in &lt;module&gt;<br>=A0=A0=A0 from pyexpat import *<br>Impor=
tError: /usr/lib/python2.6/site-packages/_xmlplus/parsers/pyexpat.so: undef=
ined symbol: PyUnicodeUCS2_Decode<br>
<br><br><br>Here is my output of emerge of avahi<br><br>checking for python=
 extension module directory... ${exec_prefix}/lib/python2.6/site-packages<b=
r>checking for python module gtk... yes<br>checking for python module dbus.=
.. no<br>
configure: error: Could not find Python module dbus<br><br>!!! Please attac=
h the following file when seeking support:<br>!!! /var/tmp/portage/net-dns/=
avahi-0.6.24-r2/work/avahi-0.6.24/config.log<br>=A0*<br>=A0* ERROR: net-dns=
/avahi-0.6.24-r2 failed.<br>
=A0* Call stack:<br>=A0*=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ebuild.s=
h, line=A0=A0 49:=A0 Called src_compile<br>=A0*=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 environment, line 4119:=A0 Called econf &#39;--localstatedir=3D/v=
ar&#39; &#39;--with-distro=3Dgentoo&#39; &#39;--disable-python-dbus&#39; &#=
39;--disable-pygtk&#39; &#39;--disable-xmltoman&#39; &#39;--disable-monodoc=
&#39; &#39;--enable-glib&#39; &#39;--disable-tests&#39; &#39;--enable-autoi=
pd&#39; &#39;--enable-compat-libdns_sd&#39; &#39;--disable-compat-howl&#39;=
 &#39;--disable-doxygen-doc&#39; &#39;--disable-mono&#39; &#39;--enable-dbu=
s&#39; &#39;--enable-python&#39; &#39;--enable-gtk&#39; &#39;--disable-qt3&=
#39; &#39;--enable-qt4&#39; &#39;--enable-gdbm&#39; &#39;--enable-python-db=
us&#39; &#39;--enable-pygtk&#39;<br>
=A0*=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ebuild.sh, line=A0 534:=A0 C=
alled die<br>=A0* The specific snippet of code:<br>=A0*=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 die &quot;econf failed&quot;<=
br>=A0*=A0 The die message:<br>=A0*=A0=A0 econf failed<br>=A0*<br>=A0* If y=
ou need support, post the topmost build error, and the call stack if releva=
nt.<br>
=A0* A complete build log is located at &#39;/var/log/portage/net-dns:avahi=
-0.6.24-r2:20100119-114442.log&#39;.<br>=A0* The ebuild environment file is=
 located at &#39;/var/tmp/portage/net-dns/avahi-0.6.24-r2/temp/environment&=
#39;.<br>
=A0*<br><br>&gt;&gt;&gt; Failed to emerge net-dns/avahi-0.6.24-r2, Log file=
:<br><br>&gt;&gt;&gt;=A0 &#39;/var/log/portage/net-dns:avahi-0.6.24-r2:2010=
0119-114442.log&#39;<br><br>=A0* Messages for package net-dns/avahi-0.6.24-=
r2:<br>
<br>=A0*<br>=A0* ERROR: net-dns/avahi-0.6.24-r2 failed.<br>=A0* Call stack:=
<br>=A0*=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ebuild.sh, line=A0=A0 49=
:=A0 Called src_compile<br>=A0*=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 environ=
ment, line 4119:=A0 Called econf &#39;--localstatedir=3D/var&#39; &#39;--wi=
th-distro=3Dgentoo&#39; &#39;--disable-python-dbus&#39; &#39;--disable-pygt=
k&#39; &#39;--disable-xmltoman&#39; &#39;--disable-monodoc&#39; &#39;--enab=
le-glib&#39; &#39;--disable-tests&#39; &#39;--enable-autoipd&#39; &#39;--en=
able-compat-libdns_sd&#39; &#39;--disable-compat-howl&#39; &#39;--disable-d=
oxygen-doc&#39; &#39;--disable-mono&#39; &#39;--enable-dbus&#39; &#39;--ena=
ble-python&#39; &#39;--enable-gtk&#39; &#39;--disable-qt3&#39; &#39;--enabl=
e-qt4&#39; &#39;--enable-gdbm&#39; &#39;--enable-python-dbus&#39; &#39;--en=
able-pygtk&#39;<br>
=A0*=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ebuild.sh, line=A0 534:=A0 C=
alled die<br>=A0* The specific snippet of code:<br>=A0*=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 die &quot;econf failed&quot;<=
br>=A0*=A0 The die message:<br>=A0*=A0=A0 econf failed<br>=A0*<br>=A0* If y=
ou need support, post the topmost build error, and the call stack if releva=
nt.<br>
=A0* A complete build log is located at &#39;/var/log/portage/net-dns:avahi=
-0.6.24-r2:20100119-114442.log&#39;.<br>=A0* The ebuild environment file is=
 located at &#39;/var/tmp/portage/net-dns/avahi-0.6.24-r2/temp/environment&=
#39;.<br>
<br><br>Thank you<br>Laszlo<br><br>

--0023541868fc2988b3047d83659d--