Write a message to stderr indicating when install_qa_check fails. See bug #126442.
authorZac Medico <zmedico@gentoo.org>
Thu, 23 Mar 2006 01:47:30 +0000 (01:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 23 Mar 2006 01:47:30 +0000 (01:47 -0000)
svn path=/main/trunk/; revision=2973

pym/portage.py

index 929a541c4d37f9ccd299efc7f78e0f512e9af136..9a3896031b516e3456d16f17b430d26c72c59890 100644 (file)
@@ -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