Skip to content
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

scipy_sandbox does not exit if there are build failures, but spkg-install looks OK #9520

Closed
sagetrac-drkirkby mannequin opened this issue Jul 16, 2010 · 2 comments
Closed

Comments

@sagetrac-drkirkby
Copy link
Mannequin

sagetrac-drkirkby mannequin commented Jul 16, 2010

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

CC: @nexttime @qed777 @sagetrac-mvngu @jhpalmieri

Component: build

Reviewer: Karl-Dieter Crisman

Issue created by migration from https://trac.sagemath.org/ticket/9520

@sagetrac-drkirkby sagetrac-drkirkby mannequin added this to the sage-4.5.1 milestone Jul 17, 2010
@kcrisman
Copy link
Member

comment:2

This spkg is now only in the list of archived packages, so we're all done.

@kcrisman
Copy link
Member

Reviewer: Karl-Dieter Crisman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants