Max Brazhnikov написав(ла):
> For some reason configure can't detect dbus and does not generate Makefile 
> for 
> py-qt-dbus module. Just make sure all dependent ports are operational and try 
> again.
All dependent ports are operational -- as far as I can tell, at least.
The KDE3 installation functions fairly well, as does Mozilla and
Thunderbird (gnome-consumers)...

After adding the attached hunk to
/usr/ports/devel/py-qt4-core/files/patch-configure.py, I can make the
next step:

    ...
    Checking to see if the dbus support module should be built...
    The Python dbus module doesn't seem to be installed:
    /opt/lib/python2.5/site-packages/_dbus_bindings.so: Undefined symbol
    "dbus_server_get_id"
    Qt v4.4.3 free edition is being used.
    SIP 4.7.9 is being used.
    ...

I have just rebuilt the py25-dbus-0.83.0_1 (which has not changed since
I last built it in April, BTW), and the problem is still here... It is a
bug in the dbus-module, which is not supposed to compile with undeclared
symbols, but the port ought to catch this...

Gentoo have gone through the same issue in February:

    http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=258967

The fixed it by requiring dbus to be of version 1.1.1 or higher, rather
than settling for 1.0.0 (which does not have the symbol):

    http://bugs.gentoo.org/attachment.cgi?id=182002&action=view

The py25-dbus-0.83.0_1, however, does not depend on the dbus directly...
It, probably, should:

    --- Makefile    27 Jul 2008 17:40:24 -0000 1.34
    +++ Makefile    11 Jul 2009 16:44:19 -0000
    @@ -19,4 +19,5 @@
     
     LIB_DEPENDS=   dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
    +BUILD_DEPENDS= dbus>=1.1.1:${PORTSDIR}/devel/dbus
     
     USE_GNOME= gnomehack gnometarget

With this, the proper error is displayed:

    ===>   py25-dbus-0.83.0_1 depends on package: dbus>=1.1.1 - not found
    ===>   Found dbus-1.0.2_2, but you need to upgrade to dbus>=1.1.1.

... Yours,

    -mi

--- configure.py        2008-11-08 21:55:49.000000000 +1000
+++ configure.py        2009-01-03 23:09:03.000000000 +1000
@@ -1055,6 +1138,7 @@
     try:
         import dbus.mainloop
-    except:
-        sipconfig.inform("The Python dbus module doesn't seem to be 
installed.")
+    except Exception, e:
+        sipconfig.inform("The Python dbus module doesn't seem to be 
installed:\n" +
+            e.__str__())
         return
 
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to