emerge --info: Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.6.15 dev-lang/python: 2.4.2 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-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -mfpmath=sse,387 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/env.d/02locale /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/keymaps/i386/qwerty/it.map.gz /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -mfpmath=sse,387 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/" LANG="it_IT@euro" LC_ALL="it_IT@euro" LDFLAGS="-Wl,-O1" LINGUAS="it" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/portage_tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr cli crypt cups directfb dri dv dvd dvdr dvdread emboss encode fbcon ffmpeg flac foomaticdb fortran gd gdbm gif glut gnutls gpm gstreamer gtk gtk2 idn ieee1394 imagemagick imlib ipv6 isdnlog java jikes jpeg kdeenablefinal lcms ldap libg++ libwww mad matroska mikmod mmx mng motif mp3 mpeg ncurses nls nptl offensive ogg opengl pam pcmcia pcre pdflib perl png ppds pppd python quicktime readline reflection sdl session sndfile speex spell spl sse sse2 ssl svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wmf xml xorg xv xvid zlib elibc_glibc kernel_linux linguas_it userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS gentoolkit version: app-portage/gentoolkit-0.2.2 equery depends has problems with some (many) packages: when invoked with package version like "equery depends <cat>/<pkg>-<vers>" often it gives no result even if the package is clearly a dependance of something. When invoked without package version it gives some answer... For exemple I have a list of packages (I ran equery depends on all my installed packages) that have similar behaviour. Le list is long but I prefer to post it all. All world and system packages have been filtered out (even if it's equery that should show if a package is a world or system package imho... but this is a completely different kind of bug). This is the list of all packages that gives no result if invoked with version number (is very long but I wasn't able to put it all here because the bugzilla form complains... I can't find a way to make an attachment... maybe I'm blind but I can't find any "attach" button ): app-admin/eselect-1.0 app-admin/eselect-opengl-1.0.3 app-admin/fam-2.7.0-r4 app-admin/gnomesu-0.3.1 app-admin/perl-cleaner-1.04 app-arch/gzip-1.3.5-r8 app-arch/unzip-5.52 app-arch/zip-2.31 app-cdr/cdrtools-2.01.01_alpha07 app-crypt/hashalot-0.3-r2 ................... cut --- the list is too long and I can't find the "attach feature" that the bugzilla form is speaking of ................... www-client/lynx-2.8.5-r3 www-client/mozilla-launcher-1.49 x11-base/opengl-update-3.0.0 x11-libs/Xaw3d-1.5-r1 x11-libs/cairo-1.0.4 x11-libs/fltk-1.1.7 x11-libs/gtk+-1.2.10-r11 x11-libs/gtk+-2.8.12 x11-libs/gtkglarea-1.2.3-r1 x11-libs/gtkglarea-1.99.0 x11-libs/libzvt-2.0.1-r2 x11-libs/openmotif-2.2.3-r9 x11-libs/pango-1.10.3 x11-libs/vte-0.11.18 x11-misc/shared-mime-info-0.16 x11-terms/xterm-215 x11-themes/gnome-icon-theme-2.12.1 x11-themes/gnome-themes-2.12.3 x11-themes/gtk-engines-2.6.7 x11-themes/gtk-engines-xfce-2.2.7-r1 x11-themes/hicolor-icon-theme-0.8 Of all the packages listed before theese are the packages that give null result even if invoked without version number: app-admin/fam-2.7.0-r4 app-cdr/cdrtools-2.01.01_alpha07 dev-util/indent-2.2.9-r2 mail-client/mailx-8.1.2.20040524-r1 media-libs/libdc1394-1.2.1 net-libs/libgsasl-0.2.4 sci-visualization/gnuplot-4.0-r1 sys-apps/eject-2.1.0-r1 sys-apps/less-394 sys-apps/module-init-tools-3.2.1 Obviously I'm perfecly sure that even the packages in the second list are dependancies... so there is a first bug where equery behaves in a strange way if I ask for dependancies specifying the version number or not. The second but is that, for some packages, equery doesen't read correclty the dependancies even if invoked without version number (so basically equery depends doesen't work at all and should be removed from gentoolkit until fixed imho :-) but I'll leave that decision to you ;-) ) The second list does not include slotted packages... obviously equery has problems even with slotted packages since it isn't able to recognize dependancies when the version number is specified... whell it seems that you have a lot of work to do :-)
Created attachment 90275 [details] list of problematics packages Oh it seems that I found out how to attach it :-) Sorry... This feature wasn't in the initial post form and It's the first time that I attach somethig :-) This is the list of the packages that gives no result if searched with version number
Created attachment 90276 [details] list of problematics packages Oh it seems that I found out how to attach it :-) Sorry... This feature wasn't in the initial post form and It's the first time that I attach somethig :-) This is the list of the packages that gives no result if searched with version number
i would imagine that equery doesn't really expand all the dependency atoms from the vdb or portdir, nor tries to match a given exact version against the dep atoms in vdb/portdir. so f.ex. if a package depends on "<kde-base/kdebase-3.5" and you try to figure out what dragged in version 3.4.3-r2 with "equery depends kde-base/kdebase-3.4.3-r2" you won't get the result you're looking for. i'm not even sure there is a tool in portage which would do what you're looking for. at least i don't know of any
> i'm not even sure there is a tool in portage which would do what you're looking > for. at least i don't know of any So what is the real purpose of "equery depends"? In the gentoo forums there was an external tool called "unclepine" that dit this kind of things and much more... (in a very efficent way) but unfortunately it doesen't work with portage-2.1 and it seems not actively developed anymore... Really no one cares about that feature? Isn't useful to anyone to know exaclty what are the (direct or reverse) dependancies of a package?
*** Bug 147264 has been marked as a duplicate of this bug. ***
*** Bug 150438 has been marked as a duplicate of this bug. ***
$ svn commit -m "Fix equery depends command to actually list all dependencies" Committed revision 326. $ equery depends 'app-admin/fam' [ Searching for packages depending on app-admin/fam... ] gnome-base/gnome-vfs-2.16.3 (virtual/fam) kde-base/kdelibs-3.5.5-r5 (fam? virtual/fam) $ equery depends 'app-admin/fam-2.7.0-r4' [ Searching for packages depending on app-admin/fam-2.7.0-r4... ] gnome-base/gnome-vfs-2.16.3 (virtual/fam) kde-base/kdelibs-3.5.5-r5 (fam? virtual/fam)
*** Bug 163490 has been marked as a duplicate of this bug. ***
Fixed in gentoolkit-0.2.3