Get an error message when trying to install sage cell server

asked 2013-05-18 23:10:38 +0200

aaronej gravatar image

updated 2015-01-13 21:07:50 +0200

FrédéricC gravatar image

I am interested in contributing to the sage cell server and am going through the steps outlined in the readme in the github page. When I get to step #5, I get the following error message that is detailed below. I am running this on a kubuntu virtual machine (VMWare) but I don't see that should matter. Is there another way to achieve this? Can I just download and unzip the archive? If this is the case, where do I unzip it to? Any insight as to what the issue might be is greatly appreciated, thanks!

aaronej@ubuntu:~/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux$ ./sage -i
Attempting to download package sagecell-2013-04-05
>>> Downloading sagecell-2013-04-05.spkg.                                                                                                                                                                                                                                      
Extracting package /home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/spkg/optional/sagecell-2013-04-05.spkg                                                                                                                                              
-rw-rw-r-- 1 aaronej aaronej 60793713 May 18 17:36 /home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/spkg/optional/sagecell-2013-04-05.spkg                                                                                                              
Finished extraction                                                                                                                                                                                                                                                            
Host system:                                                                                                                                                                                                                                                                   
Linux ubuntu 3.8.0-21-generic #32-Ubuntu SMP Tue May 14 22:16:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux                                                                                                                                                                       
C compiler: gcc                                                                                                                                                                                                                                                                
C compiler version:                                                                                                                                                                                                                                                            
Using built-in specs.                                                                                                                                                                                                                                                          
Target: x86_64-unknown-linux-gnu                                                                                                                                                                                                                                               
Configured with: ../src/configure --prefix=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-local-prefix=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-gmp=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-mpfr=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-mpc=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-system-zlib --disable-multilib --disable-nls              
Thread model: posix                                                                                                                                                                                                                                                            
gcc version 4.7.2 (GCC)                                                                                                                                                                                                                                                        
Patching Sage                                                                                                                                                                                                                                                                  
adding 01-sage-embedded.patch to series file                                                                                                                                                                                                                                   
applying 01-sage-embedded.patch                                                                                                                                                                                                                                                
patching file sage/misc/
Hunk #1 succeeded at 74 with fuzz 1 (offset 0 lines).
patching file sage/misc/
Hunk #1 FAILED at 35
1 out of 3 hunks FAILED -- saving rejects to file sage/misc/
patching file sage/misc/
Hunk #1 FAILED at 127
1 out of 3 hunks FAILED -- saving rejects to file sage/misc/
patching file sage/misc/session.pyx
Hunk #1 succeeded at 67 with fuzz 1 (offset 1 lines).
Hunk #3 FAILED at 340
1 out of 3 hunks FAILED -- saving rejects to file sage/misc/session.pyx.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working dir
errors during apply, please fix and refresh 01-sage-embedded.patch
Error pushing patch 01-sage-embedded.patch.

real    0m3.161s
user    0m0.976s
sys     0m0.932s
Error installing package sagecell-2013-04-05
Please email sage-devel (
explaining the problem and including the relevant part of the log file
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04 ...
edit retag flag offensive close merge delete



This was answered at [this sage-support thread](!topic/sage-support/tTQbMdwgvY4).

kcrisman gravatar imagekcrisman ( 2013-05-20 11:42:55 +0200 )edit