#12375: Create a giac package
-------------------------------------+-------------------------------------
       Reporter:  frederichan        |        Owner:  tbd
           Type:  enhancement        |       Status:  needs_work
       Priority:  minor              |    Milestone:  sage-6.8
      Component:  packages:          |   Resolution:
  optional                           |    Merged in:
       Keywords:  giac               |    Reviewers:  Dima Pasechnik,
        Authors:  Han Frederic       |  Jeroen Demeyer
Report Upstream:  N/A                |  Work issues:
         Branch:  public/giac_spkg   |       Commit:
   Dependencies:                     |  2e5cd0ee3dc0df98cbb1d1f5a1a3dc9cc0d1a62a
                                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by frederichan):

 I don't have problems when building from master, but when building from
 yesterday develop+trac18666 I have the following error. (I am doing in
 giacpy.pyx: include 'sage/ext/interrupt.pxi')
 {{{
 gcc version 4.9.2 20141101 (Red Hat 4.9.2-1) (GCC)
 ****************************************************
 Deleting /home/fred/dev/sage/local/lib/python/site-packages/giacpy*
 running install
 running build
 running build_ext
 cythoning giacpy.pyx to giacpy.cpp
 building 'giacpy' extension
 creating build
 creating build/temp.linux-x86_64-2.7
 gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC
 -I/home/fred/dev/sage/local/include -I/home/fred/dev/sage/src
 -I/home/fred/dev/sage/src/sage/ext
 -I/home/fred/dev/sage/local/include/csage
 -I/home/fred/dev/sage/local/include/python2.7 -c giacpy.cpp -o build/temp
 .linux-x86_64-2.7/giacpy.o
 In file included from /home/fred/dev/sage/local/include/giac/poly.h:25:0,
                  from /home/fred/dev/sage/local/include/giac/giac.h:5,
                  from giacpy.cpp:256:
 /home/fred/dev/sage/local/include/giac/index.h:33:0: warning: ignoring
 #pragma anon_unions  [-Wunknown-pragmas]
  #pragma anon_unions
  ^
 giacpy.cpp:2359:0: warning: "_signals" redefined
  #define _signals (*__pyx_vp_4sage_3ext_9interrupt_9interrupt__signals)
  ^
 In file included from
 /home/fred/dev/sage/src/sage/ext/interrupt/pxi.h:7:0,
                  from giacpy.cpp:263:
 
/home/fred/dev/sage/src/build/cythonized/sage/ext/interrupt/interrupt_api.h:16:0:
 note: this is the location of the previous definition
  #define _signals
 (*__pyx_api_vp_4sage_3ext_9interrupt_9interrupt__signals)
  ^
 giacpy.cpp: In function 'int __pyx_import_star_set(PyObject*, PyObject*,
 char*)':
 giacpy.cpp:134047:55: error: '__pyx_convert__from_py_sage_signals_t' was
 not declared in this scope
      _signals = __pyx_convert__from_py_sage_signals_t(o); if
 (PyErr_Occurred()) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 45;
 __pyx_clineno = __LINE__; goto __pyx_L2_error;};

 }}}
 NB:at line 134047 the giacpy.cpp have the following code that is not in
 the old one:
 {{{
   else if (__Pyx_StrEq(name, "_signals")) {
     _signals = __pyx_convert__from_py_sage_signals_t(o); if
 (PyErr_Occurred()) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 45;
 __pyx_clineno = __LINE__; goto __pyx_L2_error;};
   }
 }}}

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

Reply via email to