Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 171041
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 155279
Assigned To: Bugzilla Admins <bugzilla@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Josef Svitak <josef.svitak@t-systems.cz>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 171041 depends on: Show dependency tree
Bug 171041 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-15 15:28 0000
NetworkManagerDbus.c: In function ‘nm_dbus_init’:
NetworkManagerDbus.c:837: error: ‘DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT’
undeclared (first use in this function)
NetworkManagerDbus.c:837: error: (Each undeclared identifier is reported
only once
NetworkManagerDbus.c:837: error: for each function it appears in.)
make[3]: *** [NetworkManager-NetworkManagerDbus.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/net-misc/networkmanager-0.6.4_pre20061028-r1/work/NetworkManager/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/net-misc/networkmanager-0.6.4_pre20061028-r1/work/NetworkManager/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-misc/networkmanager-0.6.4_pre20061028-r1/work/NetworkManager'
make: *** [all] Error 2

!!! ERROR: net-misc/networkmanager-0.6.4_pre20061028-r1 failed.
Call stack:
ebuild.sh, line 1569: Called dyn_compile
ebuild.sh, line 938: Called src_compile
ebuild.sh, line 1262: Called gnome2_src_compile
gnome2.eclass, line 64: Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call
stack if relevant.


Reproducible: Always




--- src/NetworkManagerDbus.c    2006-11-12 22:00:43.000000000 +0100
+++ src/NetworkManagerDbus.c    2006-11-12 21:59:36.000000000 +0100
@@ -833,10 +833,10 @@
        }

        dbus_error_init (&error);
-#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR >= 60)
-       flags = DBUS_NAME_FLAG_DO_NOT_QUEUE;    /* Prohibit replacement is now
the default */
-#else
+#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR < 60)
        flags = DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT;
+#else
+       flags = DBUS_NAME_FLAG_DO_NOT_QUEUE;    /* Prohibit replacement is now
the default */
+#endif
 #endif
        ret = dbus_bus_request_name (connection, NM_DBUS_SERVICE, flags,
&error);
        if (dbus_error_is_set (&error))


In pathes on Web is failure. with inserting row +#endif is all ok.

------- Comment #1 From Jakub Moc (RETIRED) 2007-03-15 15:38:48 0000 -------
Reopen to dupe.

------- Comment #2 From Jakub Moc (RETIRED) 2007-03-15 15:39:16 0000 -------

*** This bug has been marked as a duplicate of bug 155279 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug