#6295: [with patch, needs review] build runs sphinx-build even on failure
--------------------+-------------------------------------------------------
 Reporter:  burcin  |       Owner:  burcin    
     Type:  defect  |      Status:  new       
 Priority:  major   |   Milestone:  sage-4.0.2
Component:  build   |    Keywords:            
 Reviewer:          |      Author:            
   Merged:          |  
--------------------+-------------------------------------------------------
 The build process runs sphinx-build even if a package fails to install.
 This hides the real error message from the spkg build.

 This patch to spkg/install fixes the problem:

 {{{
 --- install.old 2009-06-12 08:46:55.000000000 +0200
 +++ install     2009-06-15 11:47:02.000000000 +0200
 @@ -357,6 +357,11 @@

  time make -f standard/deps $1

 +if [ $? -ne 0 ]; then
 +       echo "Error building Sage."
 +       exit 1
 +fi
 +
  #Build the documentation
  rm -rf "$SAGE_ROOT"/devel/sage-main/doc/output/doctrees
  rm -rf "$SAGE_ROOT"/devel/sage-main/doc/en/reference/sage/*
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6295>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to