diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-03-23 01:47:30 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-03-23 01:47:30 +0000 |
commit | baa4669d347947da3de90793663af77f137fbc39 (patch) | |
tree | e40eb5692c6803f71b1f5c7300549b551a6adf4b | |
parent | 4f224ecb5f2bbfcf3384957121b259bc5c9e1fdb (diff) | |
download | portage-baa4669d347947da3de90793663af77f137fbc39.tar.gz portage-baa4669d347947da3de90793663af77f137fbc39.tar.bz2 portage-baa4669d347947da3de90793663af77f137fbc39.zip |
Write a message to stderr indicating when install_qa_check fails. See bug #126442.
svn path=/main/trunk/; revision=2973
-rw-r--r-- | pym/portage.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index 929a541c4..9a3896031 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2357,7 +2357,10 @@ def spawnebuild(mydo,actionmap,mysettings,debug,alwaysdep=0,logfile=None): if phase_retval == os.EX_OK: if mydo == "install": mycommand = " ".join([MISC_SH_BINARY, "install_qa_check"]) - return spawn(mycommand, mysettings, debug=debug, logfile=logfile, **kwargs) + qa_retval = spawn(mycommand, mysettings, debug=debug, logfile=logfile, **kwargs) + if qa_retval: + writemsg("!!! install_qa_check failed; exiting.\n") + return qa_retval return phase_retval # chunked out deps for each phase, so that ebuild binary can use it |