Bug 155279 - net-misc/networkmanager wrong dep for >dbus-1.0
Bug#: 155279 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: metalgod@gentoo.org Reported By: plaes@plaes.org
Component: Ebuilds
URL: 
Summary: net-misc/networkmanager wrong dep for >dbus-1.0
Keywords:  
Status Whiteboard: 
Opened: 2006-11-15 11:20 0000
Description:   Opened: 2006-11-15 11:20 0000
should depend on dbus-glib

------- Comment #1 From Priit Laes (IRC: plaes) 2006-11-15 13:40:43 0000 -------
It also doesn't build with 1.0

etworkManagerDbus.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.)
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include
-I../src/named-manager -I../src/vpn-manager -I../src/dhcp-manager -I../utils
-I../libnm-util -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DDBUS_VERSION_MAJOR=1
-DDBUS_VERSION_MINOR=0 -DDBUS_VERSION_MICRO=0 -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include    
-DWPA_SUPPLICANT_BIN=\"/sbin/wpa_supplicant\" -DDBUS_API_SUBJECT_TO_CHANGE
-DG_DISABLE_DEPRECATED -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\"
-DLIBEXECDIR=\"/usr/libexec\" -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\"
-DLOCALSTATEDIR=\"/var\" -DNM_RUN_DIR=\"/var/run/NetworkManager\"
-DGNOMELOCALEDIR=\"/usr/share/locale\" -DARP_DEBUG   -Os -march=pentium-m -g
-ggdb -pipe -MT NetworkManager-NetworkManagerDbusUtils.o -MD -MP -MF
".deps/NetworkManager-NetworkManagerDbusUtils.Tpo" \
          -c -o NetworkManager-NetworkManagerDbusUtils.o `test -f
'NetworkManagerDbusUtils.c' || echo './'`NetworkManagerDbusUtils.c; \
        then mv -f ".deps/NetworkManager-NetworkManagerDbusUtils.Tpo"
".deps/NetworkManager-NetworkManagerDbusUtils.Po"; \
        else rm -f ".deps/NetworkManager-NetworkManagerDbusUtils.Tpo"; exit 1;
\
        fi
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/work/NetworkManager/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/net-misc/networkmanager-0.6.4_pre20061028/work/NetworkManager/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-misc/networkmanager-0.6.4_pre20061028/work/NetworkManager'
make: *** [all] Error 2

------- Comment #2 From Priit Laes (IRC: plaes) 2006-11-15 13:55:38 0000 -------
Created an attachment (id=102023) [details]
networkmanager-0.6.4-dbus-1.patch

Fixes the build problem.
From:
http://mail.gnome.org/archives/networkmanager-list/2006-November/msg00070.html

------- Comment #3 From Patrick Ohearn 2006-12-04 19:21:25 0000 -------
Latest cvs works with dbus-1.0 also, any chance of a new cvs build?

------- Comment #4 From john 2006-12-05 14:21:54 0000 -------
This patch works great!
Why not add it now, that dbus-1.01 made it to ~x86. Networkmanager wouldn't
build, with this it does.

(In reply to comment #2)
> Created an attachment (id=102023) [edit] [details]
> networkmanager-0.6.4-dbus-1.patch
> 
> Fixes the build problem.
> From:
> http://mail.gnome.org/archives/networkmanager-list/2006-November/msg00070.html
> 

------- Comment #5 From Steev Klimaszewski 2006-12-06 07:51:52 0000 -------
Thanks for the report, sorry it took so long to commit, but its in cvs now

------- Comment #6 From Jakub Moc (RETIRED) 2007-03-15 15:39:16 0000 -------
*** Bug 171041 has been marked as a duplicate of this bug. ***