-
-
Notifications
You must be signed in to change notification settings - Fork 570
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
do some cleanup of the deps file, as suggested by Carl Hansen #9274
Comments
comment:1
Please see John Palmieri's comment (or this diff) at #8306 for some other suggestions. |
Updated |
Attachment: deps.gz Attachment: deps.diff.gz Diff of |
comment:2
The attached Main changes:
With |
comment:3
#9351, which has positive review, makes Sagetex dependant on both gap and Sage, since you need a working Sage in order that Sagetex can be tested with SAGE_CHECK=yes. So the 'deps' file attached to this ticket would need that dependency updating. I've printed this on paper and looked though it fairly carefully, and can't see anything wrong with it. Everything looks logical to me. On a few occasions where things only depended on 'BASE', but I was slightly suspicious they might have other dependencies, I checked the packages more carefully by inspection of their contents. I can't see anything wrong. I've used this 'deps' file to build Sage on my OpenSolaris machine, and found the 'deps' file appears OK, though since neither R or Maxima build on OpenSolaris, I'm unable to test this 'deps' file fully on OpenSolaris. Since you have a specific issue with Maxima, I can't provide convincing evidence this is OK. But it looks OK to me. I would never be totally surprised by any failures of builds on the *.math.washington.edu network if an NFS-shared directory is used for building Sage - which includes the home directories. Most of the hard disks are attached to a server called 'disk.math.washington.edu' which is running OpenSolaris. But the ZFS intent Log (ZIL) has been disabled to increase NFS speed. This means that if you write something to disk, then try to read it, there is no guarantee it can be read. Hence (on t2), the system log shows things like
So if you get strange behavior, I would try it on a scratch area, with local storage, since I would not 100% trust the way the ZFS pools are configured. |
Work Issues: needs rebasing on top of not yet existing release |
comment:4
I really want sage-4.5 to be a better release, so I'm adding this to the blockers. Just like the issue that #9431 is exposing, this is too egregous to delay. The GLPK alpha release is nearly ready, and will include #9412 specifically so that this can be rebased on top and merged into the alpha release following that one. What work is left for this to be ready, other than waiting for #9412? |
comment:6
See the comment about Maxima needing to be reinstalled above. I don't know if that is supposed to be related to what changes are on this ticket or not. At first, I interpreted the reasons this ticket was needing work was because of this Maxima problem. Perhaps it was put to 'needs work' for some other reason. Dave |
comment:7
Is this as good a place as any to work out dependencies for glpk? (See [#9312 comment:24].) |
comment:8
Replying to @jhpalmieri:
As you're probably aware, this made it into sage-4.5.alpha3: http://sage.math.washington.edu/home/rlmill/release/sage-4.5.alpha3.tar Can the deps file here and the patch be rebased on top of alpha3? I promise this will be the last time. |
Changed work issues from needs rebasing on top of not yet existing release to needs rebasing on sage-4.5.alpha3 |
rebased against 4.5.alpha3 |
Attachment: deps-new.gz Attachment: deps-new.diff.gz |
comment:9
Here are rebased versions, and they also include making cython a prerequisite for glpk. |
Author: Mitesh Patel, John Palmieri |
Reviewer: Robert Miller |
Merged: sage-4.5.alpha4 |
comment:13
Make sure to merge "deps-new", not "deps". |
comment:14
Replying to @jhpalmieri:
Yep, that's what I merged. Thanks for the extra care. |
comment:15
Hmmmm :-/ I do not think it can hurt, though why should GLPK depend on Cython ? In the last version (the version embedded in alpha3), there is no setup.py file, no Cython code at all... Actually, there are only bash scripts and GLPK's own sources !!! Sorry for not having brought this up earlier (I just woke up) :-/ Nathann |
comment:16
Replying to @nathanncohen:
An interesting point. It can hurt for two reasons
That's worth investigating. |
comment:17
I apologize for my late reply.
./sage -c 'print QQ[2^(1/3)]'
Traceback (most recent call last):
File "/mnt/usb1/scratch/mpatel/tmp/sage-4.5.alpha1-j12-par/local/bin/sage-eval", line 15, in <module>
eval(compile(s,'<cmdline>','exec'))
File "<cmdline>", line 1, in <module>
File "ring.pyx", line 205, in sage.rings.ring.Ring.__getitem__ (sage/rings/ring.c:2550)
File "/mnt/usb1/scratch/mpatel/tmp/sage-4.5.alpha1-j12-par/local/lib/python2.6/site-packages/sage/rings/polynomial/polynomial_ring_constructor.py", line 343, in PolynomialRing
R = _single_variate(base_ring, name, sparse, implementation)
File "/mnt/usb1/scratch/mpatel/tmp/sage-4.5.alpha1-j12-par/local/lib/python2.6/site-packages/sage/rings/polynomial/polynomial_ring_constructor.py", line 395, in _single_variate
name = normalize_names(1, name)
File "parent_gens.pyx", line 204, in sage.structure.parent_gens.normalize_names (sage/structure/parent_gens.c:2093)
File "parent_gens.pyx", line 145, in sage.structure.parent_gens._certify_names (sage/structure/parent_gens.c:1650)
ValueError: variable names must be alphanumeric, but one is '2^(1/3)' which is not. and ./sage -c "var('x'); print solve(x, x)"
Traceback (most recent call last):
File "/mnt/usb1/scratch/mpatel/tmp/sage-4.5.alpha1-j12-par/local/bin/sage-eval", line 15, in <module>
eval(compile(s,'<cmdline>','exec'))
File "<cmdline>", line 1, in <module>
File "/mnt/usb1/scratch/mpatel/tmp/sage-4.5.alpha1-j12-par/local/lib/python2.6/site-packages/sage/symbolic/relation.py", line 619, in solve
ans = f.solve(*args,**kwds)
File "expression.pyx", line 6735, in sage.symbolic.expression.Expression.solve (sage/symbolic/expression.cpp:25171)
File "expression.pyx", line 433, in sage.symbolic.expression.Expression._maxima_ (sage/symbolic/expression.cpp:3382)
File "sage_object.pyx", line 386, in sage.structure.sage_object.SageObject._interface_ (sage/structure/sage_object.c:3501)
File "/mnt/usb1/scratch/mpatel/tmp/sage-4.5.alpha1-j12-par/local/lib/python2.6/site-packages/sage/interfaces/expect.py", line 1032, in __call__
return cls(self, x, name=name)
File "/mnt/usb1/scratch/mpatel/tmp/sage-4.5.alpha1-j12-par/local/lib/python2.6/site-packages/sage/interfaces/expect.py", line 1451, in __init__
raise TypeError, x
TypeError: error evaluating "load(to_poly_solver)":
Error executing code in Maxima
CODE:
load(to_poly_solver);
Maxima ERROR:
Could not find `to_poly_solver' using paths in file_search_maxima,file_search_lisp.
-- an error. To debug this try: debugmode(true);
|
Changed work issues from needs rebasing on sage-4.5.alpha3 to none |
CC: @sagetrac-drkirkby @jhpalmieri
Component: build
Author: Mitesh Patel, John Palmieri
Reviewer: Robert Miller
Merged: sage-4.5.alpha4
Issue created by migration from https://trac.sagemath.org/ticket/9274
The text was updated successfully, but these errors were encountered: