Summary: | gnome-base/gnome-applets-2.32.1.1 - gweather-applet.c:41:28: error: dbus/dbus-glib.h: No such file or directory with libnotify-0.7.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | water <waterloo2005> |
Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | Adrian.Bassett, atswartz, kanelxake, laurento.frittella, v.simankin |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge.log |
Description
water
2011-03-09 12:20:40 UTC
Which version of dev-libs/dbus-glib is installed? Actually, nothing in gnome-applets-2.32.1.1/gweather seems to set -I/usr/include/dbus-glib-1.0 when it looks like it should -- assigning. what version of dbus do you have ? I am having the same problem. dev-libs/dbus-glib-0.92 sys-apps/dbus-1.4.6 # emerge --info =gnome-base/gnome-applets-2.32.1.1 Portage 2.2.0_alpha26 (default/linux/amd64/10.0/no-multilib, gcc-4.5.2, glibc-2.13-r1, 2.6.38-rc7+ x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.38-rc7+-x86_64-AMD_Phenom-tm-_9500_Quad-Core_Processor-with-gentoo-2.0.1 Timestamp of tree: Wed, 09 Mar 2011 16:30:01 +0000 ccache version 3.1.4 [enabled] app-shells/bash: 4.2_p7 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.4 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) Repositories: gentoo x11 desktop-effects andrewthomas Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ rsync://mirror.mcs.anl.gov/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ rsync://gentoo.chem.wisc.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org/ rsync://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/desktop-effects /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cddb cdparanoia cdr cli compiz consolekit cracklib crypt css curl curlwrappers cvs cxx dbus device-mapper dga directfb dri drm dts dvb dvd dvdr encode ffmpeg firefox flac fontconfig fortran ftp gconf gdbm gif gimp git glitz glut gnome gnome-keyring gnutls gpm gstreamer gtk gzip hddtemp iconv imagemagick imap ipv6 java java6 jpeg lame libnotify lm_sensors logrotate lua lzma lzo mad mce mmap mmx mng modules mp3 mp4 mpeg mplayer mudflap multimedia mysql ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png policykit pppd pulseaudio python qt3support qt4 quicktime readline semantic-desktop session sndfile sockets sound speex spell sql sse sse2 sse4a ssl svg symlink sysfs syslog tcpd theora tk toolame truetype twolame udev unicode usb vcd vcdinfo vorbis webkit websockets win64codecs x264 xine xinerama xorg xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= gnome-base/gnome-applets-2.32.1.1 was built with the following: USE="gnome gstreamer ipv6 networkmanager policykit -battstat -hal" (In reply to comment #1) > Which version of dev-libs/dbus-glib is installed? I installed dev-libs/dbus-glib 0.92 . Thanks (In reply to comment #3) > what version of dbus do you have ? I installed sys-apps/dbus 1.4.6 . Thanks the same problem at me. I written in http://bugs.gentoo.org/show_bug.cgi?id=352345 Water, do you have libnotify-0.7 also? (In reply to comment #8) > Water, do you have libnotify-0.7 also? I installed x11-libs/libnotify 0.7.1 . I also can not emerge www-client/epiphany-2.30.6 , media-sound/banshee-1.8.1 , media-video/avidemux-2.5.4-r1 , net-voip/telepathy-gabble-0.10.5 . I think those are because of the same causes . thanks >=libnotify-0.7.1 no longer depends on dbus.
But many packages that depend on libnotify are relying on that old libnotify dbus dependency to fill in their compile time CFLAGS.
Check this out:
~ # diff -u libnotify-0.5.2.pc libnotify-0.7.1.pc
-Requires: gtk+-2.0 >= 2.18, glib-2.0 >= 2.6, dbus-1 >= 0.76, dbus-glib-1 >= 0.76
+Requires: gdk-pixbuf-2.0 glib-2.0 >= 2.26.0 gio-2.0 >= 2.26.0
This is why at ./configure time the right dbus CFLAGS don't make it into the relevant Makefile's.
Comment 10 is correct, and according to the archlinux folks (hello ionut!), there's at least two packages in the tree that are broken: epiphany and gnome-applets. Here are the patches to fix them: http://projects.archlinux.org/svntogit/packages.git/tree/gnome-applets/repos/testing-i686/add-dbus-glib.patch http://projects.archlinux.org/svntogit/packages.git/tree/epiphany/repos/testing-x86_64/add-dbus-glib.patch media-video/handbrake is also broken, but we don't have that in the tree. How to do with it now ? Downgrade x11-libs/libnotify ? Thanks I was able to compile with: CFLAGS='-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include' emerge -1 gnome-base/gnome-applets libnotify 0.7.1 dbus 1.4.1 dbus-glib 0.92 (In reply to comment #13) > I was able to compile with: > > CFLAGS='-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include' emerge -1 > gnome-base/gnome-applets with this CFLAGS: gweather-applet.o: In function `setup_network_monitor': gweather-applet.c:(.text+0x13e0): undefined reference to `dbus_g_bus_get' gweather-applet.c:(.text+0x1434): undefined reference to `dbus_g_connection_get_connection' (In reply to comment #11) > Comment 10 is correct, and according to the archlinux folks (hello ionut!), > there's at least two packages in the tree that are broken: epiphany and > gnome-applets. Here are the patches to fix them: > > http://projects.archlinux.org/svntogit/packages.git/tree/gnome-applets/repos/testing-i686/add-dbus-glib.patch I can confirm the patch for gnome applets corrects the problem. Greets Sander (In reply to comment #14) > (In reply to comment #13) > > I was able to compile with: > > > > CFLAGS='-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include' emerge -1 > > gnome-base/gnome-applets > > with this CFLAGS: > gweather-applet.o: In function `setup_network_monitor': > gweather-applet.c:(.text+0x13e0): undefined reference to `dbus_g_bus_get' > gweather-applet.c:(.text+0x1434): undefined reference to > `dbus_g_connection_get_connection' libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -Wl,-O1 -o gweather-applet-2 main.o gweather-about.o gweather-pref.o gweather-dialog.o gweather-applet.o -pthread -pthread -pthread -Wl,--as-needed -lnotify -lpanel-applet-3 /usr/lib64/libgweather.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgconf-2.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so -lm /usr/lib64/libcairo.so /usr/lib64/libpng14.so /usr/lib64/libpango-1.0.so /usr/lib64/libfreetype.so /usr/lib64/libfontconfig.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libglib-2.0.so -pthread gweather-applet.o: In function `setup_network_monitor': gweather-applet.c:(.text+0x13e0): undefined reference to `dbus_g_bus_get' gweather-applet.c:(.text+0x1434): undefined reference to `dbus_g_connection_get_connection' + 11 Mar 2011; Pacho Ramos <pacho@gentoo.org> gnome-applets-2.32.1.1.ebuild, + +files/gnome-applets-2.32.1.1-dbus-fix.patch: + Fix building with latest libnotify (bug #358043). + I can confirm that the dbus patch fixes the issue for me. (In reply to comment #18) > I can confirm that the dbus patch fixes the issue for me. confirm too. After rm /usr/portage/distfiles/gnome-applets-2.32.1.1.tar.bz2 and emerge again. (In reply to comment #19) > (In reply to comment #18) > > I can confirm that the dbus patch fixes the issue for me. > > confirm too. > After rm /usr/portage/distfiles/gnome-applets-2.32.1.1.tar.bz2 and emerge > again. Thanks I do like what you said. Now It is ok. Verified it now builds fine here too. Thanks. |