few days ago --depclean removed eselect-zig, after todays world update depclean wants to remove zig !!! Error: Can't load module zig * ERROR: dev-lang/zig-0.13.0-r2::gentoo failed (postrm phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called pkg_postrm * environment, line 2796: Called die * The specific snippet of code: * eselect zig update ifunset || die https://projects.gentoo.org/pms/8/pms.html#x1-710008 IDEPEND => "Ebuilds may also call them in pkg_prerm and pkg_postrm but must not rely on them being available." https://bugs.gentoo.org/892539 Reproducible: Always
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32f75feb938e89b1b4c60e261576546ec1a1dbdc commit 32f75feb938e89b1b4c60e261576546ec1a1dbdc Author: Eric Joldasov <bratishkaerik@landless-city.net> AuthorDate: 2025-02-04 16:53:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-16 16:28:11 +0000 dev-lang/zig-bin: do not die on `eselect` in `pkg_postrm` Per PMS: > Ebuilds are allowed to call them in pkg_preinst and pkg_postinst. > Ebuilds may also call them in pkg_prerm and pkg_postrm but must not > rely on them being available. Closes: https://bugs.gentoo.org/949225 Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net> Signed-off-by: Sam James <sam@gentoo.org> dev-lang/zig-bin/zig-bin-0.13.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cbe02e307e7f552415f5bc8ab19dfcd2aecad6e commit 9cbe02e307e7f552415f5bc8ab19dfcd2aecad6e Author: Eric Joldasov <bratishkaerik@landless-city.net> AuthorDate: 2025-02-04 16:51:58 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-16 16:28:11 +0000 dev-lang/zig: do not die on `eselect` in `pkg_postrm` Per PMS: > Ebuilds are allowed to call them in pkg_preinst and pkg_postinst. > Ebuilds may also call them in pkg_prerm and pkg_postrm but must not > rely on them being available. Bug: https://bugs.gentoo.org/949225 Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net> Signed-off-by: Sam James <sam@gentoo.org> dev-lang/zig/zig-0.13.0-r2.ebuild | 2 +- dev-lang/zig/zig-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)