Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155279 - net-misc/networkmanager wrong dep for >dbus-1.0
Summary: net-misc/networkmanager wrong dep for >dbus-1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords:
: 171041 (view as bug list)
Depends on:
Blocks: dbus-1
  Show dependency tree
 
Reported: 2006-11-15 11:20 UTC by Priit Laes (IRC: plaes)
Modified: 2007-03-15 15:39 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
networkmanager-0.6.4-dbus-1.patch (networkmanager-0.6.4-dbus-1.patch,661 bytes, patch)
2006-11-15 13:55 UTC, Priit Laes (IRC: plaes)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2006-11-15 11:20:14 UTC
should depend on dbus-glib
Comment 1 Priit Laes (IRC: plaes) 2006-11-15 13:40:43 UTC
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 Priit Laes (IRC: plaes) 2006-11-15 13:55:38 UTC
Created attachment 102023 [details, diff]
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 Patrick Ohearn 2006-12-04 19:21:25 UTC
Latest cvs works with dbus-1.0 also, any chance of a new cvs build?
Comment 4 john 2006-12-05 14:21:54 UTC
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]
> 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 Steev Klimaszewski (RETIRED) gentoo-dev 2006-12-06 07:51:52 UTC
Thanks for the report, sorry it took so long to commit, but its in cvs now
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-03-15 15:39:16 UTC
*** Bug 171041 has been marked as a duplicate of this bug. ***