Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#11348 closed defect (fixed)

maxima test fails when install tree is moved

Reported by: mariah 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 jdemeyer)

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 jdemeyer 10 years ago.
Diff for the maxima spkg, for reviewing only

Download all attachments as: .zip

Change History (10)

comment:1 Changed 10 years ago by mariah

  • Type changed from PLEASE CHANGE to defect

comment:2 Changed 10 years ago by mariah

  • Description modified (diff)

comment:3 Changed 10 years ago by jdemeyer

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 10 years ago by jdemeyer

  • Authors set to Jeroen Demeyer
  • Description modified (diff)
  • Keywords maxima spkg added
  • Status changed from new to needs_review

comment:5 Changed 10 years ago by jdemeyer

  • Report Upstream changed from N/A to Reported upstream. Little or no feedback.

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

Changed 10 years ago by jdemeyer

Diff for the maxima spkg, for reviewing only

comment:6 Changed 10 years ago by mariah

  • Description modified (diff)
  • Status changed from needs_review to positive_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 10 years ago by jdemeyer

  • Merged in set to sage-4.7.rc3
  • Resolution set to fixed
  • Reviewers set to Mariah Lenox
  • Status changed from positive_review to closed

comment:8 Changed 10 years ago by jdemeyer

  • Description modified (diff)

comment:9 Changed 10 years ago by jdemeyer

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