#9520: scipy_sandbox does not exit if there are build failures, but spkg-install
looks OK
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  GeorgSWeber
       Type:  defect    |      Status:  new        
   Priority:  major     |   Milestone:             
  Component:  build     |    Keywords:             
     Author:            |    Upstream:  N/A        
   Reviewer:            |      Merged:             
Work_issues:            |  
------------------------+---------------------------------------------------
 Building Sage 4.5 on a Sun Blade 2000, with dual UltraSPARC III+
 processors in 64-bit mode, the build process produces some obvious
 '''error''' messages when building scipy_sandbox-20071020.p5. These are
 not warnings, but errors.

 {{{
 scipy_sandbox-20071020.p5/spkg-debian
 Finished extraction
 ****************************************************
 Host system
 uname -a:
 SunOS swan 5.10 Generic_141444-09 sun4u sparc SUNW,Sun-Blade-1000
 ****************************************************
 ****************************************************
 CC Version
 gcc -v
 Using built-in specs.
 Target: sparc-sun-solaris2.10
 Configured with: ../gcc-4.4.4/configure --with-pkgversion='GCC-4.4.4 with
 GMP-5.0.1 and MPFR-2.4.2-p2' --prefix=/usr/local/gcc-4.4.4 --with-
 as=/usr/ccs/bin/as --with-ld=/usr/cc
 s/bin/ld
 Thread model: posix
 gcc version 4.4.4 (GCC-4.4.4 with GMP-5.0.1 and MPFR-2.4.2-p2)
 ****************************************************
 /export/home/drkirkby/64/sage-4.5/local/lib/python2.6/site-
 packages/numpy/distutils/command/config.py:361: DeprecationWarning:
 +++++++++++++++++++++++++++++++++++++++++++++++++
 Usage of get_output is deprecated: please do not
 use it anymore, and avoid configuration checks
 involving running executable on the target machine.
 +++++++++++++++++++++++++++++++++++++++++++++++++

   DeprecationWarning)
 ld: fatal: file _configtest.o: wrong ELF class: ELFCLASS64
 ld: fatal: File processing errors. No output written to _configtest
 collect2: ld returned 1 exit status
 compiling '_configtest.c':
 }}}

 {{{wrong ELF class:}}} messages mean an attempt was made to link a mixture
 of 32-bit and 64-bit object files.

 But the build process still goes on to report that
 scipy_sandbox-20071020.p5 has installed OK.

 What is odd, is that {{{spkg-install}}} looks to be OK to me.

 {{{
 python setup.py install

 if [ $? -ne 0 ]; then
     echo "Error building arpack \n"
     exit 1
 fi

 cd ..
 cd delaunay
 python setup.py install

 if [ $? -ne 0 ]; then
     echo "Error building delaunay triangulation code \n"
     exit 1
 fi
 }}}

 Has anyone got any ideas? Could it be that the _configtest tries various
 ways to compile, so despite these being errors, this is actually OK? I
 somewhat doubt that is the case, but I don't know.

 Like a very similar issue with scipy (#9519), I'm not sure if this is an
 upstream bug or not. I suspect it is.

 Dave

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