Simple issue here. Even if depclean is unsuccessful, it returns success. # emerge --quiet -cpv glibc && echo "removed glibc!" sys-libs/glibc-2.35-r7 pulled in by: dev-java/openjdk-bin-11.0.15_p10 requires >=sys-libs/glibc-2.2.5:* dev-java/openjdk-bin-17.0.3_p7 requires >=sys-libs/glibc-2.2.5:* dev-java/openjdk-bin-8.332_p09 requires >=sys-libs/glibc-2.2.5:* games-util/steam-launcher-1.0.0.74-r1 requires >=sys-libs/glibc-2.15[multilib] net-im/discord-bin-0.0.18 requires sys-libs/glibc sys-devel/gcc-11.3.0 requires sys-libs/glibc sys-libs/libxcrypt-4.4.28-r1 requires sys-libs/glibc[-crypt(+)] virtual/libc-1-r1 requires sys-libs/glibc:2.2 www-client/chromium-bin-102.0.5005.115 requires >=sys-libs/glibc-2.32 removed glibc! Here, I attempted to depclean glibc, and emerge returned as if the operation was successful.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=9ab9368c3324d615f1234d1ccb03eae939c393cf commit 9ab9368c3324d615f1234d1ccb03eae939c393cf Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2022-06-15 22:11:17 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2022-06-17 17:01:49 +0000 depclean: return failure when requested packages aren't depcleaned Closes: https://bugs.gentoo.org/851750 Closes: https://github.com/gentoo/portage/pull/840 Signed-off-by: John Helmert III <ajak@gentoo.org> Signed-off-by: Mike Gilbert <floppym@gentoo.org> lib/_emerge/actions.py | 5 +++++ 1 file changed, 5 insertions(+)