$ equery depgraph libdvb * dependency graph for media-libs/libdvb-0.5.5.1-r1 `-- media-libs/libdvb-0.5.5.1-r1 `-- sys-kernel/linux-headers-2.6.11-r3 `-- sys-devel/patch-2.5.9-r1 [ !bootstrap ] [ media-libs/libdvb-0.5.5.1-r1 stats: packages (3), max depth (2) ] $ equery depends linuxtv-dvb-headers [ Searching for packages depending on linuxtv-dvb-headers... ] . but libdvb-0.5.5-r1.ebuild ... RDEPEND="media-tv/linuxtv-dvb-headers" ...
Reopen with gentoolkit version and emerge --info...
gentoolkit-0.2.2_pre2 Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-suspend2 i686) ================================================================= System uname: 2.6.15-suspend2 i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.12.0_pre15 ccache version 2.4 [enabled] dev-lang/python: 2.4.2 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg candy ccache collision-protect digest distlocks fixpackages sandbox sfperms strict test" GENTOO_MIRRORS=" ftp://ftp.belnet.be/mirrors/rsync.gentoo.org/gentoo" LANG="gl_ES.UTF-8" LC_ALL="gl_ES.UTF-8" LINGUAS="gl es" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-gentopia /usr/local/portage-bmg /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa audiofile avahi avi bash-completion bzip2 cairo cdr cscope cups dbus dvd dvdr eds emboss encode esd exif expat fam firefox flac foomaticdb fortran gdbm gif glut gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib jpeg junit lcms libg++ libwww mad mikmod mmx mmxext mng mp3 mpeg ncurses nfs nls nptl ogg oggvorbis opengl pcre pic png quicktime readline samba scanner sse sse2 ssl svg tcltk test tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xml xml2 xv xvid yaz zlib elibc_glibc kernel_linux linguas_gl linguas_es userland_GNU" Unset: ASFLAGS, CTARGET, LDFLAGS
The same happens with ant and ant-tasks.
Now it works in the case of libdvb and linuxtv-dvb-headers. But with ant it has a strange behaviour: localhost ~ # equery depends ant-core-1.6.5* [ Searching for packages depending on ant-core-1.6.5*... ] dev-java/ant-1.6.5 dev-java/ant-tasks-1.6.5 localhost ~ # equery depends ant-core-1.6.5 [ Searching for packages depending on ant-core-1.6.5... ] dev-java/log4j-1.2.13 localhost ~ # localhost ~ # equery depends ant-core [ Searching for packages depending on ant-core... ] dev-util/eclipse-sdk-3.1.2 dev-java/log4j-1.2.13 dev-java/jdbc-mysql-3.1.12 dev-java/junit-3.8.1-r1 localhost ~ # And the same behaviour with ant-taks. I think this is related to bug #114432. Depgraph on ant matches ant-core and ant-tasks.
I took a look at the code and found the bug: When equery is checking the ant's dependencies it calls gentoolkit.split_package_name('ant-core-1.6.5*') but this function returns ant-core-1.6.5* as the package name with the version field empty. This happens because the function ververify from /usr/lib/portage/pym/portage_versions.py (l.7) uses the next regex: ver_regexp = re.compile("^(cvs\\.)?(\\d+)((\\.\\d+)*)([a-z]?)((_(pre|p|beta|alpha|rc)\\d*)*)(-r(\\d+))?$") and it does not consider version numbers finishing in '*'.
same proble with dev-libs/nss
Fix for the depends command is in subversion rev 333. I will fix the depgraph command next. Example output: equery depends =ant-core-1.6.5* [ Searching for packages depending on =ant-core-1.6.5*... ] dev-java/bcprov-1.31-r2 (dev-java/ant-core) dev-java/commons-cli-1.0-r5 (>=dev-java/ant-core-1.6.2) dev-java/commons-lang-2.0-r2 (>=dev-java/ant-core-1.4) dev-java/commons-logging-1.1-r2 (dev-java/ant-core) dev-java/eclipse-ecj-3.2 (dev-java/ant-core) dev-java/log4j-1.2.14-r1 (>=dev-java/ant-core-1.6.5) dev-java/swt-3.2.1 (dev-java/ant-core) net-p2p/azureus-2.5.0.0-r3 (>=dev-java/ant-core-1.6.2)
This is defintely fixed in gentoolkit-0.2.4_rc2