Summary: | sys-apps/portage-2.2.26: Returns exit code 0 when sync aborted | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Paul Varner (RETIRED) <fuzzyray> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, griffon26 |
Priority: | Normal | Keywords: | InVCS |
Version: | 2.2 | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=576282 https://bugs.gentoo.org/show_bug.cgi?id=606588 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 240187, 601054, 611328 |
Description
Paul Varner (RETIRED)
2015-12-03 16:34:30 UTC
The action_sync function always returns 0 because of the options={'return-messages': False} setting here: https://gitweb.gentoo.org/proj/portage.git/tree/pym/_emerge/actions.py?h=portage-2.3.2#n2003 It also exits 0 when unknown repo(s) are specified: !!! Unknown repo(s): foo Bug fixed by commit https://gitweb.gentoo.org/proj/portage.git/commit/?id=f143e58dd3fd80ab67121e7a62e8cf47151d3907. Can someone please close the bug? (In reply to Zac Medico from comment #2) > It also exits 0 when unknown repo(s) are specified: > > !!! Unknown repo(s): foo It still returns 0 in this case. (In reply to Zac Medico from comment #1) > The action_sync function always returns 0 because of the > options={'return-messages': False} setting here: > > https://gitweb.gentoo.org/proj/portage.git/tree/pym/_emerge/actions. > py?h=portage-2.3.2#n2003 This code still needs to be fixed. It's the same area where bug 606588 occurs. This is fixed in the master branch: https://gitweb.gentoo.org/proj/portage.git/commit/?id=79103f99799c9365389290e812213c46e006c019 Fixed in portage-2.3.5. |