Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565164 - =sys-apps/portage-2.2.24 Resolver issue due to sys-apps/portage conflict
Summary: =sys-apps/portage-2.2.24 Resolver issue due to sys-apps/portage conflict
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Blocks: 300071
  Show dependency tree
Reported: 2015-11-08 20:33 UTC by Brian Dolbec
Modified: 2015-11-08 21:05 UTC (History)
1 user (show)

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

emerge --debug output (paludis.debug.xz,454.15 KB, application/octet-stream)
2015-11-08 20:37 UTC, Brian Dolbec

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Dolbec gentoo-dev 2015-11-08 20:33:05 UTC
After merging portage from a local overly during making of the 2.2.24 release.  A later emerge --sync, emerge -uDNVa --changed-use --changed-deps @world was bringing in paludis.

Adding -t to the run, it was brought in by perl-cleaner.

emerge -pv portage portage-utils just wants to rebuild the 2 installed pkgs, but showed the conflict/skipped upgrades.

Masking only paludis, then repeating the run, resolved fine, no portage or pkgcore pkgs were brought into the merge list.

All this while sys-apps/pkgcore had a stable ebuild (-0.9.2) available from my work overlay.

So, why did it want paludis instead of the installed portage/portage-utils and even before pkgcore???

perl-cleaner deps have:
	|| (
		( sys-apps/portage app-portage/portage-utils )

Reproducible: Always
Comment 1 Brian Dolbec gentoo-dev 2015-11-08 20:37:02 UTC
Created attachment 416316 [details]
emerge --debug output
Comment 2 Brian Dolbec gentoo-dev 2015-11-08 20:38:52 UTC
original tree output  (relevant section only)

ebuild     U  ]   x11-apps/xkbcomp-1.3.1::gentoo [1.3.0::gentoo] 242 KiB
[ebuild     U  ] sys-apps/iproute2-4.3.0::gentoo [4.2.0::gentoo] USE="berkdb iptables ipv6 -atm -minimal (-selinux)" 514 KiB
[nomerge       ] xfce-base/xfce4-meta-4.12::gentoo  USE="svg -minimal" 
[nomerge       ]  xfce-base/xfce4-session-4.12.1::gentoo  USE="nls policykit upower xscreensaver -debug -systemd" 
[nomerge       ]   x11-misc/xscreensaver-5.34::gentoo  USE="jpeg opengl pam perl -gdm -new-login (-selinux) -suid -xinerama" 
[nomerge       ]    dev-perl/libwww-perl-6.50.0::gentoo  USE="ssl" 
[nomerge       ]     dev-perl/HTTP-Cookies-6.0.1-r1::gentoo 
[nomerge       ]      dev-perl/HTTP-Message-6.60.0-r1::gentoo 
[nomerge       ]       virtual/perl-Compress-Raw-Zlib-2.68.0::gentoo 
[nomerge       ]        dev-lang/perl-5.22.0:0/5.22::gentoo  USE="berkdb gdbm -debug -doc -ithreads" 
[nomerge       ]         app-admin/perl-cleaner-2.20::gentoo 
[nomerge       ]          sys-apps/paludis-2.4.0::gentoo  USE="python xml -doc -pbins -pink -ruby -search-index {-test}" PYTHON_TARGETS="python2_7" 
[ebuild  N     ]           app-text/htmltidy-20090325-r1::gentoo  USE="-debug -doc -static-libs" 387 KiB

and emerge portage portage-utils:

professor-x portage # emerge -ptv sys-apps/portage app-portage/portage-utils
!!! Repository 'gentoo-guis' has sync-type attribute, but is missing sync-uri attribute

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

Calculating dependencies... done!
[ebuild   R    ] sys-apps/portage-2.2.24::gentoo-guis  USE="(ipc) xattr -build -doc -epydoc (-selinux)" LINGUAS="-ru" PYTHON_TARGETS="python2_7 python3_3 python3_4 python3_5 -pypy" 0 KiB
[ebuild   R    ] app-portage/portage-utils-0.56::gentoo  USE="nls -static" 0 KiB

Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:


  (sys-apps/portage-9999:0/0::gentoo, ebuild scheduled for merge) conflicts with
    sys-apps/portage::gentoo-guis required by @selected

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

professor-x portage #
Comment 3 Brian Dolbec gentoo-dev 2015-11-08 21:05:09 UTC
commenting out the paludis mask, and removing the sys-apps/portage::gentoo-guis entry from world resulted in a far different tree output.

[nomerge       ] xfce-base/xfce4-meta-4.12::gentoo  USE="svg -minimal" 
[nomerge       ]  xfce-base/xfce4-settings-4.12.0-r1::gentoo  USE="libnotify upower xklavier -debug -libcanberra -libinput" 
[nomerge       ]   x11-libs/libxklavier-5.3::gentoo  USE="introspection -doc" 
[nomerge       ]    x11-misc/xkeyboard-config-2.16::gentoo 
[ebuild     U  ]     x11-apps/xkbcomp-1.3.1::gentoo [1.3.0::gentoo] 242 KiB

It now wants to merge 61 pkgs instead of 62.

hmm, searching the original merge list, there were three pkgs pulling in paludis.

virtual/package-manager, python-updater and perl-cleaner.

The first 2 put paludis as second choice, only perl-cleaner put pkgcore as second.

But, with only paludis masked, why then did it not add pkgcore to the list, following the same logic why it added paludis over the installed portage.