Hi, The 'app-text/sgml-common-0.6.3-r7' ebuild has a runtime dependency on itself. Even though the ebuild itself has DEPEND and RDEPEND set to "", this runtime dependency gets added by inheriting the sgml-catalog-r1.eclass. This currently doesn't break an emerge of sgml-common, but if portage implements a more strict interpretation of RDEPEND this will break an emerge unless sgml-common is added to the system profile. This can easily be fixed by declaring an variable in the sgml-common ebuild, and putting the RDEPEND statement in the eclass in a conditional statement that checks for that variable, like so: if [[ "${SOME_VAR}" = "yes" ]]; then RDEPEND="..." fi Thanks for looking into this Pieter
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8729279eb1e48f171f86e484610a1fbbd904d67d commit 8729279eb1e48f171f86e484610a1fbbd904d67d Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-11-24 11:25:05 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-11-24 12:26:08 +0000 sgml-catalog-r1.eclass: Do not generate self-dep in sgml-common Closes: https://bugs.gentoo.org/700976 Signed-off-by: Michał Górny <mgorny@gentoo.org> eclass/sgml-catalog-r1.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)