<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>147496</bug_id>
          
          <creation_ts>2006-09-13 12:50 0000</creation_ts>
          <short_desc>gnome-base/gnome-applets-2.16.0.1 does not build without hal</short_desc>
          <delta_ts>2006-09-18 20:39:09 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GNOME</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>me@derrabus.de</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>me@derrabus.de</who>
            <bug_when>2006-09-13 12:50:15 0000</bug_when>
            <thetext>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&apos;
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=\&quot;/usr/lib/gswitchit/\&quot; -DG_LOG_DOMAIN=\&quot;GSwitchIt\&quot; -DGLADEDIR=\&quot;/usr/share/gnome-applets/glade\&quot; -DDATADIR=\&quot;/usr/share\&quot; -DSYSCONFDIR=\&quot;/etc\&quot; -DLIBDIR=\&quot;/usr/lib\&quot;                                    -Os -march=pentium-m -pipe -MT gswitchit-config.o -MD -MP -MF &quot;.deps/gswitchit-config.Tpo&quot; -c -o gswitchit-config.o gswitchit-config.c; \
then mv -f &quot;.deps/gswitchit-config.Tpo&quot; &quot;.deps/gswitchit-config.Po&quot;; else rm -f &quot;.deps/gswitchit-config.Tpo&quot;; 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 &apos;)&apos; before &apos;*&apos; token
./keyboard-config-registry-client.h:23: error: expected &apos;)&apos; before &apos;*&apos; token
./keyboard-config-registry-client.h:26: error: expected &apos;)&apos; before &apos;*&apos; token
./keyboard-config-registry-client.h:43: error: expected &apos;=&apos;, &apos;,&apos;, &apos;;&apos;, &apos;asm&apos; or &apos;__attribute__&apos; before &apos;*&apos; token
gswitchit-config.c: In function &apos;gswitchit_config_get_remote_lv_descriptions_utf8&apos;:
gswitchit-config.c:147: error: &apos;DBusGProxy&apos; 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: &apos;proxy&apos; undeclared (first use in this function)
gswitchit-config.c:148: error: &apos;DBusGConnection&apos; undeclared (first use in this function)
gswitchit-config.c:148: error: &apos;connection&apos; undeclared (first use in this function)
gswitchit-config.c:151: warning: implicit declaration of function &apos;dbus_g_bus_get&apos;
gswitchit-config.c:151: error: &apos;DBUS_BUS_SESSION&apos; undeclared (first use in this function)
gswitchit-config.c:161: warning: implicit declaration of function &apos;dbus_g_proxy_new_for_name&apos;
gswitchit-config.c:167: warning: implicit declaration of function &apos;org_gnome_KeyboardConfigRegistry_get_current_descriptions_as_utf8&apos;
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&apos;
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&apos;
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&apos;
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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-Os -march=pentium-m -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/share/X11/xkb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo&quot;
CXXFLAGS=&quot;-Os -march=pentium-m -pipe&quot;
DISTDIR=&quot;/home/portage/tree/distfiles&quot;
FEATURES=&quot;autoconfig distlocks metadata-transfer sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.gentoo.mesh-solutions.com/gentoo/&quot;
LANG=&quot;de_DE.UTF-8&quot;
LINGUAS=&quot;de en&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/home/portage/tree/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/home/portage/tree&quot;
PORTDIR_OVERLAY=&quot;/home/portage/overlay&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>steev@gentoo.org</who>
            <bug_when>2006-09-13 12:52:44 0000</bug_when>
            <thetext>turn on the hal useflag.  you also need dbus built with the gtk useflag.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>me@derrabus.de</who>
            <bug_when>2006-09-13 13:13:18 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dang@gentoo.org</who>
            <bug_when>2006-09-18 20:39:09 0000</bug_when>
            <thetext>Fixed in CVS.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>