Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253353 - x11-misc/notification-daemon should depend on x11-libs/libnotify (circular dependency)
Summary: x11-misc/notification-daemon should depend on x11-libs/libnotify (circular de...
Status: RESOLVED DUPLICATE of bug 253332
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-01 13:23 UTC by Leung Ki Chi
Modified: 2009-01-16 09:57 UTC (History)
3 users (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 Leung Ki Chi 2009-01-01 13:23:17 UTC
compiling x11-misc/notification-daemon-0.4.0 fails with this error during ./configure:

-- start --

checking for NOTIFICATION_CAPPLET... configure: error: Package requirements (glib-2.0 >= 2.10.0 gtk+-2.0 >= 2.10.0 libglade-2.0 gconf-2.0 libnotify dbus-1 dbus-glib-1) were not met:

No package 'libnotify' found

-- end --

indeed, libnotify is not yet installed on the system.

# emerge -pq1 libnotify
[ ebuild N ] x11-libs/libnotify-0.4.5

this seems like a simple case of the libnotify dependency omitted from the ebuild.
Comment 1 Leung Ki Chi 2009-01-01 13:33:09 UTC
if i try to emerge libnotify, it wants to install notification-daemon before libnotify, which would fail due to the unsatisfied dependency on libnotify itself.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2009-01-02 17:14:05 UTC
I can confirm that I have the same issue.

emerging libnotify with the --nodeps option seems to have worked around the issue
Comment 3 cj 2009-01-03 10:36:09 UTC
I cannot confirm this. (has it already been fixed ?)
emerge x11-misc/notification-daemon

completes without error;  (libnotify isn't installed by emerge)

libnotify is not on my system;

chris@mybox ~/code/clever_stuff $ export CXXFLAGS="-lnotify"
chris@mybox ~/code/clever_stuff $ make dafttest
g++ -lnotify    dafttest.cpp   -o dafttest
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnotify
collect2: ld returned 1 exit status
make: *** [dafttest] Error 1

if this hasn't already been fixed is this an issue with the ./config rather than the ebuilds?

my emerge --info 
Portage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20.9 x86_64)
=================================================================
System uname: Linux-2.6.20.9-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-glibc2.2.5
Timestamp of tree: Thu, 01 Jan 2009 16:00:16 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-lnotify"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.virginmedia.com/sites/gentoo "
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB zh_CN"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash_completion berkdb bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox flac fortran gdbm gif gpm gstreamer gtk hal iconv immqt-bc ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB zh_CN" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Comment 4 Michal Papis 2009-01-07 21:15:32 UTC
i have the same problem
----------------- emerge --info:
Portage 2.1.6.4 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo x86_64)
=================================================================                                                
System uname: Linux-2.6.28-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5             
Timestamp of tree: Wed, 07 Jan 2009 15:45:01 +0000                                                               
app-shells/bash:     3.2_p48                                                                                     
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                                         
dev-lang/python:     2.4.4-r13, 2.5.2-r8                                                                         
dev-python/pycrypto: 2.0.1-r6                                                                                    
dev-util/cmake:      2.6.2-r1                                                                                    
sys-apps/baselayout: 2.0.0                                                                                       
sys-apps/openrc:     0.4.1-r1                                                                                    
sys-apps/sandbox:    1.3.2                                                                                       
sys-devel/autoconf:  2.13, 2.63                                                                                  
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                   
sys-devel/binutils:  2.19                                                                                        
sys-devel/gcc-config: 1.4.0-r4                                                                                   
sys-devel/libtool:   2.2.6a                                                                                      
virtual/os-headers:  2.6.28-r1                                                                                   
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                                     
CFLAGS="-march=core2 -O2 -pipe"                                                                                  
CHOST="x86_64-pc-linux-gnu"                                                                                      
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.po.opole.pl http://gentoo.mirror.pw.edu.pl/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US pl pl_PL"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amr amrnb amrwb arts bash-completion berkdb bzip2 cleartype cli cracklib crypt css cups dbus djvu dri dv dvb dvdr dvdread dvi emovix encode exif extrafilters fam ffmpeg flac fortran gadu gdbm gif glib gpm gs hal iconv id3tag imagemagick inotify isdnlog jpeg jpeg2k kde kde4 kipi lame lm_sensors lzo midi mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nuv ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt4 quicktime readline reflection sdl session sms speex spell spl sse sse2 ssl ssse3 svg sysfs tcpd threads tiff toolbar truetype unicode usb utempter vcd vorbis winpopup wmf x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooksiec958 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US pl pl_PL" USERLAND="GNU" VIDEO_CARDS="vesa radeon radeonhd fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAYPortage 2.1.6.4 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo x86_64)
=================================================================                                                
System uname: Linux-2.6.28-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5             
Timestamp of tree: Wed, 07 Jan 2009 15:45:01 +0000                                                               
app-shells/bash:     3.2_p48                                                                                     
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                                         
dev-lang/python:     2.4.4-r13, 2.5.2-r8                                                                         
dev-python/pycrypto: 2.0.1-r6                                                                                    
dev-util/cmake:      2.6.2-r1                                                                                    
sys-apps/baselayout: 2.0.0                                                                                       
sys-apps/openrc:     0.4.1-r1                                                                                    
sys-apps/sandbox:    1.3.2                                                                                       
sys-devel/autoconf:  2.13, 2.63                                                                                  
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                   
sys-devel/binutils:  2.19                                                                                        
sys-devel/gcc-config: 1.4.0-r4                                                                                   
sys-devel/libtool:   2.2.6a                                                                                      
virtual/os-headers:  2.6.28-r1                                                                                   
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                                     
CFLAGS="-march=core2 -O2 -pipe"                                                                                  
CHOST="x86_64-pc-linux-gnu"                                                                                      
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.po.opole.pl http://gentoo.mirror.pw.edu.pl/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US pl pl_PL"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amr amrnb amrwb arts bash-completion berkdb bzip2 cleartype cli cracklib crypt css cups dbus djvu dri dv dvb dvdr dvdread dvi emovix encode exif extrafilters fam ffmpeg flac fortran gadu gdbm gif glib gpm gs hal iconv id3tag imagemagick inotify isdnlog jpeg jpeg2k kde kde4 kipi lame lm_sensors lzo midi mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nuv ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt4 quicktime readline reflection sdl session sms speex spell spl sse sse2 ssl ssse3 svg sysfs tcpd threads tiff toolbar truetype unicode usb utempter vcd vorbis winpopup wmf x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooksiec958 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US pl pl_PL" USERLAND="GNU" VIDEO_CARDS="vesa radeon radeonhd fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Guy 2009-01-10 07:23:08 UTC
I had the same problem as original reporter.

As per suggestion in comment #3:

emerge --nodeps libnotify

worked. Further, attempting to compile libnotify without the --nodeps option causeed both notification-daemon and libnotify to be compiled.

Apparently a circular dependency.

Note that we all seem to have the USE="gnome" flag turned off. I normally don't install gnome anymore. However, my mother prefers the gnome version of mahjongg. Since this is part of gnome-games, all of gnome-base is apparently a dependency for gnome-games which is where libnotify and notification-daemon are being pulled in.

Of course, I'm not a programmer and I'm just pulling straws out of the wind.

However, the --nodeps thing worked and I'm now past this problem.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-16 09:57:20 UTC
duplicate of bug #253332. Also in bug #252521.


*** This bug has been marked as a duplicate of bug 253332 ***