equery(0.1.4) d[epends] does not seem to differentiate between DEPEND and RDEPEND. (I was trying to emerge mplayer with USE="3dnow 3dnowext X aac aalib alsa arts cdparanoia cpudetection dga directfb dv dvb dvd encode esd fbcon gif gtk iconv ipv6 jpeg libcaca lirc live lzo mad mmx mmxext mp3 musepack nas opengl oss png quicktime real rtc samba sdl sse sse2 svga theora truetype unicode v4l v4l2 vidix vorbis win32codecs x264 xanim xv xvid -a52 (-altivec) -amrnb -amrwb -bidi -bindist -bl -cddb -cdio -custom-cflags -debug -doc -dts -enca -ftp -ggi -ivtv -jack -joystick -lame -livecd -md5sum -mp2 -nemesi -openal -pnm -pvr -radio -rar -speex -srt -ssse3 -teletext -tga -tivo -xinerama -xvmc -zoran" VIDEO_CARDS="vesa -mga -s3virge -tdfx" which results in blocked packages. I expected equery to be a helpful tool in hunting down the blocking packages. Reproducible: Always Steps to Reproduce: 1. emerge xvid (yasm gets installed) 2. equery d yasm Actual Results: [ Searching for packages depending on yasm... ] media-libs/xvid-1.1.3 (amd64? >=dev-lang/yasm-0.5.0) (x86? >=dev-lang/yasm-0.5.0) Expected Results: Nothing. Alternatively, maybe something like: [ Searching for packages depending on yasm... ] media-libs/xvid-1.1.3[RDEPEND] (amd64? >=dev-lang/yasm-0.5.0) (x86? >=dev-lang/yasm-0.5.0)
Err.. the [RDEPEND] is illogical. But you get the point. Maybe [!RDEPEND], I don't know if there's a better term used by the portage developers already.
I think the additional ability would be a useful extension, but I am at a loss as to why you didn't get the info from portage directly? eg: [blocks B ] <sys-fs/device-mapper-1.02.19-r1 (is blocking sys-fs/udev-114) or: [blocks B ] <kde-base/kdesktop-3.5.6-r1 (is blocking kde-base/kdebase-kioslaves-3.5.7-r1) [blocks B ] <=kde-base/kmail-3.5.6-r1 (is blocking kde-base/libkdepim-3.5.7-r1)
Yes, the output of portage tells me which package blocks which, but note that neither x264-svn nor yasm were installed before this: TuxOnStage:~ -> emerge -buvka --tree avidemux transcode mplayer xine-ui These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] media-video/xine-ui-0.99.5 USE="X aalib libcaca lirc ncurses nls readline -curl -debug -vdr -xinerama" 0 kB [ebuild N ] media-video/mplayer-1.0_rc2 USE="3dnow 3dnowext X aac aalib alsa arts cdparanoia cpudetection dga directfb dv dvb dvd encode esd fbcon gif gtk iconv ipv6 jpeg libcaca lirc live lzo mad mmx mmxext mp3 musepack nas opengl oss png quicktime real rtc samba sdl sse sse2 svga theora truetype unicode v4l v4l2 vidix vorbis win32codecs x264 xanim xv xvid -a52 (-altivec) -amrnb -amrwb -bidi -bindist -bl -cddb -cdio -custom-cflags -debug -doc -dts -enca -ftp -ggi -ivtv -jack -joystick -lame -livecd -md5sum -mp2 -nemesi -openal -pnm -pvr -radio -rar -speex -srt -ssse3 -teletext -tga -tivo -xinerama -xvmc -zoran" VIDEO_CARDS="vesa -mga -s3virge -tdfx" 9,120 kB [ebuild N ] media-video/avidemux-2.3.0 USE="aac alsa arts encode esd mad nls oss sdl truetype vorbis xv -a52 (-altivec) -x264 -xvid" 0 kB [nomerge ] media-video/mplayer-1.0_rc2 USE="3dnow 3dnowext X aac aalib alsa arts cdparanoia cpudetection dga directfb dv dvb dvd encode esd fbcon gif gtk iconv ipv6 jpeg libcaca lirc live lzo mad mmx mmxext mp3 musepack nas opengl oss png quicktime real rtc samba sdl sse sse2 svga theora truetype unicode v4l v4l2 vidix vorbis win32codecs x264 xanim xv xvid -a52 (-altivec) -amrnb -amrwb -bidi -bindist -bl -cddb -cdio -custom-cflags -debug -doc -dts -enca -ftp -ggi -ivtv -jack -joystick -lame -livecd -md5sum -mp2 -nemesi -openal -pnm -pvr -radio -rar -speex -srt -ssse3 -teletext -tga -tivo -xinerama -xvmc -zoran" VIDEO_CARDS="vesa -mga -s3virge -tdfx" [ebuild N ] media-video/xanim-2.80.1-r4 0 kB [ebuild N ] media-libs/xvid-1.1.3 USE="(-altivec) -examples" 0 kB [ebuild N ] dev-lang/yasm-0.6.1 USE="nls" 1,170 kB [ebuild N ] media-plugins/live-2007.08.03a 439 kB [ebuild N ] media-libs/libdv-1.0.0-r2 USE="sdl xv -debug" 0 kB [ebuild N ] media-tv/linuxtv-dvb-headers-3.1 0 kB [ebuild N ] media-libs/x264-svn-20070924 USE="-debug -threads" 0 kB [nomerge ] media-video/avidemux-2.3.0 USE="aac alsa arts encode esd mad nls oss sdl truetype vorbis xv -a52 (-altivec) -x264 -xvid" [ebuild N ] media-sound/twolame-0.3.9 0 kB [ebuild N ] dev-lang/spidermonkey-1.6 USE="threadsafe" 0 kB [ebuild N ] dev-util/subversion-1.4.4-r4 USE="berkdb java nls perl python -apache2 -bash-completion -doc -emacs -extras -nowebdav -ruby -vim-syntax" 0 kB [ebuild N ] net-misc/neon-0.26.3 USE="nls ssl zlib -expat -socks5" 0 kB [ebuild N ] dev-libs/apr-util-1.2.8 USE="berkdb gdbm -ldap -postgres -sqlite -sqlite3" 0 kB [ebuild N ] dev-libs/apr-1.2.8 USE="ipv6 -debug -urandom" 0 kB [nomerge ] media-video/mplayer-1.0_rc2 USE="3dnow 3dnowext X aac aalib alsa arts cdparanoia cpudetection dga directfb dv dvb dvd encode esd fbcon gif gtk iconv ipv6 jpeg libcaca lirc live lzo mad mmx mmxext mp3 musepack nas opengl oss png quicktime real rtc samba sdl sse sse2 svga theora truetype unicode v4l v4l2 vidix vorbis win32codecs x264 xanim xv xvid -a52 (-altivec) -amrnb -amrwb -bidi -bindist -bl -cddb -cdio -custom-cflags -debug -doc -dts -enca -ftp -ggi -ivtv -jack -joystick -lame -livecd -md5sum -mp2 -nemesi -openal -pnm -pvr -radio -rar -speex -srt -ssse3 -teletext -tga -tivo -xinerama -xvmc -zoran" VIDEO_CARDS="vesa -mga -s3virge -tdfx" [ebuild N ] app-misc/lirc-0.8.3_pre1 USE="X -debug -doc -hardware-carrier -transmitter" LIRC_DEVICES="hauppauge -accent -act200l -act220l -adaptec -all -alsa_usb -animax -asusdh -atilibusb -atiusb -audio -audio_alsa -avermedia -avermedia98 -avermedia_vdomate -bestbuy -bestbuy2 -breakoutbox -bte -bw6130 -caraca -chronos -cmdir -cph06x -creative -creative_infracd -devinput -digimatrix -dsp -dvico -ea65 -exaudio -flyvideo -gvbctv5pci -hauppauge_dvb -hercules_smarttv_stereo -igorplugusb -imon -imon_pad -imon_pad2keys -imon_rsc -inputlirc -irdeo -irdeo_remote -irman -irreal -it87 -knc_one -kworld -leadtek_0007 -leadtek_0010 -leadtek_pvr2000 -livedrive_midi -livedrive_seq -logitech -macmini -mceusb -mceusb2 -mediafocusI -mouseremote -mouseremote_ps2 -mp3anywhere -nslu2 -packard_bell -parallel -pcmak -pcmak_usb -pctv -pixelview_bt878 -pixelview_pak -pixelview_pro -provideo -realmagic -remote_wonder_plus -remotemaster -sa1100 -sasem -sb0540 -serial -serial_igor_cesko -silitek -sir -slinke -streamzap -tekram -tekram_bt829 -tira -ttusbir -tuxbox -tvbox -udp -uirt2 -uirt2_raw -usb_uirt_raw -usbirboy -usbx -userspace -xboxusb" 641 kB [blocks B ] <dev-lang/yasm-0.6.2 (is blocking media-libs/x264-svn-20070924) Thus, portage should ideally see that yasm is only needed temporarily (in order to compile xvid), and unmerge it afterwards, if it blocks other needed packages. But that would be another bug report (and open to a loooong discussion). This bug report is about the missing information on the solution: yasm is not in RDEPEND, but only in DEPEND, but neither emerge nor equery tell me about it.
Probably should be changed to WORKSFORME since this works for me. Previous comments seem to indicate the same. Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.7-r2, 2.6.25-gentoo-r6 x86_64) ================================================================= System uname: 2.6.25-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ Timestamp of tree: Fri, 04 Jul 2008 01:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 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="-O2 -Wall -pipe -march=athlon64 -msse3 -m3dnow" 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/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -Wall -pipe -march=athlon64 -msse3 -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo " 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" PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio /usr/portage/local/layman/java-overlay /usr/portage/local/layman/java-experimental /usr/portage/local/layman/science /usr/portage/local/layman/vmware" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d aac acl acpi alsa amd64 apache2 arts berkdb cddb cdr clamav cli cracklib crypt cups dri dts dvd dvdnav dvdr ffmpeg fortran gdbm gif ginac gpm hal hardened iconv ieee1394 imagemagick ipv6 isdnlog jpeg jpeg2k kde kerberos latex midi mmx mp3 mp4 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre perl png pppd python qt4 readline reflection rtf samba sdl session smp spl sse sse2 sse3 ssl tcpd threads tiff unicode usb vim-syntax vorbis xorg 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 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" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
My comment was supposed to be posted to a gltron bug... Not this one. Maybe a bugzilla bug? (In reply to comment #4)
*** This bug has been marked as a duplicate of bug 10735 ***