Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 489418

Summary: portage not providing accurate dependency information
Product: Portage Development Reporter: ta2002 <throw_away_2002>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description ta2002 2013-10-26 01:22:24 UTC
This is very frustrating when trying to track down why portage is doing something.

Attempting an upgrade:

# emerge -Dp thunar

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-libs/elfutils-0.149  USE="bzip2 lzma nls zlib" 1,780 kB
[ebuild     U ~] dev-libs/glib-2.36.4-r1:2::gentoo [2.32.4-r1:2::local] USE="-debug (-fam) (-selinux) -static-libs -systemtap {-test} -utils -xattr" PYTHON_TARGETS="-python2_6% -python2_7%" 6,417 kB
[ebuild     U  ] xfce-base/libxfce4util-4.10.0 [4.8.2] USE="-debug" 421 kB
[ebuild     U  ] xfce-base/xfconf-4.10.0 [4.8.1] USE="-debug -perl" 506 kB
[ebuild     U  ] xfce-base/garcon-0.2.0 [0.1.9] USE="-debug" 422 kB
[ebuild     U ~] gnome-base/gvfs-1.14.2 [1.12.3-r1] USE="cdda gphoto2 gtk%* samba udev udisks* -afp -archive -avahi -bluetooth -bluray -doc -fuse -gdu -gnome-keyring -http -ios -systemd%" 1,434 kB
[ebuild     U  ] xfce-base/libxfce4ui-4.10.0 [4.8.1] USE="-debug -glade -startup-notification" 533 kB
[uninstall     ] xfce-base/xfce-utils-4.8.3  USE="dbus lock -debug" 
[blocks b      ] xfce-base/xfce-utils ("xfce-base/xfce-utils" is blocking xfce-base/libxfce4ui-4.10.0)
[ebuild     U  ] xfce-base/exo-0.10.2 [0.6.2] USE="-debug (-python%)" 1,182 kB
[ebuild     U  ] xfce-base/xfce4-panel-4.10.0-r1 [4.8.6] USE="-debug" 1,012 kB
[ebuild     U  ] xfce-base/thunar-1.6.2 [1.2.3] USE="dbus exif pcre udev -debug -libnotify -startup-notification {-test}" XFCE_PLUGINS="trash" 1,908 kB

Total: 10 packages (9 upgrades, 1 new, 1 uninstall), Size of downloads: 15,610 kB
Conflict: 1 block

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by net-wireless/irda-utils-0.9.18-r3
# required by @selected
# required by @world (argument)
=dev-libs/glib-2.36.4-r1 ~x86


But net-wireless/irda has nothing to do with this:

# emerge -Dp irda-utils

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] net-wireless/irda-utils-0.9.18-r3  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


Try tree mode:

# emerge -Dpt thunar

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     U  ] xfce-base/thunar-1.6.2 [1.2.3] USE="dbus exif pcre udev -debug -libnotify -startup-notification {-test}" XFCE_PLUGINS="trash" 1,908 kB
[ebuild     U  ]  xfce-base/xfce4-panel-4.10.0-r1 [4.8.6] USE="-debug" 1,012 kB
[ebuild     U  ]   xfce-base/exo-0.10.2 [0.6.2] USE="-debug (-python%)" 1,182 kB
[nomerge       ] xfce-base/thunar-1.6.2::gentoo [1.2.3::temp] USE="dbus exif pcre udev -debug -libnotify -startup-notification {-test}" XFCE_PLUGINS="trash" 
[nomerge       ]  xfce-base/libxfce4ui-4.10.0 [4.8.1] USE="-debug -glade -startup-notification" 
[blocks b      ]   xfce-base/xfce-utils ("xfce-base/xfce-utils" is blocking xfce-base/libxfce4ui-4.10.0)
[uninstall     ]    xfce-base/xfce-utils-4.8.3  USE="dbus lock -debug" 
[ebuild     U  ]  xfce-base/libxfce4ui-4.10.0 [4.8.1] USE="-debug -glade -startup-notification" 533 kB
[ebuild     U ~]  gnome-base/gvfs-1.14.2 [1.12.3-r1] USE="cdda gphoto2 gtk%* samba udev udisks* -afp -archive -avahi -bluetooth -bluray -doc -fuse -gdu -gnome-keyring -http -ios -systemd%" 1,434 kB
[nomerge       ] xfce-base/xfce4-panel-4.10.0-r1 [4.8.6] USE="-debug" 
[ebuild     U  ]  xfce-base/garcon-0.2.0 [0.1.9] USE="-debug" 422 kB
[ebuild     U  ]  xfce-base/xfconf-4.10.0 [4.8.1] USE="-debug -perl" 506 kB
[ebuild     U  ]   xfce-base/libxfce4util-4.10.0 [4.8.2] USE="-debug" 421 kB
[ebuild     U ~]    dev-libs/glib-2.36.4-r1:2::gentoo [2.32.4-r1:2::local] USE="-debug (-fam) (-selinux) -static-libs -systemtap {-test} -utils -xattr" PYTHON_TARGETS="-python2_6% -python2_7%" 6,417 kB
[ebuild  N     ]     dev-libs/elfutils-0.149  USE="bzip2 lzma nls zlib" 1,780 kB

