Summary: | sys-apps/portage: emerge --depclean returns exit code 0 on failure | ||
---|---|---|---|
Product: | Portage Development | Reporter: | lexofleviafan |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ajak |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=851750 https://bugs.gentoo.org/show_bug.cgi?id=688052 https://bugs.gentoo.org/show_bug.cgi?id=409647 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 919862 | ||
Bug Blocks: | |||
Attachments: | emerge --info output |
Description
lexofleviafan
2023-11-10 12:47:54 UTC
Please include emerge --info. Created attachment 874469 [details]
emerge --info output
Thanks. I was sure this was nailed down in bug 851750. Ah, seems bug 851750 was intended more for the "unsuccess" case where something was definitely pulled in to depclean, but not where no package was ever even selected. Agh, sorry, missed the bug tag: commit b7e35beaa4168b315ad3ae294b71706d24c795b0 Author: John Helmert III <ajak@gentoo.org> Date: Wed Nov 15 19:45:14 2023 -0800 depclean: return failure when no packages are selected for depclean Based on the preceding writemsg, one might think that this function could be used for more than depcleans, but there's no other reference to it in the codebase. With this patch: $ sudo ./bin/emerge --debug --verbose --depclean foo; echo $? myaction depclean myopts {'--debug': True, '--binpkg-respect-use': 'y', '--quiet-build': 'y', '--regex-search-auto': 'y', '--verbose': True} [DEBUG] Using selector: EpollSelector Signed-off-by: John Helmert III <ajak@gentoo.org> The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1f19cdd7a598070b7eb08b3954e677aa4868ad commit 0a1f19cdd7a598070b7eb08b3954e677aa4868ad Author: Sam James <sam@gentoo.org> AuthorDate: 2023-12-27 21:27:55 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-27 21:28:01 +0000 sys-apps/portage: add 3.0.59 Closes: https://bugs.gentoo.org/587088 Closes: https://bugs.gentoo.org/822033 Closes: https://bugs.gentoo.org/915494 Closes: https://bugs.gentoo.org/916135 Closes: https://bugs.gentoo.org/917120 Closes: https://bugs.gentoo.org/919862 Closes: https://bugs.gentoo.org/920095 Closes: https://bugs.gentoo.org/920258 Closes: https://bugs.gentoo.org/920537 Closes: https://bugs.gentoo.org/920654 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-3.0.59.ebuild | 246 +++++++++++++++++++++++++++++++++ 2 files changed, 247 insertions(+) |