Bug 147122 - emerge gnome-applets-2.16.0.1 failed with USE=-hal
Bug#: 147122 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: recordus@gmail.com
Component: GNOME
URL: 
Summary: emerge gnome-applets-2.16.0.1 failed with USE=-hal
Keywords:  
Status Whiteboard: 
Opened: 2006-09-10 20:52 0000
Description:   Opened: 2006-09-10 20:52 0000
when I upgraded gnome-2.14 to gnome-2.16, gnome-applets failed, the error
message are following:

In file included from gswitchit-config.c:31:
./keyboard-config-registry-client.h:5:28: error: dbus/dbus-glib.h: No such file
or directory
In file included from gswitchit-config.c:31:
./keyboard-config-registry-client.h:17: error: expected ‘)’ before
‘*’ token
./keyboard-config-registry-client.h:23: error: expected ‘)’ before
‘*’ token
./keyboard-config-registry-client.h:26: error: expected ‘)’ before
‘*’ token
./keyboard-config-registry-client.h:43: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
gswitchit-config.c: In function
‘gswitchit_config_get_remote_lv_descriptions_utf8’:
gswitchit-config.c:147: error: ‘DBusGProxy’ undeclared (first use
in this function)
gswitchit-config.c:147: error: (Each undeclared identifier is reported only
once
gswitchit-config.c:147: error: for each function it appears in.)
gswitchit-config.c:147: error: ‘proxy’ undeclared (first use in
this function)
gswitchit-config.c:148: error: ‘DBusGConnection’ undeclared (first
use in this function)
gswitchit-config.c:148: error: ‘connection’ undeclared (first use
in this function)
gswitchit-config.c:151: warning: implicit declaration of function
‘dbus_g_bus_get’
gswitchit-config.c:151: error: ‘DBUS_BUS_SESSION’ undeclared (first
use in this function)
gswitchit-config.c:161: warning: implicit declaration of function
‘dbus_g_proxy_new_for_name’
gswitchit-config.c:167: warning: implicit declaration of function
‘org_gnome_KeyboardConfigRegistry_get_current_descriptions_as_utf8’
make[3]: *** [gswitchit-config.o] Error 1
make[3]: Leaving directory
`/home/tmp/portage/gnome-applets-2.16.0.1/work/gnome-applets-2.16.0.1/libgswitchit'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/tmp/portage/gnome-applets-2.16.0.1/work/gnome-applets-2.16.0.1/libgswitchit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/tmp/portage/gnome-applets-2.16.0.1/work/gnome-applets-2.16.0.1'
make: *** [all] Error 2

!!! ERROR: gnome-base/gnome-applets-2.16.0.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   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.

------- Comment #1 From SpanKY 2006-09-10 21:00:56 0000 -------
please read the categories next time and do not check the boxes unless you know
what they are for

------- Comment #2 From Mart Raudsepp 2006-09-11 08:01:08 0000 -------
It appears as if the keyboard registry changes done upstream now made dbus
non-optional for gwitchit applet, even if HAL isn't used.
So dbus should be moved out of the hal USE flag conditional, or made dependant
of a dbus USE flag, which in turn would make the gswitchit applet dependant on
dbus USE flag. As dbus is required for gnome-settings-daemon anyway(?), I would
lean towards the former.

------- Comment #3 From Daniel Gryniewicz 2006-09-11 09:44:29 0000 -------
Fixed.

------- Comment #4 From Xupeng Yun 2006-09-11 09:51:27 0000 -------
yes, I re-emerged gnome-applets wiht "hal" USE, and successed, thx.