Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#11348 closed defect (fixed)

maxima test fails when install tree is moved

Reported by: Mariah Lennox Owned by: tdb
Priority: blocker Milestone: sage-4.7
Component: relocation Keywords: maxima spkg
Cc: Merged in: sage-4.7.rc3
Authors: Jeroen Demeyer Reviewers: Mariah Lenox
Report Upstream: Reported upstream. Little or no feedback. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by Jeroen Demeyer)

The following test fails when the sage-4.7.rc2 install tree is moved.

eno% ./sage
----------------------------------------------------------------------
| Sage Version 4.7.rc2, Release Date: 2011-05-11                     |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
**********************************************************************
*                                                                    *
* Warning: this is a prerelease version, and it may be unstable.     *
*                                                                    *
**********************************************************************
The Sage install tree may have moved
(from /home/mariah/sage/sage-4.7.rc2-x86_64-Linux-core2-fc to /home/mariah/sage/sage-4.7.rc2-x86_64-Linux-core2-fc-work-maximabug)
Changing various hardcoded paths
(please wait at most a few minutes)...
Do not interrupt this.
Done resetting paths
sage: quit;
Exiting Sage (CPU time 0m0.06s, Wall time 0m9.55s).
Exiting spawned Gap process.
eno% ./sage -t -long -force_lib "devel/sage/sage/interfaces/maxima.py"
sage -t -long -force_lib "devel/sage/sage/interfaces/maxima.py"
**********************************************************************
File "/home/mariah/sage/sage-4.7.rc2-x86_64-Linux-core2-fc-work-maximabug/devel/sage/sage/interfaces/maxima.py", line 899:
    sage: maxima._command_runner('describe', 'gcd')
Expected:
    -- Function: gcd (<p_1>, <p_2>, <x_1>, ...)
    ...
Got:
    Maxima encountered a Lisp error:
    <BLANKLINE>
     Filesystem error with pathname #P"/home/mariah/sage/sage-4.7.rc2-x86_64-Linux-core2-fc-work-maximabug/local/info/maxima-index.lisp".
    Either
     1) the file does not exist, or
     2) we are not allow to access the file, or
     3) the pathname points to a broken symbolic link.
    <BLANKLINE>
    Automatically continuing.
    To enable the Lisp debugger set *debugger-hook* to nil.
    <BLANKLINE>
**********************************************************************
[...]

Patch reported upstream: http://www.math.utexas.edu/pipermail/maxima/2011/025146.html

New spkg: http://boxen.math.washington.edu/home/jdemeyer/spkg/maxima-5.23.2.p0.spkg

Attachments (1)

maxima-5.23.2.p0.diff (2.0 KB) - added by Jeroen Demeyer 12 years ago.
Diff for the maxima spkg, for reviewing only

Download all attachments as: .zip

Change History (10)

comment:1 Changed 12 years ago by Mariah Lennox

Type: PLEASE CHANGEdefect

comment:2 Changed 12 years ago by Mariah Lennox

Description: modified (diff)

comment:3 Changed 12 years ago by Jeroen Demeyer

The problem seems to be that maxima tries to read

SAGE_ROOT/local/info/maxima-index.lisp

when it should instead read

SAGE_ROOT/local/share/info/maxima-index.lisp

comment:4 Changed 12 years ago by Jeroen Demeyer

Authors: Jeroen Demeyer
Description: modified (diff)
Keywords: maxima spkg added
Status: newneeds_review

comment:5 Changed 12 years ago by Jeroen Demeyer

Report Upstream: N/AReported upstream. Little or no feedback.

Mail sent to the Maxima mailing list with the infodir.patch

Changed 12 years ago by Jeroen Demeyer

Attachment: maxima-5.23.2.p0.diff added

Diff for the maxima spkg, for reviewing only

comment:6 Changed 12 years ago by Mariah Lennox

Description: modified (diff)
Status: needs_reviewpositive_review

I build sage-4.7.rc2 with http://boxen.math.washington.edu/home/jdemeyer/spkg/maxima-5.23.2.p0.spkg with 'make testlong'. All tests passed. I then moved the directory and again did 'make testlong'. Again all tests passed. Positive review.

comment:7 Changed 12 years ago by Jeroen Demeyer

Merged in: sage-4.7.rc3
Resolution: fixed
Reviewers: Mariah Lenox
Status: positive_reviewclosed

comment:8 Changed 12 years ago by Jeroen Demeyer

Description: modified (diff)

comment:9 Changed 12 years ago by Jeroen Demeyer

Description: modified (diff)
Note: See TracTickets for help on using tickets.