Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323185 - app-portage/gentoolkit: exit status from emerge is not returned
Summary: app-portage/gentoolkit: exit status from emerge is not returned
Status: RESOLVED DUPLICATE of bug 326923
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-08 13:20 UTC by Manuel Mommertz
Modified: 2010-11-03 15:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Mommertz 2010-06-08 13:20:29 UTC
Exit status of revdep-rebuild is always 0 regardless of success of emerge.

From revdep-rebuild's code:

if (( $(<"$STATUS_FILE") != 0 )); then
...
exit $EMERGE_STATUS

where EMERGE_STATUS is never set. Should be

exit $(<"$STATUS_FILE")

to work.

Reproducible: Always

Steps to Reproduce:
Comment 1 michael@smith-li.com 2010-11-03 15:41:45 UTC
This bug was in first, but there is a lot more detail on the other...

*** This bug has been marked as a duplicate of bug 326923 ***