Ticket #10436 (new defect)
#10303 gives problems with sage -ba-force
| Reported by: | jdemeyer | Owned by: | GeorgSWeber |
|---|---|---|---|
| Priority: | major | Milestone: | sage-5.11 |
| Component: | build | Keywords: | SAGE64 |
| Cc: | leif | Work issues: | |
| Report Upstream: | N/A | Reviewers: | |
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description (last modified by jdemeyer) (diff)
On a clean installation of Sage including #10303, I get
$ ./sage -ba-force
*** TOUCHING ALL CYTHON (.pyx) FILES ***
KeyError: 'SAGE64':
File "/mnt/usb1/scratch/jdemeyer/merger/sage-4.6.1.rc0/devel/sage-main/c_lib/SConstruct", line 108:
if os.environ['SAGE64']=="yes":
File "/mnt/usb1/scratch/jdemeyer/merger/sage-4.6.1.rc0/local/lib/python/UserDict.py", line 22:
raise KeyError(key)
----------------------------------------------------------
sage: Building and installing modified Sage library files.
Apart from this error message, sage -ba-force seems to work.
Change History
comment:2 Changed 3 years ago by jhpalmieri
I think running sage-check-64 earlier in sage-build would fix it (if we keep #10303). Something like this patch:
-
sage-build
diff -r 3d7bb3a7774e sage-build
a b if [ ! -d "$SAGE_ROOT/devel/sage" ]; the 82 82 exit 1 83 83 fi 84 84 85 # Check whether this seems to a 64-bit build: 86 source "$SAGE_LOCAL"/bin/sage-check-64 87 88 if [ $? -ne 0 ]; then 89 exit 1 90 fi 91 85 92 if [ $DO_BUILD_ALL = 1 ]; then 86 93 CUR=`pwd` 87 94 cd "$SAGE_ROOT/devel/sage/sage" … … if [ $DO_BUILD_ALL = 1 ]; then 98 105 cd "$CUR" 99 106 fi 100 107 101 # Check whether this seems to a 64-bit build:102 source "$SAGE_LOCAL"/bin/sage-check-64103 104 if [ $? -ne 0 ]; then105 exit 1106 fi107 108 108 build "sage"
But it's the end of the quarter here, I have final exams to prepare, etc., so I don't have any more time to work on this now.
comment:3 follow-up: ↓ 4 Changed 3 years ago by drkirkby
I do not see this problem on a build where SAGE64 was not set.
drkirkby@hawk:~/sage-4.6.1.alpha3$ ./sage -ba-force *** TOUCHING ALL CYTHON (.pyx) FILES *** scons: `install' is up to date. ---------------------------------------------------------- sage: Building and installing modified Sage library files. Installing c_lib
This was a 32-bit build on OpenSolaris 06/2009.
What system was the problem noticed? Was SAGE64 set?
Note: See
TracTickets for help on using
tickets.
