Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459340 - sys-apps/portage-2.2.0_alpha163 - binpkg's dependencies are weighted too important
Summary: sys-apps/portage-2.2.0_alpha163 - binpkg's dependencies are weighted too impo...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-26 18:19 UTC by Dennis Schridde
Modified: 2013-02-26 18:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --debug log, xz compressed (debug.20130226.log.xz,55.97 KB, application/x-xz)
2013-02-26 18:20 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2013-02-26 18:19:18 UTC
A binpkg that was scheduled to emerge (x11-misc/shared-mime-info-1.0) still had an old direct dependency on dev-util/pkgconfig (instead of virtual/pkgconfig). This resulted in portage wanting to install that, and uninstall dev-util/pkgconf.

Why do I think that is wrong?
* The current x11-misc/shared-mime-info-1.0 ebuild is satisfied by virtual/pkgconfig - hence rebuilding the binpkg would have been a solution
* pkgconf is already installed.
* pkgconfig was masked by me.

This problem was made particularly hard to figure out, because of bug #419381 and bug #444894, which result in the autounmask and --tree output being very misleading and unhelpful (and which also show 2 completely different dependency paths!). Only adding pkgconf to @world (emerge --noreplace ...) made the actual problem appear:

Calculating dependencies  ....... done!
[binary  N     ] dev-libs/elfutils-0.149  USE="bzip2 lzma nls zlib" 
[binary  N     ] dev-libs/glib-2.32.4-r1  USE="-debug (-fam) (-selinux) -static-libs (-systemtap) {-test} -utils -xattr" 
[binary  N     ] x11-misc/shared-mime-info-1.0 
[ebuild  N    #] dev-util/pkgconfig-0.28  USE="hardened -internal-glib" 
[binary  N     ] dev-util/gtk-doc-am-1.18 
[ebuild     U  ] dev-libs/libxml2-2.9.0-r2 [2.8.0-r3] PYTHON_TARGETS="python2_7%* -python2_5% -python2_6%" 
[ebuild     U  ] dev-db/sqlite-3.7.15.2 [3.7.14.1] USE="-static-libs%" 
[ebuild     U #] sys-devel/gcc-4.7.2-r1 [4.7.2]
[ebuild     U  ] sys-apps/sysvinit-2.88-r4 [2.88-r3]
[ebuild     U  ] sys-apps/util-linux-2.22.2 [2.21.2]
[blocks b      ] <sys-apps/util-linux-2.22 ("<sys-apps/util-linux-2.22" is blocking sys-apps/sysvinit-2.88-r4)
[blocks B      ] dev-util/pkgconfig ("dev-util/pkgconfig" is blocking dev-util/pkgconf-0.8.9)
[blocks B      ] dev-util/pkgconf[pkg-config] ("dev-util/pkgconf[pkg-config]" is blocking dev-util/pkgconfig-0.28)
 
 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.
 
  (dev-util/pkgconfig-0.28::gentoo, ebuild scheduled for merge) pulled in by
    dev-util/pkgconfig required by (dev-util/gtk-doc-am-1.18::gentoo, binary scheduled for merge)
    >=dev-util/pkgconfig-0.27.1 required by (virtual/pkgconfig-0::gentoo, installed)
    dev-util/pkgconfig required by (x11-misc/shared-mime-info-1.0::gentoo, binary scheduled for merge)
 
  (dev-util/pkgconf-0.8.9::gentoo, installed) pulled in by
    dev-util/pkgconf required by @selected
 
 
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
 
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
 
 
The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
#required by virtual/pkgconfig-0, required by sys-cluster/vzctl-4.1.2-r1, required by @selected, required by @world (argument)
# /etc/portage/package.mask/pkgconfig:
=dev-util/pkgconfig-0.28
 
NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.
 
Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

Reproducible: Always
Comment 1 Dennis Schridde 2013-02-26 18:20:10 UTC
Created attachment 340208 [details]
emerge --debug log, xz compressed