Hello, I've downloaded the source code of Dbus to rebuild it from:
http://repo.meego.com/MeeGo/releases/1.0/core/repos/source/dbus-1.2.24-7.1.src.rpm


I need to change the rules of /etc/dbus-1/system.conf to add rule:
<limit name="max_match_rules_per_connection">50000</limit>
this rule is needed to solve a problem with Packagekit.

When i try rpmbuild this package, one of the patches didn't work:
+ /usr/bin/patch -s -p1 -b --suffix .fd-passing --fuzz=0
1 out of 4 hunks FAILED -- saving rejects to file bus/dispatch.c.rej
error: Bad exit status from /var/tmp/rpm-tmp.10nRIv (%prep)

The rejected patch contains:

-- bus/dispatch.c
+++ bus/dispatch.c
@@ -304,6 +313,16 @@
                                                   addressed_recipient,
                                                   message, &error))
             goto out;
+
+          if (dbus_message_contains_unix_fds(message) &&
+              !dbus_connection_can_send_type(addressed_recipient,
DBUS_TYPE_UNIX_FD))
+            {
+              dbus_set_error(&error,
+                             DBUS_ERROR_NOT_SUPPORTED,
+                             "Tried to send message with Unix file
descriptors"
+                             "to a client that doesn't support that.");
+              goto out;
+          }

           /* Dispatch the message */
           if (!bus_transaction_send (transaction, addressed_recipient,
message))


I don't know if i can simply ignore this patch.

The same problem happens with the newest version:
http://repo.meego.com/MeeGo/builds/trunk/1.0.80.13.20100803.2/core/repos/source/dbus-1.2.24-8.7.src.rpm

Any help to rebuild this package or solve this problem?


Thanks



-- 
Leonardo Luiz Padovani da Mata

International Syst S/A
Metasys Tecnologia
Software Engineer Metasys Moblin Team

[email protected]
+55-31-3503-9040

"May the force be with you, always"
"Nerd Pride... eu tenho. Voce tem?"
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to