Bug 147496 - gnome-base/gnome-applets-2.16.0.1 does not build without hal
Bug#: 147496 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: me@derrabus.de
Component: GNOME
URL: 
Summary: gnome-base/gnome-applets-2.16.0.1 does not build without hal
Keywords:  
Status Whiteboard: 
Opened: 2006-09-13 12:50 0000
Description:   Opened: 2006-09-13 12:50 0000
I have just unmasked Gnome 2.16 for testing. Unfortunately,
gnome-applets-2.16.0.1 does not build on my machine.


emerge gnome-base/gnome-applets

[...]

make[3]: Entering directory
`/var/tmp/portage/gnome-applets-2.16.0.1/work/gnome-applets-2.16.0.1/libgswitchit'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall
-Wmissing-prototypes  -I..    -I/usr/include/libglade-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -DORBIT2=1 -pthread
-I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0
-I/usr/include/gnome-keyring-1 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/libxml2   -I../intl
-DSYS_PLUGIN_DIR=\"/usr/lib/gswitchit/\" -DG_LOG_DOMAIN=\"GSwitchIt\"
-DGLADEDIR=\"/usr/share/gnome-applets/glade\" -DDATADIR=\"/usr/share\"
-DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\"                                   
-Os -march=pentium-m -pipe -MT gswitchit-config.o -MD -MP -MF
".deps/gswitchit-config.Tpo" -c -o gswitchit-config.o gswitchit-config.c; \
then mv -f ".deps/gswitchit-config.Tpo" ".deps/gswitchit-config.Po"; else rm -f
".deps/gswitchit-config.Tpo"; exit 1; fi
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
`/var/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
`/var/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
`/var/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.



emerge --info
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3,
2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.12.4
Last Sync: Wed, 13 Sep 2006 14:00:06 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-Os -march=pentium-m -pipe"
DISTDIR="/home/portage/tree/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LANG="de_DE.UTF-8"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/home/portage/tree/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/portage/tree"
PORTDIR_OVERLAY="/home/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apache2 audiofile bash-completion berkdb bitmap-fonts
bzip2 cdda cddb cdr cjk cli crypt curl dlloader dri dvd dvdr elibc_glibc emboss
encode esd firefox flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk
gtk2 imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6
isdnlog java jpeg kernel_linux libg++ libwww linguas_de linguas_en mmx motif
mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre
php png pppd qt3 qt4 quicktime readline reflection sdl session spell spl sqlite
sse sse2 ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts udev
unicode usb userland_GNU video_cards_nvidia vorbis win32codecs wmf xml xmms
xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Steev Klimaszewski 2006-09-13 12:52:44 0000 -------
turn on the hal useflag.  you also need dbus built with the gtk useflag.

------- Comment #2 From Alexander M. Turek 2006-09-13 13:13:18 0000 -------
Hi,

thanks for your quick answer. As you can see in my emerge --info output, I have
the gtk useflag enabled glabally. dbus was compiled with gtk useflag.

Turning on hal fixed this problem for me.

Thanks a lot,

Alexander

------- Comment #3 From Daniel Gryniewicz 2006-09-18 20:39:09 0000 -------
Fixed in CVS.