#6508: make installing extcode depend on mercurial
----------------------+-----------------------------------------------------
 Reporter:  was       |       Owner:  mabshoff  
     Type:  defect    |      Status:  new       
 Priority:  blocker   |   Milestone:  sage-4.1.1
Component:  packages  |    Keywords:            
 Reviewer:            |      Author:            
   Merged:            |  
----------------------+-----------------------------------------------------
 {{{


 On Fri, Jul 10, 2009 at 8:08 AM, Jan Groenewald<[email protected]> wrote:
 >
 > Hi
 >
 > sage -upgrade 4.0 to 4.1:
 >
 >
 > Finished extraction
 > ****************************************************
 > Host system
 > uname -a:
 > Linux hamerkop 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 22:12:12 UTC
 2009 x86_64 GNU/Linux
 > ****************************************************
 > ****************************************************
 > GCC Version
 > gcc -v
 > Using built-in specs.
 > Target: x86_64-linux-gnu
 > Configured with: ../src/configure -v --with-pkgversion='Ubuntu
 4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
 --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-
 shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
 --enable-threads=posix --enable-nls --with-gxx-include-
 dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu
 --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --with-
 tune=generic --enable-checking=release --build=x86_64-linux-gnu
 --host=x86_64-linux-gnu --target=x86_64-linux-gnu
 > Thread model: posix
 > gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
 > ****************************************************
 > Traceback (most recent call last):
 >  File "/usr/local/src/sage-4.0/local/bin/hg", line 11, in <module>
 >    from mercurial import demandimport; demandimport.enable()
 > ImportError: No module named mercurial
 > Traceback (most recent call last):
 >  File "/usr/local/src/sage-4.0/local/bin/hg", line 11, in <module>
 >    from mercurial import demandimport; demandimport.enable()
 > ImportError: No module named mercurial
 > Traceback (most recent call last):
 >  File "/usr/local/src/sage-4.0/local/bin/hg", line 11, in <module>
 >    from mercurial import demandimport; demandimport.enable()
 > ImportError: No module named mercurial
 > Traceback (most recent call last):
 >  File "/usr/local/src/sage-4.0/local/bin/hg", line 11, in <module>
 >    from mercurial import demandimport; demandimport.enable()
 > ImportError: No module named mercurial
 > Traceback (most recent call last):
 >  File "/usr/local/src/sage-4.0/local/bin/hg", line 11, in <module>
 >    from mercurial import demandimport; demandimport.enable()
 > ImportError: No module named mercurial
 >
 > real    0m0.049s
 > user    0m0.020s
 > sys     0m0.028s
 > sage: An error occurred while installing extcode-4.1
 > Please email sage-devel http://groups.google.com/group/sage-devel
 > explaining the problem and send the relevant part of
 > of /usr/local/src/sage-4.0/install.log.  Describe your computer,
 operating system, etc.
 > If you want to try to fix the problem, yourself *don't* just cd to
 > /usr/local/src/sage-4.0/spkg/build/extcode-4.1 and type 'make'.
 > Instead type "/usr/local/src/sage-4.0/sage -sh"
 > in order to set all environment variables correctly, then cd to
 > /usr/local/src/sage-4.0/spkg/build/extcode-4.1
 > (When you are done debugging, you can type "exit" to leave the
 > subshell.)
 > make: *** [installed/extcode-4.1] Error 1
 >
 > real    0m2.154s
 > user    0m1.992s
 > sys     0m0.112s
 > Error building Sage.
 > Error installing Sage!
 > 1 r...@hamerkop:/usr/local/src/sage-4.0#
 >
 >
 > I guess this means only half my installation is upgraded and it is a bit
 b0rked now?

 Just manually force mercurial to install via

    sage -f mercurial-1.1.2.p0

 then type "make" (or "sage -upgrade") after that finishes to continue the
 upgrade.

 I think this caused by a mistake in the spkg/standard/deps file.  These
 lines are wrong:

 $(INST)/$(EXTCODE): $(BASE)
         $(SAGE_SPKG) $(EXTCODE) 2>&1

 since clealry installing the EXTCODE package depends on mercurial.  It
 should be:

 $(INST)/$(EXTCODE): $(BASE)  $(INST)/$(MERCURIAL)
         $(SAGE_SPKG) $(EXTCODE) 2>&1

 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6508>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to