#14386: Fix Cygwin inline fortran issue
-------------------------------------+--------------------------------------
       Reporter:  kcrisman           |         Owner:  tbd         
           Type:  defect             |        Status:  needs_review
       Priority:  major              |     Milestone:  sage-5.9    
      Component:  porting: Cygwin    |    Resolution:              
       Keywords:                     |   Work issues:              
Report Upstream:  N/A                |     Reviewers:              
        Authors:  Jean-Pierre Flori  |     Merged in:              
   Dependencies:                     |      Stopgaps:              
-------------------------------------+--------------------------------------
Changes (by {'newvalue': u'Jean-Pierre Flori', 'oldvalue': ''}):

  * status:  new => needs_review
  * author:  => Jean-Pierre Flori


Old description:

> {{{
> sage -t  devel/sage-main/sage/misc/inline_fortran.py
> **********************************************************************
> File "/home/sagetest/sage-5.8.beta4/devel/sage-
> main/sage/misc/inline_fortran.py", line 29:
>     sage: fortran(_example)
> Exception raised:
>     Traceback (most recent call last):
>       File "/home/sagetest/sage-5.8.beta4/local/bin/ncadoctest.py", line
> 1231, in run_one_test
>         self.run_one_example(test, example, filename, compileflags)
>       File "/home/sagetest/sage-5.8.beta4/local/bin/sagedoctest.py", line
> 38, in run_one_example
>         OrigDocTestRunner.run_one_example(self, test, example, filename,
> compileflags)
>       File "/home/sagetest/sage-5.8.beta4/local/bin/ncadoctest.py", line
> 1172, in run_one_example
>         compileflags, 1) in test.globs
>       File "<doctest __main__.example_1[4]>", line 1, in <module>
>         fortran(_example)###line 29:
>     sage: fortran(_example)
>       File "/home/sagetest/sage-5.8.beta4/local/lib/python/site-
> packages/sage/misc/inline_fortran.py", line 21, in __call__
>         return self.eval(*args, **kwds)
>       File "/home/sagetest/sage-5.8.beta4/local/lib/python/site-
> packages/sage/misc/inline_fortran.py", line 93, in eval
>         raise RuntimeError("failed to compile Fortran code:\n" +
> log_string)
>     RuntimeError: failed to compile Fortran code:
>     Found executable /home/sagetest/sage-5.8.beta4/local/bin/sage-inline-
> fortran
>     gnu: no Fortran 90 compiler found
>  Found executable /usr/bin/ld
>     Found executable /usr/bin/ar
>     Found executable /usr/bin/ranlib
>     gnu: no Fortran 90 compiler found
>
> **********************************************************************
> }}}

New description:

 {{{
 sage -t  devel/sage-main/sage/misc/inline_fortran.py
 **********************************************************************
 File "/home/sagetest/sage-5.8.beta4/devel/sage-
 main/sage/misc/inline_fortran.py", line 29:
     sage: fortran(_example)
 Exception raised:
     Traceback (most recent call last):
       File "/home/sagetest/sage-5.8.beta4/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/home/sagetest/sage-5.8.beta4/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/home/sagetest/sage-5.8.beta4/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_1[4]>", line 1, in <module>
         fortran(_example)###line 29:
     sage: fortran(_example)
       File "/home/sagetest/sage-5.8.beta4/local/lib/python/site-
 packages/sage/misc/inline_fortran.py", line 21, in __call__
         return self.eval(*args, **kwds)
       File "/home/sagetest/sage-5.8.beta4/local/lib/python/site-
 packages/sage/misc/inline_fortran.py", line 93, in eval
         raise RuntimeError("failed to compile Fortran code:\n" +
 log_string)
     RuntimeError: failed to compile Fortran code:
     Found executable /home/sagetest/sage-5.8.beta4/local/bin/sage-inline-
 fortran
     gnu: no Fortran 90 compiler found
  Found executable /usr/bin/ld
     Found executable /usr/bin/ar
     Found executable /usr/bin/ranlib
     gnu: no Fortran 90 compiler found

 **********************************************************************
 }}}

 Apply [attachment:trac_14386.patch]

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14386#comment:6>
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