New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R's spkg-install calls "sage -f ..." to install the contained Rpy spkg #10016
Comments
This comment has been minimized.
This comment has been minimized.
Attachment: trac_10016-r-2.10.1.p3-p4.spkg.patch.gz Diff between the p3 and p4 spkg (actually a Mercurial patch). For reference/review. |
comment:2
I think you have different standards of evil than I do :) But this sounds like a good intermediate step here. What I understand of the change in the script makes sense. I don't know how |
comment:3
I just noticed this doesn't fully work with spaces in the path, but since spaces aren't supported yet anyway (and most probably won't be soon), and this is just a temporary solution (cf. #9906), I'm not going to change the fairly large spkg again here... |
comment:4
Replying to @nexttime:
... unless somebody finds other things that have to be fixed here. |
comment:5
So because of the tee command, is the install log for rpy going to appear in both r-2.10.1.p4.log and rpy2-2.0.8.log? I suppose I should try it and see. Should I use the "deps" file from #9896? |
comment:6
Just to experiment, I took deps from #9896, took out the dependency of R on sage-scripts, and put in a dependency of sage-scripts on R. |
comment:7
Trac... Replying to @jhpalmieri:
I will appear in both. Note that previously the
This makes no difference, since R still depends on the scripts in both. |
comment:8
LOL, |
comment:9
Replying to @jhpalmieri:
Good idea. But you should (at least) also remove Or rebuild Sage from scratch with the new R spkg and such deps, as I did... |
comment:10
Replying to @nexttime:
And of course remove
|
comment:11
Argh, "copying it to |
comment:12
I wasn't clear: I'm building from scratch with the modified deps and the new R spkg, so I didn't need to remove anything. (I had a few false starts, but "make distclean" fixed those.) |
Reviewer: John Palmieri |
comment:13
This looks good to me. With my purely experimental version of deps, it emphasizes the problem on #9434: since sage-scripts is installed very late, there are many warning messages about being unable to find sage-banner. |
comment:14
Thanks for reviewing this. Replying to @jhpalmieri:
:D |
Merged: sage-4.6.alpha2 |
This already caused trouble when the Sage scripts spkg wasn't yet installed, and making all standard packages depend on the complete set of Sage scripts (which had actually then been done) is an overkill.
There's a lot wrong with this spkg, and the Rpy spkg should be moved out of R's (#9906), but as a short-term solution, I decided to just replace the call to
$SAGE_ROOT/sage
(which requiressage-sage
) by a direct one to$SAGE_ROOT/local/bin/sage-spkg
, which should be present in any case, s.t. we don't have to make the R spkg depend on the Sage scripts spkg.The new p4 spkg does not address any other issues.
r-2.10.1.p4 (Leif Leonhardy, September 25th 2010)
"sage-spkg -f" directly, since only this is guaranteed to be present.
This is just a temporary solution, until the Rpy spkg is removed
from this one.
New spkg: http://spkg-upload.googlecode.com/files/r-2.10.1.p4.spkg
md5sum: afb2987172a2d740227bd24227e6546a
CC: @qed777
Component: packages: standard
Keywords: sage-spkg deps scripts dependency
Author: Leif Leonhardy
Reviewer: John Palmieri
Merged: sage-4.6.alpha2
Issue created by migration from https://trac.sagemath.org/ticket/10016
The text was updated successfully, but these errors were encountered: