Summary: | emerge --tree : wrong output | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Toralf Förster <toralf> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | bensberg, betelgeuse, dschridde+gentoobugs, vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge -uDpvd --world > emerge.debug.log
emerge -uDdp --world > emerge_uDdp_world.log |
Description
Toralf Förster
![]() Same problem here, the bug-report I was going to send before I read this follows: Summary: emerge --tree seems broken: shows aalib as dependency of libmad and fonts as dependency of Digest-MD4 Details: emerge --tree seems to be broken: It shows aalib as a dependency of libmad(only has DEPEND="libc"), but the only package that really depends on it (of my installed packages, USE="-aalib") is xine-lib Also it shows arphicfonts and beakmuk-fonts as a dependency of dev-perl/Digest-MD4(no dependencies), which sounds insane. I could attach my "/usr/portage", "/var/db/pkg", "/etc/make.conf" or whatever you think is needed. (But currently I don't want to file in unuseful trash.) Reproduce: 1. Have xine-lib and Digest-MD4 installed 2. Have aalib, arphicfonts and beakmuk-fonts not installed (e.g. unmerged) 3. Type "emerge -uDpv --tree --world" Actual Results: Output of "emerge -uDpv --tree --world": --- These are the packages that I would merge, in reverse order: Calculating world dependencies ..... ...done! [nomerge ] media-plugins/xmms-mad-0.7 [nomerge ] media-libs/libmad-0.15.1b -debug [ebuild N ] media-libs/aalib-1.4_rc4-r2 +X +gpm +slang -static 0 kB [nomerge ] net-fs/samba-3.0.10 +acl* +cups -debug +doc +kerberos +ldap +libclamav +mysql +oav +pam -postgres +python -quotas +readline (-selinux) +w$ [nomerge ] dev-perl/Crypt-SmbHash-0.12 [nomerge ] dev-perl/Digest-MD4-1.3 [ebuild N ] media-fonts/arphicfonts-0.1-r2 +X 16,320 kB [ebuild N ] media-fonts/baekmuk-fonts-2.2 +X +unicode 39,679 kB --- Expected Results: Output of "emerge -uDpv --tree --world": --- These are the packages that I would merge, in reverse order: Calculating world dependencies ..... ...done! [nomerge ] xine-ui [EDIT, e.g.] [nomerge ] media-libs/xine-lib [EDIT] [ebuild N ] media-libs/aalib-1.4_rc4-r2 +X +gpm +slang -static 0 kB [nomerge ] SOMEPACKAGE [EDIT, could be xorg-x11, don't know] [ebuild N ] media-fonts/arphicfonts-0.1-r2 +X 16,320 kB [ebuild N ] media-fonts/baekmuk-fonts-2.2 +X +unicode 39,679 kB --- Additional info: emerge --info: --- Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r2 i686) ================================================================= System uname: 2.6.10-gentoo-r2 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 19 2004, 16:46:45)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.easynet.nl/mirror/gentoo/" LDFLAGS="" MAKEOPTS="-s -j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aalib acl acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bzip2 bzlib cdparanoia cdr cjk crypt cups dba dga divx4linux doc dvd dvdr encode fam fbcon flac font-server foomaticdb fortran gd-external geoip gif gimp gimpprint glut gpm gstreamer gtk2 imagemagick imlib ipv6 jpeg kde kerberos lcms ldap libclamav libwww lm_sensors mad mikmod mmx mmx2 mpeg mysql ncurses nls no_wxgtk1 nomotif nptl nptlonly nvidia oav oggvorbis openal opengl pam pcntl pcre pdflib perl pic png portaudio posix povray ppds python qt quicktime readline rrdtool rtc samba sasl scanner sdl session shared sharedmem slang slp smime snmp sockets speex spell sqlite sse ssl svg sysvipc tcpd tetex theora tidy tiff truetype truetype-fonts type1fonts unicode usbuserlocales winbind xine xml xml2 xmms xsl xv xvid zlib linguas_de" --- The initial bug report shows expected behavior, which is pretty much why it wasn't answered.. However, the output in comment #1 is incorrect. Can you provide the output of emerge -uDdp world please? >The initial bug report shows expected behavior, which is pretty much why it wasn't answered..
Ok, more detailed :
[nomerge ] dev-perl/DBD-mysql-2.1027
[nomerge ] dev-perl/DBI-1.38
[nomerge ] dev-perl/PlRPC-0.2016-r1
[nomerge ] dev-perl/Net-Daemon-0.37
[nomerge ] media-sound/esound-0.2.34 +alsa -ipv6 +tcpd
[nomerge ] media-libs/alsa-lib-1.0.5-r3 -jack -static
The indentation of esound looks like that esound if not a dependency of perl. Instead it seems a dependency of :
[ebuild U ] kde-base/arts-1.3.1 [1.3.0] +alsa +arts -artswrappersuid -debug +esd -jack +mad +oggvorbis -xinerama 0 kB
survivor ~ # emerge -uDpv world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild N ] media-fonts/baekmuk-fonts-2.2 +X +unicode 0 kB [ebuild N ] media-fonts/arphicfonts-0.1-r2 +X 0 kB [ebuild N ] media-libs/aalib-1.4_rc4-r2 +X +gpm +slang -static 0 kB [ebuild N ] media-fonts/acroread-asianfonts-20020815 32,060 kB [ebuild U ] kde-base/kdeartwork-3.3.2 [3.3.1] -arts* -debug +opengl -xinerama -xscreensaver 17,559 kB [ebuild U ] kde-base/kdetoys-3.3.2 [3.3.1] -arts* -debug -xinerama 2,696 kB [ebuild U ] kde-base/kdeedu-3.3.2 [3.3.1] -arts* -debug -xinerama 21,552 kB [ebuild U ] kde-base/kdegames-3.3.2 [3.3.1] -arts* -debug -xinerama 9,116 kB [ebuild U ] kde-base/kde-3.3.2 [3.3.1] 0 kB [ebuild N ] media-libs/libdts-0.0.2 -debug -oss 288 kB [ebuild N ] media-video/xanim-2.80.1-r4 -debug 464 kB Created attachment 47766 [details]
emerge -uDpvd --world > emerge.debug.log
Output of emerge -uDpvd --world
Sorry, I misread your post (didn't see the -d).
Toralf, If you remove this section: [nomerge ] dev-perl/DBD-mysql-2.1027 [nomerge ] dev-perl/DBI-1.38 [nomerge ] dev-perl/PlRPC-0.2016-r1 [nomerge ] dev-perl/Net-Daemon-0.37 You'll end up with this: [nomerge ] sys-libs/lib-compat-1.4 +sdl [nomerge ] media-libs/libsdl-1.2.7-r2 +X -aalib +alsa +arts -dga -directfb +esd -fbcon -ggi -libcaca -nas -noaudio -nojoystick -novideo +opengl +oss +svga -xinerama +xv [nomerge ] media-sound/esound-0.2.34 +alsa -ipv6 +tcpd [nomerge ] media-libs/alsa-lib-1.0.5-r3 -jack -static [nomerge ] sys-kernel/usermode-sources-2.6.8.1-r1 -build +doc* [nomerge ] app-text/docbook-sgml-utils-0.6.12 -tetex [nomerge ] net-www/lynx-2.8.5 -debug -ipv6 +nls +ssl [nomerge ] dev-libs/openssl-0.9.7d-r1 -debug -emacs (-uclibc) The reason why the DBD-mysql comes in there on its own is that something has a PDEPEND on it. What you are seeing is how portage handles it rather than what actually is. I suggested that this artifact be documented when docs were originally be written, but others felt that it would be too confusing... :/ Dennis, I haven't looked through the debug.log text yet because basically it takes a long time to parse. Looking at your original comment, I'm wondering if that was the full output that you got. If you can still reproduce this, can you once again provide the full output of -uDvpt and attach the output of -uDdp, please? Created attachment 50035 [details]
emerge -uDdp --world > emerge_uDdp_world.log
# emerge -uDpvt --world
These are the packages that I would merge, in reverse order:
Calculating world dependencies ...done!
[ebuild U ] app-office/openoffice-bin-de-1.1.4 [1.1.3] -gnome -java +kde 0
kB [1]
[nomerge ] net-fs/samba-3.0.10 -acl* +cups -debug +doc +kerberos +ldap
+libclamav +mysql +oav +pam -postgres +python -quotas +readline (-selinux)
+winbind +xml +xml2
[nomerge ] dev-libs/popt-1.7-r1 +nls
[ebuild N ] media-fonts/arphicfonts-0.1-r2 +X 0 kB
Total size of downloads: 0 kB
Portage overlays:
[1] /usr/local/portage
*** Bug 90861 has been marked as a duplicate of this bug. *** *** Bug 91741 has been marked as a duplicate of this bug. *** Another case emerge -1udDpvt gxine | grep samba -C10 | less [ebuild U ] media-video/gxine-0.5.7 [0.5.6] USE="nsplugin -lirc -nls -xinerama" 0 kB [ebuild U ] x11-libs/gtk+-2.8.20-r1 [2.8.19] USE="jpeg -X -debug -doc -tiff -xinerama" 0 kB [ebuild U ] x11-misc/shared-mime-info-0.18 [0.17-r2] 0 kB [ebuild U ] dev-libs/atk-1.12.1 [1.11.4] USE="-debug -doc" 0 kB [ebuild U ] x11-libs/pango-1.12.3 [1.12.2] USE="-debug -doc" 0 kB [ebuild U ] x11-libs/cairo-1.2.0 [1.0.4] USE="X glitz png svg% -directfb% -doc -pdf%" 0 kB [ebuild U ] media-libs/glitz-0.5.6 [0.4.4] 0 kB [nomerge ] virtual/ghostscript-0 [nomerge ] app-text/ghostscript-esp-8.15.2_p20060520 USE="X cups threads xml -cjk -emacs -gtk" [ebuild U ] media-libs/tiff-3.8.2-r1 [3.8.2] USE="jpeg zlib -jbig% -nocxx" 0 kB [ebuild U ] net-fs/samba-3.0.23a [3.0.22-r2] USE="acl cups pam readline -async -automount -doc -examples -kerberos -ldap -oav -python -quotas -swat -syslog -winbind" LINGUAS="-ja% -pl%" 0 kB Parent: ebuild / media-libs/xine-lib-1.1.2-r2 nomerge Depstring: vorbis? ( media-libs/libvorbis ) X? ( || ( ( x11-libs/libXext x11-libs/libX11 ) <virtual/x11-7 ) ) xv? ( || ( x11-libs/libXv <virtual/x11-7 ) ) xvmc? ( || ( x11-libs/libXvMC <virtual/x11-7 ) vid eo_cards_nvidia? ( || ( x11-drivers/nvidia-drivers x11-drivers/nvidia-legacy-drivers media-video/nvidia-glx ) ) video_cards_via? ( || ( x11-drivers/xf86-video-via <virtual/x11-7 ) ) video_cards_i810? ( || ( x11-drivers/xf86-video-i810 <virtual/x11-7 ) ) ) xinerama? ( || ( x11-libs/libXinerama <virtual/x11-7 ) ) win32codecs? ( >=media-libs/win32codecs-0.50 ) esd? ( media-sound/esound ) dvd? ( >=media-libs/li bdvdcss-1.2.7 ) arts? ( kde-base/arts ) alsa? ( media-libs/alsa-lib ) aalib? ( media-libs/aalib ) directfb? ( >=dev-libs/DirectFB-0.9.9 ) gnome? ( >=gnome-base/gnome-vfs-2.0 ) flac? ( >=media-libs/flac-1.0 .4 ) sdl? ( >=media-libs/libsdl-1.1.5 ) dxr3? ( >=media-libs/libfame-0.9.0 ) theora? ( media-libs/libtheora ) speex? ( media-libs/speex ) libcaca? ( media-libs/libcaca ) samba? ( net-fs/samba ) mng? ( medi a-libs/libmng ) vcd? ( media-video/vcdimager ) a52? ( >=media-libs/a52dec-0.7.4-r5 ) mad? ( media-libs/libmad ) imagemagick? ( media-gfx/imagemagick ) dts? ( media-libs/libdts ) >=media-video/ffmpeg-0.4.9_ p20051120 modplug? ( media-libs/libmodplug ) nls? ( virtual/libintl ) virtual/libiconv !=media-libs/xine-lib-0.9.13* X? ( || ( ( x11-libs/libXt x11-proto/xextproto x11-proto/xproto x11-proto/videoproto x11 -proto/xf86vidmodeproto xinerama? ( x11-proto/xineramaproto ) ) <virtual/x11-7 ) ) v4l? ( virtual/os-headers ) dev-util/pkgconfig nls? ( sys-devel/gettext ) sys-devel/automake sys-devel/autoconf sys-devel/ libtool vorbis? ( media-libs/libvorbis ) X? ( || ( ( x11-libs/libXext x11-libs/libX11 ) <virtual/x11-7 ) ) xv? ( || ( x11-libs/libXv <virtual/x11-7 ) ) xvmc? ( || ( x11-libs/libXvMC <virtual/x11-7 ) video_ cards_nvidia? ( || ( x11-drivers/nvidia-drivers x11-drivers/nvidia-legacy-drivers media-video/nvidia-glx ) ) video_cards_via? ( || ( x11-drivers/xf86-video-via <virtual/x11-7 ) ) video_cards_i810? ( || ( x 11-drivers/xf86-video-i810 <virtual/x11-7 ) ) ) xinerama? ( || ( x11-libs/libXinerama <virtual/x11-7 ) ) win32codecs? ( >=media-libs/win32codecs-0.50 ) esd? ( media-sound/esound ) dvd? ( >=media-libs/libdv dcss-1.2.7 ) arts? ( kde-base/arts ) alsa? ( media-libs/alsa-lib ) aalib? ( media-libs/aalib ) directfb? ( >=dev-libs/DirectFB-0.9.9 ) gnome? ( >=gnome-base/gnome-vfs-2.0 ) flac? ( >=media-libs/flac-1.0.4 ) sdl? ( >=media-libs/libsdl-1.1.5 ) dxr3? ( >=media-libs/libfame-0.9.0 ) theora? ( media-libs/libtheora ) speex? ( media-libs/speex ) libcaca? ( media-libs/libcaca ) samba? ( net-fs/samba ) mng? ( media-l ibs/libmng ) vcd? ( media-video/vcdimager ) a52? ( >=media-libs/a52dec-0.7.4-r5 ) mad? ( media-libs/libmad ) imagemagick? ( media-gfx/imagemagick ) dts? ( media-libs/libdts ) >=media-video/ffmpeg-0.4.9_p20 051120 modplug? ( media-libs/libmodplug ) nls? ( virtual/libintl ) virtual/libiconv !=media-libs/xine-lib-0.9.13* Candidates: ['sys-devel/automake', '>=media-video/ffmpeg-0.4.9_p20051120', 'dev-util/pkgconfig', 'sys-devel/libtool', 'x11-proto/xextproto', '!=media-libs/xine-lib-0.9.13*', 'media-libs/libdts', '>=media-l ibs/win32codecs-0.50', 'media-libs/alsa-lib', 'net-fs/samba', 'virtual/libiconv', 'media-sound/esound', 'x11-libs/libX11', 'media-libs/libmad', 'x11-proto/videoproto', 'media-libs/libvorbis', 'media-libs/l ibtheora', 'x11-libs/libXt', 'x11-libs/libXext', 'x11-libs/libXv', '>=media-libs/libdvdcss-1.2.7', 'x11-proto/xproto', 'x11-proto/xf86vidmodeproto', 'sys-devel/autoconf'] ebuild: sys-devel/automake-1.9.6-r2 ebuild: media-video/ffmpeg-0.4.9_p20060302 samba is for some reason listed as a dependency of gtk+ but instead there should probably be xine-lib under gxine and then samba under that. The code behind --tree has been rewritten in recent versions. I assume this bug has been automatically resolved. Feel free to reopen if you can proove me wrong. (In reply to comment #11) > The code behind --tree has been rewritten in recent versions. >=portage-2.1.2_pre3, to be specific. It was a patch from bug 147766. |