Sage used to build fine on 32-bit SPARC, and pass all doctests, but
something is stopping it building now. I think I have seen this
"isfinite" issue before in Sage on Solaris. I'm not sure what package
it was in, but I know the problem was fixed. Hopefully it wont take
too much effort to get this working again.

I'll create a ticket tomorrow.

The following package(s) may have failed to build:

package: libfplll-4.0.4
log file: /export/home/drkirkby/sage-6.7/logs/pkgs/libfplll-4.0.4.log
build directory:
/export/home/drkirkby/sage-6.7/local/var/tmp/sage/build/libfplll-4.0.4

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

drkirkby@buzzard:~/sage-6.7/logs$ more
/export/home/drkirkby/sage-6.7/logs/pkgs/libfplll-4.0.4.log
Found local metadata for libfplll-4.0.4
Found local sources at /export/home/drkirkby/sage-6.7/upstream/libfplll-4.0.4.ta
r.bz2
/export/home/drkirkby/sage-6.7/src/bin/sage-spkg: line 101: command: shasum: not
 found
/export/home/drkirkby/sage-6.7/src/bin/sage-spkg: line 104: command: md5sum: not
 found
/export/home/drkirkby/sage-6.7/src/bin/sage-spkg: line 107: command: md5: not fo
und
Checksum: 1585685039 vs 1585685039
libfplll-4.0.4
====================================================
Setting up build directory for libfplll-4.0.4
Finished set up
****************************************************
Host system:
SunOS buzzard 5.10 Generic sun4u sparc SUNW,Sun-Blade-1000
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc-4.5.0/libexec/gcc/sparc-sun-solaris2.10/4.5.0
/lto-wrapper
Target: sparc-sun-solaris2.10
Configured with: /export/home/drkirkby/gcc-4.5.0/configure --prefix=/usr/local/g
cc-4.5.0 --with-gmp=/usr/local/gcc-4.5.0 --with-gmp=/usr/local/gcc-4.5.0 --with-
mpc=/usr/local/gcc-4.5.0 -disable-nls --enable-checking=release --enable-werror=
no --enable-multilib --with-system-zlib --enable-bootstrap --with-ld=/usr/ccs/bi
n/ld --with-as=/usr/ccs/bin/as --without-gnu-ld --without-gnu-as -with-pkgversio
n='GCC gmp-5.0.1 mpfr-3.0.0 mpc-0.8.2' --enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.5.0 (GCC gmp-5.0.1 mpfr-3.0.0 mpc-0.8.2)
****************************************************
Applying patches to upstream sources...
Now configuring libfplll...
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
checking for egrep... /usr/sfw/bin/ggrep -E
checking for fgrep... /usr/sfw/bin/ggrep -F
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm -p
checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... y
es
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... y
es
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... y
es
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for __gmpz_init in -lgmp... yes
checking for mpfr_add in -lmpfr... yes
checking for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking cstdio usability... yes
checking cstdio presence... yes
checking for cstdio... yes
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking string usability... yes
checking string presence... yes
checking for string... yes
checking limits usability... yes
checking limits presence... yes
checking for limits... yes
checking vector usability... yes
checking vector presence... yes
checking for vector... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for working volatile... yes
checking for working strtod... yes
checking for floor... yes
checking for pow... yes
checking for rint... yes
checking for sqrt... yes
checking for strtol... yes
checking for __gmp_get_memory_functions in -lgmp... yes
checking for mpfr_fms in -lmpfr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Now building libfplll...
make[3]: Entering directory `/export/home/drkirkby/sage-6.7/local/var/tmp/sage/b
uild/libfplll-4.0.4/src'
make  all-recursive
make[4]: Entering directory `/export/home/drkirkby/sage-6.7/local/var/tmp/sage/b
uild/libfplll-4.0.4/src'
Making all in src
make[5]: Entering directory `/export/home/drkirkby/sage-6.7/local/var/tmp/sage/b
uild/libfplll-4.0.4/src/src'
make[6]: Entering directory `/export/home/drkirkby/sage-6.7/local/var/tmp/sage/b
uild/libfplll-4.0.4/src'
make[6]: Leaving directory `/export/home/drkirkby/sage-6.7/local/var/tmp/sage/bu
ild/libfplll-4.0.4/src'
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -
I/export/home/drkirkby/sage-6.7/local/include/  -fPIC -I/export/home/drkirkby/sa
ge-6.7/local/include/ -L/export/home/drkirkby/sage-6.7/local/lib -MT fplll.lo -M
D -MP -MF .deps/fplll.Tpo -c -o fplll.lo fplll.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/export/home/drkirkby/sage-6.7
/local/include/ -fPIC -I/export/home/drkirkby/sage-6.7/local/include/ -L/export/
home/drkirkby/sage-6.7/local/lib -MT fplll.lo -MD -MP -MF .deps/fplll.Tpo -c fpl
ll.cpp  -fPIC -DPIC -o .libs/fplll.o
In file included from nr.h:430:0,
                 from numvect.h:19,
                 from matrix.h:21,
                 from wrapper.h:21,
                 from fplll.cpp:18:
nr.cpp: In member function 'int fplll::FP_NR<F>::is_finite() const [with F = dou
ble]':
nr.cpp:868:23: error: 'isfinite' was not declared in this scope
nr.cpp: In member function 'int fplll::FP_NR<F>::is_finite() const [with F = lon
g double]':
nr.cpp:1078:23: error: 'isfinite' was not declared in this scope
nr.cpp: In member function 'int fplll::FP_NR<F>::is_finite() const [with F = dpe
_struct [1]]':
nr.cpp:1278:33: error: 'isfinite' was not declared in this scope
make[5]: *** [fplll.lo] Error 1
make[5]: Leaving directory `/export/home/drkirkby/sage-6.7/local/var/tmp/sage/bu
ild/libfplll-4.0.4/src/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/export/home/drkirkby/sage-6.7/local/var/tmp/sage/bu
ild/libfplll-4.0.4/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/export/home/drkirkby/sage-6.7/local/var/tmp/sage/bu
ild/libfplll-4.0.4/src'
Error building libfplll

real    4m4.438s
user    0m13.118s
sys    0m10.536s
************************************************************************
Error installing package libfplll-4.0.4
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /export/home/drkirkby/sage-6.7/logs/pkgs/libfplll-4.0.4.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/export/home/drkirkby/sage-6.7/local/var/tmp/sage/build/libfplll-4.0.4 and type
'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/export/home/drkirkby/sage-6.7/local/var/tmp/sage/build/libfplll-4.0.4' &
& '/export/home/drkirkby/sage-6.7/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
drkirkby@buzzard:~/sage-6.7/logs$

Dr. David Kirkby Ph.D CEng MIET
Kirkby Microwave Ltd
Registered office: Stokes Hall Lodge, Burnham Rd, Althorne, Essex, CM3 6DT, UK.
Registered in England and Wales, company number 08914892.
http://www.kirkbymicrowave.co.uk/
Tel: 07910 441670 / +44 7910 441670 (0900 to 2100 GMT only please)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to