#11021: Fix "sage -info" and a bug when sourcing sage-env more than once
--------------------------------------------------------+-------------------
Reporter: jhpalmieri | Owner: leif
Type: defect | Status:
needs_review
Priority: major | Milestone:
sage-4.7.1
Component: packages | Keywords:
SPKG.txt SAGE.txt -info BUILD sage-env sage-sage sage-spkg
Work_issues: | Upstream: N/A
Reviewer: Kelvin Li, Leif Leonhardy, John Palmieri | Author: Leif
Leonhardy, Kelvin Li
Merged: | Dependencies:
--------------------------------------------------------+-------------------
Comment(by jhpalmieri):
A related issue with [attachment:trac_11021-additional_changes_to_sage-
spkg.scripts.patch]: on OS X, if I insert
{{{
(bunzip2 -c "$PKG_SRC" || echo foo) | tar tf -
}}}
instead of the other code, then valid spkg files are not being extracted:
I did this at around line 300, and I also put in "pwd" and "ls -l" a few
lines later, and I got this (this is with a local spkg file,
phc-2.3.60.spkg, specified with a full path):
{{{
Finished extraction.
/Applications/sage/spkg/build
total 8
drwxr-xr-x 76 palmieri admin 2584 Jul 4 09:35 bzip2-1.0.5
drwxr-xr-x 8 palmieri admin 272 Jul 12 15:10 chomp-20100213.p2
drwxr-xr-x 2 palmieri admin 68 Jul 12 16:55 old
drwxr-xr-x@ 21 palmieri admin 714 Jul 4 09:35 prereq-0.9
-rw-r--r-- 1 palmieri admin 19 Mar 24 2010 sagetex-2.2.5.cksum
Warning: After extraction the directory 'phc-2.3.60' does not exist.
This means that the corresponding .spkg needs to be downloaded again.
}}}
But maybe I didn't insert that code correctly. I'll try a new patch when
you have chance to make one. Or if you want, just make the small changes
to the sage-sage patch, and we can defer the more major changes to sage-
spkg to another ticket. We should try to get the bug fixes in the other
patches merged pretty soon, I think.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11021#comment:44>
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.