Total: 10 packages (9 upgrades, 1 new, 1 uninstall), Size of downloads: 15,610 kB
Conflict: 1 block

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by net-wireless/irda-utils-0.9.18-r3
# required by @selected
# required by @world (argument)
=dev-libs/glib-2.36.4-r1 ~x86

This indicates the dependency comes from libxfce4util, but there is nothing there either.

It turns out (not a surprise) that the dependency comes from the one unstable package in there (gnome-base/gvfs - the dependencies required by the gdu USE flag make any version that requires gdu a complete non-starter).

So why can't portage say that dev-libs/glib-2.36.4-r1 is required by gnome-base/gvfs-1.14.2? Listing dependencies seems like one of the most basic functions of portage.

$ emerge -p --info
Portage 2.2.1 (default/linux/x86/13.0/desktop, gcc-4.7.3, glibc-2.15-r3, 3.8.13-gentoo i686)
=================================================================
System uname: Linux-3.8.13-gentoo-i686-Intel-R-_Core-TM-2_CPU_T5600_@_1.83GHz-with-gentoo-2.2
KiB Mem:     2071024 total,    276196 free
KiB Swap:    2056284 total,   2052864 free
Timestamp of tree: Tue, 22 Oct 2013 21:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.2.5-r3
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -mfpmath=sse -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=core2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -mfpmath=sse -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=core2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="R X a52 aac aalib accessibility acoustid acpi additions aio alsa ap asf aspell audio audiofile blksha1 bookmarks bwscheduler bzip2 cairo caps cdda cdio cdr chm chroot client consolekit cracklib crypt css cups cxx dbus device-mapper dga directfb djvu downloadorder dri dvd dvdnav dvdr ebook egl eigen encode espeak exceptions exif expat fam fbcon ffmpeg flac fluidsynth fontconfig fortran gallium gcj gcrypt gecko ggi gif git glib glibc-omitfp gmp gpg gphoto2 gpm gsm gtk handbook hardcoded-tables hddtemp holidays hpn iconv idea imap infowidget inotify iostats ipc ipfilter ipv6 jabber jbig jit joystick jpeg jsbsim kdcraw kmod lame lcms less libass libkms libwww live llvm lm_sensors logviewer lxde lzma mad matroska mbox mdns-bundled memlimit midi minizip mmx mmxext mp3 mp4 mpeg mta mudflap nas ncurses net netapi network nls no-old-linux nodrm nptl ntfsprogs ntp ocamlopt offlinehelp ofx ogg okular opengl openmedia openmp oscar osdmenu p2p pcre pdf pm-utils png policykit portmon ps qt3support quotes raptor readline real recursion-limit redland rss rtc rtmp samba savedconfig scanfolder scanner sdl search secure-delete sensord server shared-glapi shm silc smbclient smtp sndfile sound speex spell sse sse2 sse2check ssl ssse3 stats subversion svg sysfs taglib tcpd theora threads threadsafe tiff tremor truetype udev udisks unicode upnp upower urandom usb userlocales utils video vorbis wav webdav-neon webinterface wifi wps x264 x86 xcb xinerama xklavier xml xmp xpdf-headers xslt xv xvid yahoo zlib zrtp" ABI_X86="32" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_2" PYTHON_TARGETS="python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Zac Medico gentoo-dev 2013-10-26 22:49:22 UTC

*** This bug has been marked as a duplicate of bug 419381 ***