#14387: Fix Cygwin Cython compilation 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/cython.py
> Compiling hello.spyx...
> cp: cannot stat
> `/home/Administrator/.sage/temp/CETGORD_J5FGIPM/7732/spyx/hello/hello.so':
> No such file or directory
> **********************************************************************
> File "/home/sagetest/sage-5.8.beta4/devel/sage-main/sage/misc/cython.py",
> line 695:
>     sage: cython_create_local_so('hello.spyx')
> 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_13[8]>", line 1, in <module>
>         cython_create_local_so('hello.spyx')###line 695:
>     sage: cython_create_local_so('hello.spyx')
>       File "/home/sagetest/sage-5.8.beta4/local/lib/python/site-
> packages/sage/misc/cython.py", line 706, in cython_create_local_so
>         cython(filename, compile_message=True, use_cache=False,
> create_local_so_file=True)
>       File "/home/sagetest/sage-5.8.beta4/local/lib/python/site-
> packages/sage/misc/cython.py", line 554, in cython
>         raise RuntimeError, "Error making local copy of shared object
> library for %s"%filename
>     RuntimeError: Error making local copy of shared object library for
> hello.spyx
> **********************************************************************
> }}}

New description:

 {{{
 sage -t  devel/sage-main/sage/misc/cython.py
 Compiling hello.spyx...
 cp: cannot stat
 `/home/Administrator/.sage/temp/CETGORD_J5FGIPM/7732/spyx/hello/hello.so':
 No such file or directory
 **********************************************************************
 File "/home/sagetest/sage-5.8.beta4/devel/sage-main/sage/misc/cython.py",
 line 695:
     sage: cython_create_local_so('hello.spyx')
 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_13[8]>", line 1, in <module>
         cython_create_local_so('hello.spyx')###line 695:
     sage: cython_create_local_so('hello.spyx')
       File "/home/sagetest/sage-5.8.beta4/local/lib/python/site-
 packages/sage/misc/cython.py", line 706, in cython_create_local_so
         cython(filename, compile_message=True, use_cache=False,
 create_local_so_file=True)
       File "/home/sagetest/sage-5.8.beta4/local/lib/python/site-
 packages/sage/misc/cython.py", line 554, in cython
         raise RuntimeError, "Error making local copy of shared object
 library for %s"%filename
     RuntimeError: Error making local copy of shared object library for
 hello.spyx
 **********************************************************************
 }}}

 Apply [attachment:trac_14387.patch]

--

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