It's impossible to emerge libnotify because it tries to install notification-daemon as dependency but configure script of notification-daemon fails since it can't find libnotify. Reproducible: Always Steps to Reproduce: emerge -v libnotify Actual Results: These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] x11-misc/notification-daemon-0.4.0 USE="-debug -gstreamer" 0 kB [ebuild N ] x11-libs/libnotify-0.4.5 USE="doc" 0 kB Total: 2 packages (2 new), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Emerging (1 of 2) x11-misc/notification-daemon-0.4.0 * notification-daemon-0.4.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking notification-daemon-0.4.0.tar.gz to /var/tmp/portage/x11-misc/notification-daemon-0.4.0/work * Fixing OMF Makefiles ... [ ok ] * Running elibtoolize in: notification-daemon-0.4.0 * Applying install-sh-1.5.4.patch ... * Applying portage-2.2.patch ... * Applying sed-1.5.6.patch ... >>> Source unpacked. >>> Compiling source in /var/tmp/portage/x11-misc/notification-daemon-0.4.0/work/notification-daemon-0.4.0 ... * econf: updating notification-daemon-0.4.0/config.guess with /usr/share/gnuconfig/config.guess * econf: updating notification-daemon-0.4.0/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-sound --build=i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for a BSD-compatible install... /usr/bin/install -c checking for an ANSI C-conforming const... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking how to recognize dependent libraries... pass_all checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if i686-pc-linux-gnu-gcc static flag -static works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether NLS is requested... yes checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for perl... /usr/bin/perl checking for XML::Parser... ok checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/gmsgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for catalogs to be installed... checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for NOTIFICATION_DAEMON... yes 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 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables NOTIFICATION_CAPPLET_CFLAGS and NOTIFICATION_CAPPLET_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/x11-misc/notification-daemon-0.4.0/work/notification-daemon-0.4.0/config.log * * ERROR: x11-misc/notification-daemon-0.4.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2748: Called gnome2_src_compile * environment, line 2137: Called gnome2_src_configure * environment, line 2151: Called econf '--disable-sound' * ebuild.sh, line 529: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-misc/notification-daemon-0.4.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/notification-daemon-0.4.0/temp/environment'. * >>> Failed to emerge x11-misc/notification-daemon-0.4.0, Log file: >>> '/var/tmp/portage/x11-misc/notification-daemon-0.4.0/temp/build.log' * Messages for package x11-misc/notification-daemon-0.4.0: * * ERROR: x11-misc/notification-daemon-0.4.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2748: Called gnome2_src_compile * environment, line 2137: Called gnome2_src_configure * environment, line 2151: Called econf '--disable-sound' * ebuild.sh, line 529: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-misc/notification-daemon-0.4.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/notification-daemon-0.4.0/temp/environment'. * "emerge --nodeps libnotify" solves the problem.
Thanks for reporting this dependency problem; assigning to maintainer
*** Bug 252593 has been marked as a duplicate of this bug. ***
Maybe bug 252593 is duplicate of 2525_9_1, not 252521?
emerge =x11-misc/notification-daemon-0.3.7-r1 emerge libnotify emerge notification-daemon
notification-daemon-0.4.0 should RDEPEND on libnotify when the capplet is built and libnotify should move it's || ( notification-daemon ) to PDEPEND to break circular dependency. Thanks for spotting the issue.
(In reply to comment #5) > notification-daemon-0.4.0 should RDEPEND on libnotify This part is done. > when the capplet is built > and libnotify should move it's || ( notification-daemon ) to PDEPEND to break > circular dependency. And I just dropped notification-daemon from libnotify dependencies, since I don't know why it's there in the first place. library is library and I think it should not {P}depend on daemons :) Fixed.