#12568: make doesn't work properly for targets 'test' and 'micro_release'
----------------------+-----------------------------------------------------
   Reporter:  itaibn  |          Owner:  GeorgSWeber            
       Type:  defect  |         Status:  new                    
   Priority:  major   |      Milestone:  sage-5.0               
  Component:  build   |       Keywords:  make test micro_release
Work_issues:          |       Upstream:  N/A                    
   Reviewer:          |         Author:                         
     Merged:          |   Dependencies:                         
----------------------+-----------------------------------------------------
 I am using sage 4.8 with GNU make 3.81. When I am in `SAGE_ROOT`, if I
 type the commands `make test` or `make micro_release`, the shell returns
 an error. For `make micro_release`, the it returns the following output:
 {{{
 . local/bin/sage-env && local/bin/sage-micro_release
 local/bin/sage-env: 289: Bad substitution
 mkdir: cannot create directory `//matplotlib-1.0.1': Permission denied
 local/bin/sage-env: 475: Syntax error: "(" unexpected
 make: *** [micro_release] Error 2
 }}}
 For `make test`, it returns a longer output which ends with:
 {{{
 . local/bin/sage-env && sage-maketest
 local/bin/sage-env: 289: Bad substitution
 mkdir: cannot create directory `//matplotlib-1.0.1': Permission denied
 local/bin/sage-env: 475: Syntax error: "(" unexpected
 make: *** [test] Error 2
 }}}
 The problem appears to be because make runs each command as a sh script,
 but that sage-env is a bash script. A similar error message appears if I
 type `. local/bin/sage-env` in interactive sh.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12568>
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 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