n22 ~ # emerge -u xorg-server
These are the packages that would be merged, in reverse order:
Calculating dependencies ... ............. ......... done!
WARNING: One or more updates have been skipped due to a dependency conflict:
(x11-proto/fontsproto-2.1.3::gentoo, ebuild scheduled for merge) conflicts with
<x11-proto/fontsproto-2.1.3 required by (x11-libs/libXfont-1.4.8::gentoo, installed)
!!! The following update(s) have been skipped due to unsatisfied dependencies
!!! triggered by backtracking:
>>> Recording x11-base/xorg-server in "world" favorites file...
This shouldn't happen at a stable x86, or ?
there are no ERRORs in your paste.
emerge rejected to update xorg-server- but added that atom to the world file.
That's wrong, or ?
emerge -uDN @world is required.
(In reply to Alex Xu (Hello71) from comment #3)
> emerge -uDN @world is required.
That issue happen when I added ~x11-base/xorg-server-1.16.0 to package.accept_keywords, but that's not the main point.
The main point is, that portage skipped the upgrade of a package due to missing dependencies but despite that it added that package to the world file - that's wrong IMO and independent from @world.
assigning, but I'm pretty sure it's invalid.
I don't know. There's nothing wrong with adding it to @world if a package satisfying the atom is installed (some version of xorg-server in your case). However, I'm not really convinced that emerge should write world changes on failure.
(In reply to Michał Górny from comment #6)
> I don't know. There's nothing wrong with adding it to @world if a package
> satisfying the atom is installed (some version of xorg-server in your case).
> However, I'm not really convinced that emerge should write world changes on
Given the existing logic, it's not really considered a failure because the highest possible version of xorg-server is already installed (given that we don't want to break that libXfont/fontsproto dependency). If the user wants a newer xorg-server, then they need to use --deep (perhaps emerge should suggest that). Also, if you don't want things added to the world file, you should use --oneshot (or set --select=n in EMERGE_DEFAULT_OPTS).