#8773: GCC-4.5.0 breaks GAP -- the workspace is broken, hence gap('2+2') fails.
-----------------------+----------------------------------------------------
   Reporter:  was      |       Owner:  GeorgSWeber
       Type:  defect   |      Status:  new        
   Priority:  blocker  |   Milestone:  sage-4.4.1 
  Component:  build    |    Keywords:             
     Author:           |    Upstream:  N/A        
   Reviewer:           |      Merged:             
Work_issues:           |  
-----------------------+----------------------------------------------------
 If you build GAP as part of sage-4.4 with GCC-4.5.0 (on lena):
 {{{
 [wst...@lena sage-4.4]$ ./sage
 ----------------------------------------------------------------------
 | Sage Version 4.4, Release Date: 2010-04-24                         |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 sage: gap('2+3')
 A workspace appears to have been corrupted... automatically rebuilding
 (this is harmless).
 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)

 /home/wstein/screen/lena/sage-4.4/<ipython console> in <module>()

 /home/wstein/screen/lena/sage-4.4/local/lib/python2.6/site-
 packages/sage/interfaces/expect.pyc in __call__(self, x, name)
    1030
    1031         if isinstance(x, basestring):
 -> 1032             return cls(self, x, name=name)
    1033         try:
    1034             return self._coerce_from_special_method(x)

 /home/wstein/screen/lena/sage-4.4/local/lib/python2.6/site-
 packages/sage/interfaces/expect.pyc in __init__(self, parent, value,
 is_name, name)
    1449             except (TypeError, KeyboardInterrupt, RuntimeError,
 ValueError), x:
    1450                 self._session_number = -1
 -> 1451                 raise TypeError, x
    1452         self._session_number = parent._session_number
    1453

 TypeError: Unable to start gap
 sage: gap('2+3')
 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)

 /home/wstein/screen/lena/sage-4.4/<ipython console> in <module>()

 /home/wstein/screen/lena/sage-4.4/local/lib/python2.6/site-
 packages/sage/interfaces/expect.pyc in __call__(self, x, name)
    1030
    1031         if isinstance(x, basestring):
 -> 1032             return cls(self, x, name=name)
    1033         try:
    1034             return self._coerce_from_special_method(x)

 /home/wstein/screen/lena/sage-4.4/local/lib/python2.6/site-
 packages/sage/interfaces/expect.pyc in __init__(self, parent, value,
 is_name, name)
    1449             except (TypeError, KeyboardInterrupt, RuntimeError,
 ValueError), x:
    1450                 self._session_number = -1
 -> 1451                 raise TypeError, x
    1452         self._session_number = parent._session_number
    1453

 TypeError: Unable to start gap
 }}}

 Exactly the same thing works fine with Sage-4.3.3 built using GCC-4.4.x on
 lena:
 {{{
 [wst...@lena sage-4.4]$ ../sage-4.3.3/sage
 ----------------------------------------------------------------------
 | Sage Version 4.3.3, Release Date: 2010-02-21                       |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 sage: gap('2+3')
 5
 }}}

 Deleting workspaces, etc., doesn't help.   The GAP spkg is unchanged
 between these two versions of Sage.

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