#13864: Configure Python with  pydebug when SAGE_DEBUG is set
----------------------------------------------------------------------------------------------------------------------------------+
       Reporter:  jpflori                                                       
                                                  |         Owner:  jason       
                    
           Type:  task                                                          
                                                  |        Status:  
positive_review                 
       Priority:  major                                                         
                                                  |     Milestone:  sage-5.7    
                    
      Component:  misc                                                          
                                                  |    Resolution:              
                    
       Keywords:  python spkg                                                   
                                                  |   Work issues:  make sure 
Sage builds and starts
Report Upstream:  N/A                                                           
                                                  |     Reviewers:  Volker 
Braun, Simon King        
        Authors:  Jean-Pierre Flori                                             
                                                  |     Merged in:              
                    
   Dependencies:  #10352, #13832, #13865, #13867, #13868, #13876, #13878, 
#13882, #13883, #13889, #13896, #13921, #14059, #14067  |      Stopgaps:        
                          
----------------------------------------------------------------------------------------------------------------------------------+
Changes (by SimonKing):

  * status:  needs_work => positive_review
  * reviewer:  Volker Braun => Volker Braun, Simon King
  * dependencies:  #10352, #13832, #13865, #13867, #13868, #13876, #13878,
                   #13882, #13883, #13889, #13896,
                   #13921, #14059 => #10352, #13832,
                   #13865, #13867, #13868, #13876,
                   #13878, #13882, #13883, #13889,
                   #13896, #13921, #14059, #14067
  * milestone:  sage-pending => sage-5.7


Old description:

> Instructions for getting a debug version of Python:
>
> * Download and untar sage-5.7.beta2
> * Copy the Python spkg from #13867 to spkg/standard and (to be on the
> safe side) remove the previously present Python spkg
> * Run
>   {{{
> export SAGE_DEBUG=yes
> make
>   }}}
>   and wait.
> * (optionally) install the gdb spkg from #13866
> * Apply the patches from #13878 and #14059 to the Sage library
> * Run `sage -br`
>
> This gives you a Sage version that starts up and should pass tests. If it
> doesn't, we just found some bugs ;-)

New description:

 Instructions for getting a debug version of Python:

 * Download and untar sage-5.7.beta2
 * Copy the Python spkg from #13867 to spkg/standard and (to be on the safe
 side) remove the previously present Python spkg
 * Run
   {{{
 export SAGE_DEBUG=yes
 make
   }}}
   and wait.
 * (optionally) install the gdb spkg from #13866
 * Apply the patches from #13878, #14059 and #14067 to the Sage library
 * Run `sage -br`

 This gives you a Sage version that passes all tests, even with
 MALLOC_CHECK_=3.

--

Comment:

 Even though in generic_graph is triggered my MALLOC_CHECK_=3 and not by
 the debug version, I think it won't hurt to add to add #14067 as a
 dependency, since running tests with MALLOC_CHECK_=3 is (at least for me)
 associated with debugging.

 Moreover:
 {{{
 sage -t -force_lib "devel/sage/doc/en/bordeaux_2008/birds_other.rst"
          [318.2 s]

 ----------------------------------------------------------------------
 All tests passed!
 }}}

 Hence, from my perspective, this ticket can be resolved as "fixed", as
 soon as all dependencies are merged. Since no patch will be merged from
 here, I suppose it has no author.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13864#comment:124>
Sage <http://www.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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to