Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147122 - emerge gnome-applets-2.16.0.1 failed with USE=-hal
Summary: emerge gnome-applets-2.16.0.1 failed with USE=-hal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-10 20:52 UTC by Xupeng Yun
Modified: 2006-09-11 09:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xupeng Yun 2006-09-10 20:52:12 UTC
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 SpanKY gentoo-dev 2006-09-10 21:00:56 UTC
please read the categories next time and do not check the boxes unless you know what they are for
Comment 2 Mart Raudsepp gentoo-dev 2006-09-11 08:01:08 UTC
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 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-09-11 09:44:29 UTC
Fixed.
Comment 4 Xupeng Yun 2006-09-11 09:51:27 UTC
yes, I re-emerged gnome-applets wiht "hal" USE, and successed, thx.