From: Zac Medico Date: Thu, 23 Mar 2006 01:47:30 +0000 (-0000) Subject: Write a message to stderr indicating when install_qa_check fails. See bug #126442. X-Git-Tag: v2.1_pre7~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=baa4669d347947da3de90793663af77f137fbc39;p=portage.git Write a message to stderr indicating when install_qa_check fails. See bug #126442. svn path=/main/trunk/; revision=2973 --- 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