Closed ajakk closed 1 year ago
Hm. That's not a Portage bug, I guess I misremembered the mask message formatting.
eix intentionally considers versions with different string representations differently, as it is possible to have ebuilds with two such versions on disk. I know that this is strictly speaking a violation of pms, but this seems a reasonable price to me for displaying everything which is on disk.
I don't understand why that makes it make sense to misrepresent the state of package.mask.
It is about the presentation of package versions. Supporting some questionable corner case (naming the version in the ebuild with a different string representation than in the package mask) is not worth to break the whole versioning logic which provides the possibility of having two ebuilds with different string representations of the same version. The latter does perhaps not make sense for a package manager, but it makes sense for a tool which displays the packages and their versions. Sure, with much cumbersome logic one might support this corner case, but it is not worth the effort. Moreover, it is also about speed: Using version comparisons in package.* files is much slower than using a string lookup in a hash table or sorted tree.
eix doesn't see 3.15 of mic-paren as masked:
However, Portage does:
It seems like there's a Portage bug making the actual line of masking not appear above. The actual atom is: