Some packages like media-libs/elementary-1.17.0 set KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-interix ~x86-solaris ~x64-solaris amd64 x86" (in part via the eclass, but that is handled in bug 486392) https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/elementary/elementary-1.17.0.ebuild?id=dc476a8696977481fd245254220c1ad334dd8287 This apparently confuses ekeywords, who considers this package unstable, while emerge and eix consider it stable. repoman considers it unstable too. PMS section 7.3.2 doesn't explicitly allow or forbid multiple keywords for the same arch.
If the stable keyword is present, it should be safe for tools to ignore the corresponding unstable keyword, but we probably want repoman to at least give a warning message.
I think I experienced the same issue with enalyze, for example, `enalyze rebuild keywords` returns "app-misc/ranger ~amd64" among other things. This doesn't make any sense because app-misc/ranger is stable, but when looking at the ebuild the keywords are "amd64 ~ppc ~riscv x86".
(In reply to Diego Viola from comment #2) > I think I experienced the same issue with enalyze, for example, `enalyze > rebuild keywords` returns "app-misc/ranger ~amd64" among other things. > > This doesn't make any sense because app-misc/ranger is stable, but when > looking at the ebuild the keywords are "amd64 ~ppc ~riscv x86". I am unable to reproduce this on a fresh (stable) Gentoo install now.
I read that the tool will "show you what WAS installed, and then what WOULD be installed"... so this makes sense, I switched to ~amd64 (globally) and back several times, so if this is true, it makes sense why it appeared ~amd64 for app-misc/ranger and other packages.
(In reply to Diego Viola from comment #3) > (In reply to Diego Viola from comment #2) > > I think I experienced the same issue with enalyze, for example, `enalyze > > rebuild keywords` returns "app-misc/ranger ~amd64" among other things. > > > > This doesn't make any sense because app-misc/ranger is stable, but when > > looking at the ebuild the keywords are "amd64 ~ppc ~riscv x86". > > I am unable to reproduce this on a fresh (stable) Gentoo install now. I am able to reproduce this after bumping e.g. /var/db/pkg/app-misc/ranger-1.9.3-r1/KEYWORDS (amd64 -> ~amd64).
Sorry for the confusion but I had a similar issue with enalyze, for some reason I assumed it was the same issue as this one, apparently it isn't. I can't reproduce this bug.