#20258: giacpy does not build on 7.1
-------------------------------------+-------------------------------------
       Reporter:  tmonteil           |        Owner:
           Type:  defect             |       Status:  positive_review
       Priority:  critical           |    Milestone:  sage-
      Component:  packages:          |  duplicate/invalid/wontfix
  optional                           |   Resolution:
       Keywords:                     |    Merged in:
        Authors:                     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by mmarco):

 I am getting this error when i try to install giacpy:

 {{{
 sage-logger 'sage-spkg  giacpy-0.5.5'
 '/home/mmarco/sage/logs/pkgs/giacpy-0.5.5.log'
 Found local metadata for giacpy-0.5.5
 Using cached file /home/mmarco/sage/upstream/giacpy-0.5.5.tar.gz
 giacpy-0.5.5
 ====================================================
 Setting up build directory for giacpy-0.5.5
 Finished set up
 ****************************************************
 Host system:
 Linux neumann 4.1.15-gentoo-r1 #1 SMP PREEMPT Wed Jan 27 20:58:07 CET 2016
 x86_64 Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz GenuineIntel GNU/Linux
 ****************************************************
 C compiler: gcc
 C compiler version:
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/home/mmarco/sage/local/libexec/gcc/x86_64-unknown-
 linux-gnu/4.9.3/lto-wrapper
 Target: x86_64-unknown-linux-gnu
 Configured with: ../src/configure --prefix=/home/mmarco/sage/local --with-
 local-prefix=/home/mmarco/sage/local --with-gmp=/home/mmarco/sage/local
 --with-mpfr=/home/mmarco/sage/local --with-mpc=/home/mmarco/sage/local
 --with-system-zlib --disable-multilib --disable-nls --enable-
 languages=c,c++,fortran --disable-libitm
 Thread model: posix
 gcc version 4.9.3 (GCC)
 ****************************************************
 Deleting /home/mmarco/sage/local/lib/python/site-packages/giacpy*

 Error compiling Cython file:
 ------------------------------------------------------------
 ...
      g=(g*M+gen(<long long>i))
      a=a-(i<<size)

    g=g*gen(<long long>(1<<size))+gen(<long long> a)
    if aneg:
      g=-g
       ^
 ------------------------------------------------------------

 giacpy.pyx:5112:7: Invalid operand type for '-' (gen)
 Compiling giacpy.pyx because it changed.
 [1/1] Cythonizing giacpy.pyx
 Traceback (most recent call last):
   File "setup.py", line 47, in <module>
     language="c++")], include_path=include_path
   File "/home/mmarco/sage/local/lib/python2.7/site-
 packages/Cython-0.24-py2.7-linux-x86_64.egg/Cython/Build/Dependencies.py",
 line 912, in cythonize
     cythonize_one(*args)
   File "/home/mmarco/sage/local/lib/python2.7/site-
 packages/Cython-0.24-py2.7-linux-x86_64.egg/Cython/Build/Dependencies.py",
 line 1034, in cythonize_one
     raise CompileError(None, pyx_file)
 Cython.Compiler.Errors.CompileError: giacpy.pyx

 real    0m3.364s
 user    0m3.251s
 sys     0m0.131s

 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/20258#comment:7>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to