> # emerge -a '>xf86-input-wacom-0.17' > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] x11-drivers/xf86-input-wacom-0.17.0 > > Would you like to merge these packages? [Yes/No] Emerge considers 0.17>0.17.0 - is that correct?
Erratum: "Emerge considers 0.17.0>0.17"
Yes, it's specified by app-doc/pms here: http://dev.gentoo.org/~ulm/pms/5/pms.html#x1-29008r2 Specifically, this part: if Ann > Bnn then return A > B else if Ann < Bnn then return A < B end if
Not a bug. We _define_ the version comparison, and we have chosen that 0.17.0 should be greater than 0.17 because it has more components. (strverscmp(3) makes the same choice, although it differs from our version comparison in other respects.) The motivation to consider these versions as different is that two ebuilds with equal versions (and package name) are not allowed in the tree at the same time. So one wants to have inequality in as many cases as possible.
The workaround is also easy: # emerge -a '>=xf86-input-wacom-0.18'