William Stein wrote: > On Thu, Nov 12, 2009 at 1:08 PM, Dr. David Kirkby > <david.kir...@onetel.net> wrote: >> William Stein wrote: >>> Dave, >>> >>> I'm curious what happens if you try to install all optional spkg's on >>> solaris. >>> You could that in Sage by pasting this after the sage prompt:
<SNIP> >> Since you do not want me to open tickets for the failures, what do you want >> me >> to do with them? > > Let's just discuss them a bit first. For starters, what happens here? > > sage: An error occurred while installing database_cremona_ellcurve-20071019 > > I'm really surprised that this fails, given that it is just extracting > and copying over a directory -- nothing gets built. Maybe it is a > GNU-ism to copy, or a GNU-istic tarball? Could you try that one > directly? **************************************************** cp: illegal option -- v Usage: cp [-f] [-i] [-p] [...@] f1 f2 cp [-f] [-i] [-p] [...@] f1 ... fn d1 cp -r|-R [-H|-L|-P] [-f] [-i] [-p] [...@] d1 ... dn-1 dn real 0m0.029s user 0m0.006s sys 0m0.019s sage: An error occurred while installing database_cremona_ellcurve-20071019 That's a GNUism - see http://www.opengroup.org/onlinepubs/9699919799/utilities/cp.html there is no -v option for 'cp' in POSIX. That should be easy to fix. Here are the full results, along with a link to the log, and a quick check of the log, to find the reasons for failure. drkir...@kestrel:~/sage-4.2$ uname -a SunOS kestrel 5.10 Generic_141444-09 sun4u sparc SUNW,UltraAX-i2 drkir...@kestrel:~/sage-4.2$ cat /etc/release Solaris 10 3/05 s10_74L2a SPARC Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 22 January 2005 drkir...@kestrel:~/sage-4.2$ ./sage -optional Using SAGE Server http://www.sagemath.org//packages http://www.sagemath.org//packages/optional/list --> /export/home/drkirkby/sage-4.2/tmp/list *********************************** *** optional Packages *** *********************************** INSTALLED: ace-5.0.p0 biopython-1.52.p0 boehm_gc-7.1.p0 cbc-2.3.p0 database_gap-4.4.10 database_jones_numfield-v4 database_kohel-20060803 database_odlyzko_zeta database_sloane_oeis-2005-12 database_symbolic_data-20070206 gap_packages-4.4.10_6 gdbm-1.8.3 glpk-4.38.p1 guppy-0.1.8 java3d-20070901 jsmath-image-fonts-1.4.p2 kash3-2008-07-31 knoboo-20080411 lie-2.2.2.p3 lrs-4.2b.p0 mpc-0.5.p0 nzmath-0.6.0 openopt-0.24 openssl-0.9.8d.p1 pil-1.1.6 pyopenssl-0.8 pyx-0.10 sage-mode-0.6 sagetex-2.1.1 trac-0.11.5.p0 NOT INSTALLED: database_cremona_ellcurve-20071019 database_stein_watkins_mini extra_docs-20070208 fricas-1.0.3.p0 frobby-0.7.6 ginv-1.9-20080723 gmpy-1.0.1 gnuplotpy-1.7.p3 graphviz-2.16.1.p0 libcocoa-0.9930 mpi4py-0.3.1 nauty-24b7.p1 openmpi-1.1.4 p_group_cohomology-1.1 phc-2.3.39.p0 valgrind_3.3.1 > > It's amazing how many spkg's fail... It's amazing how many are so badly written! Here's the full log of the build, along with a couple of notes http://sage.math.washington.edu/home/kirkby/logs/buidling-optional-packages/ I need to go out now, but a VERY quick look shows 1) ./spkg-install: /export/home/drkirkby/sage-4.2/local/lib/gap-4.4.7/: does not exist 2) checking for noweave... no axiom_build_bindir = /export/home/drkirkby/sage-4.2/spkg/build/fricas-1.0.3.p0/build-dir/build/sparc-sun-solaris2.10/bin checking compiled Lisp file extension... ../src/configure: line 4090: clisp: command not found configure: error: Could not determine extension for compiled Lisp files *********************************************************** Failed to configure Axiom. 3) src/main.cpp: In function 'int main(int, const char**)': src/main.cpp:30: error: 'srand' was not declared in this scope make: *** [bin/release/main.o] Error 1 Error building Frobby. real 0m4.433s user 0m3.000s sys 0m0.253s sage: An error occurred while installing frobby-0.7.6 4) creating build/temp.solaris-2.10-sun4u-2.6/ginv/division creating build/temp.solaris-2.10-sun4u-2.6/ginv/algorithm creating build/temp.solaris-2.10-sun4u-2.6/ginv/gauss creating build/temp.solaris-2.10-sun4u-2.6/modules gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWORDS_BIGENDIAN -I/export/home/drkirkby/sage-4.2/local/include/python2.6 -c ginv/util/iprime.cpp -o build/temp.solaris-2.10-sun4u-2.6/ginv/util/iprime.o -O3 -pipe -mmmx -msse -m3dnow -fomit-frame-pointer -I/export/home/drkirkby/sage-4.2/local/include cc1plus: error: unrecognized command line option "-mmmx" cc1plus: error: unrecognized command line option "-msse" cc1plus: error: unrecognized command line option "-m3dnow" cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ error: command 'gcc' failed with exit status 1 Error building GINV. real 0m0.795s user 0m0.496s sys 0m0.238s sage: An error occurred while installing ginv-1.9-20080723 5) gmpy-1.0.1/doc/gmpydoc.txt gmpy-1.0.1/doc/index.html Finished extraction **************************************************** Host system uname -a: SunOS kestrel 5.10 Generic_141444-09 sun4u sparc SUNW,UltraAX-i2 **************************************************** **************************************************** CC Version gcc -v Using built-in specs. Target: sparc-sun-solaris2.10 Configured with: ../gcc-4.4.2/configure --prefix=/opt/kirkby/gcc-4.4.2/ --with-gmp=/usr/local/ --with-mpfr=/usr/local --with-build-time-tools=/usr/ccs/bin --enable-languages=c,c++,fortran Thread model: posix gcc version 4.4.2 (GCC) **************************************************** ./spkg-install: CFLAGS=-I/export/home/drkirkby/sage-4.2/local/include: is not an identifier real 0m0.021s user 0m0.004s sys 0m0.013s sage: An error occurred while installing gmpy-1.0.1 6) gnuplotpy-1.7.p3/src/Gnuplot.html gnuplotpy-1.7.p3/src/_Gnuplot.py Finished extraction **************************************************** Host system uname -a: SunOS kestrel 5.10 Generic_141444-09 sun4u sparc SUNW,UltraAX-i2 **************************************************** **************************************************** CC Version gcc -v Using built-in specs. Target: sparc-sun-solaris2.10 Configured with: ../gcc-4.4.2/configure --prefix=/opt/kirkby/gcc-4.4.2/ --with-gmp=/usr/local/ --with-mpfr=/usr/local --with-build-time-tools=/usr/ccs/bin --enable-languages=c,c++,fortran Thread model: posix gcc version 4.4.2 (GCC) **************************************************** Traceback (most recent call last): File "setup.py", line 17, in <module> from __init__ import __version__ File "/export/home/drkirkby/sage-4.2/spkg/build/gnuplotpy-1.7.p3/src/__init__.py", line 167, in <module> from PlotItems import PlotItem, Func, File, Data, GridData File "/export/home/drkirkby/sage-4.2/spkg/build/gnuplotpy-1.7.p3/src/PlotItems.py", line 88 'with' : lambda self, with: self.set_string_option( ^ SyntaxError: invalid syntax Error installing gnuplotpy. real 0m0.369s user 0m0.223s sys 0m0.116s sage: An error occurred while installing gnuplotpy-1.7.p3 7) gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pathplan -I../../lib/graph -I../../lib/cdt -I/export/home/drkirkby/sage-4.2/local/include -I/export/home/drkirkby/sage-4.2/local/include -g -O2 -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT dot_builtins.o -MD -MP -MF .deps/dot_builtins.Tpo -c -o dot_builtins.o `test -f '../../lib/gvc/dot_builtins.c' || echo './'`../../lib/gvc/dot_builtins.c mv -f .deps/dot_builtins.Tpo .deps/dot_builtins.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pathplan -I../../lib/graph -I../../lib/cdt -I/export/home/drkirkby/sage-4.2/local/include -I/export/home/drkirkby/sage-4.2/local/include -g -O2 -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT no_demand_loading.o -MD -MP -MF .deps/no_demand_loading.Tpo -c -o no_demand_loading.o `test -f '../../lib/gvc/no_demand_loading.c' || echo './'`../../lib/gvc/no_demand_loading.c mv -f .deps/no_demand_loading.Tpo .deps/no_demand_loading.Po make[3]: *** No rule to make target `../../plugin/pango/libgvplugin_pango.la', needed by `dot_builtins'. Stop. make[3]: Leaving directory `/export/home/drkirkby/sage-4.2/spkg/build/graphviz-2.16.1.p0/src/cmd/dot' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/drkirkby/sage-4.2/spkg/build/graphviz-2.16.1.p0/src/cmd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/drkirkby/sage-4.2/spkg/build/graphviz-2.16.1.p0/src' make: *** [all] Error 2 Error building Graphviz real 34m25.759s user 14m3.062s sys 17m49.031s sage: An error occurred while installing graphviz-2.16.1.p0 8) Compiling ServerOp.o Compiling RegisterServerOps.o Compiling TmpFrobby.o Compiling RegisterServerOpsFrobby.o ar: bad option `S' usage: ar -d[-vV] archive file ... ar -m[-abivV] [posname] archive file ... ar -p[-vV][-s] archive [file ...] ar -q[-cuvV] [-abi] [posname] [file ...] ar -r[-cuvV] [-abi] [posname] [file ...] ar -t[-vV][-s] archive [file ...] ar -x[-vV][-sCT] archive [file ...] make[3]: *** [../../lib/libcocoa.a] Error 1 make[3]: Leaving directory `/export/home/drkirkby/sage-4.2/local/lib/cocoa-0.9930/src/src/AlgebraicCore' *****[[Compilation[failed[in[CoCoA[library[source[subdirectory[AlgebraicCore/[[***** ***** Compilation failed in CoCoA library source subdirectory AlgebraicCore/ ***** *****[[Compilation[failed[in[CoCoA[library[source[subdirectory[AlgebraicCore/[[***** make[2]: *** [library] Error 1 make[2]: Leaving directory `/export/home/drkirkby/sage-4.2/local/lib/cocoa-0.9930/src/src' make[1]: *** [library] Error 2 make[1]: Leaving directory `/export/home/drkirkby/sage-4.2/local/lib/cocoa-0.9930/src' make: *** [default] Error 2 Doing the build in the following directory: /export/home/drkirkby/sage-4.2/local/lib/cocoa-0.9930 ./configure --with-libgmp=$SAGE_LOCAL/lib/libgmp.so Now running Make make There are known test failures that should be listed above. They are literally 'not yet implemented' errors from the CoCOA library. I.e., CoCOA releases purposely don't pass their own test suite at present. Error libcocoa.a did not build. real 9m29.719s user 8m47.989s sys 0m28.305s sage: An error occurred while installing libcocoa-0.9930 9) mpi4py-0.3.1/licenses/openmpi.txt mpi4py-0.3.1/licenses/mpich2.txt mpi4py-0.3.1/licenses/mpich.txt Finished extraction **************************************************** Host system uname -a: SunOS kestrel 5.10 Generic_141444-09 sun4u sparc SUNW,UltraAX-i2 **************************************************** **************************************************** CC Version gcc -v Using built-in specs. Target: sparc-sun-solaris2.10 Configured with: ../gcc-4.4.2/configure --prefix=/opt/kirkby/gcc-4.4.2/ --with-gmp=/usr/local/ --with-mpfr=/usr/local --with-build-time-tools=/usr/ccs/bin --enable-languages=c,c++,fortran Thread model: posix gcc version 4.4.2 (GCC) **************************************************** ./spkg-install: ipython1: does not exist real 0m0.021s user 0m0.004s sys 0m0.013s sage: An error occurred while installing mpi4py-0.3.1 10) nauty-24b7.p1/SPKG.txt nauty-24b7.p1/license.txt Finished extraction **************************************************** Host system uname -a: SunOS kestrel 5.10 Generic_141444-09 sun4u sparc SUNW,UltraAX-i2 **************************************************** **************************************************** CC Version gcc -v Using built-in specs. Target: sparc-sun-solaris2.10 Configured with: ../gcc-4.4.2/configure --prefix=/opt/kirkby/gcc-4.4.2/ --with-gmp=/usr/local/ --with-mpfr=/usr/local --with-build-time-tools=/usr/ccs/bin --enable-languages=c,c++,fortran Thread model: posix gcc version 4.4.2 (GCC) **************************************************** ./spkg-install: top_level=/export/home/drkirkby/sage-4.2/spkg/build/nauty-24b7.p1: is not an identifier real 0m0.027s user 0m0.005s sys 0m0.017s sage: An error occurred while installing nauty-24b7.p1 11) g++ -DHAVE_CONFIG_H -I. -I. -I../../../opal/include -I../../../orte/include -I../../../ompi/include -I../../../ompi/include -I../../.. -D_REENTRANT -O3 -DNDEBUG -finline-functions -MT intercepts.lo -MD -MP -MF .deps/intercepts.Tpo -c intercepts.cc -fPIC -DPIC -o .libs/intercepts.o In file included from mpicxx.h:150, from intercepts.cc:22: ../../../ompi/mpi/cxx/request_inln.h: In static member function 'static MPI::Grequest MPI::Grequest::Start(int (*)(void*, MPI::Status&), int (*)(void*), int (*)(void*, bool), void*)': ../../../ompi/mpi/cxx/request_inln.h:347: warning: declaration 'struct MPI::Grequest_intercept_t' does not declare anything depbase=`echo comm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../opal/include -I../../../orte/include -I../../../ompi/include -I../../../ompi/include -I../../.. -D_REENTRANT -O3 -DNDEBUG -finline-functions -MT comm.lo -MD -MP -MF "$depbase.Tpo" -c -o comm.lo comm.cc; \ then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I../../../opal/include -I../../../orte/include -I../../../ompi/include -I../../../ompi/include -I../../.. -D_REENTRANT -O3 -DNDEBUG -finline-functions -MT comm.lo -MD -MP -MF .deps/comm.Tpo -c comm.cc -fPIC -DPIC -o .libs/comm.o In file included from ../../../ompi/mpi/cxx/mpicxx.h:150, from ../../../ompi/include/mpi.h:1760, from comm.cc:21: ../../../ompi/mpi/cxx/request_inln.h: In static member function 'static MPI::Grequest MPI::Grequest::Start(int (*)(void*, MPI::Status&), int (*)(void*), int (*)(void*, bool), void*)': ../../../ompi/mpi/cxx/request_inln.h:347: warning: declaration 'struct MPI::Grequest_intercept_t' does not declare anything /bin/bash ../../../libtool --tag=CXX --mode=link g++ -O3 -DNDEBUG -finline-functions -export-dynamic -o libmpi_cxx.la -rpath /export/home/drkirkby/sage-4.2/local/lib mpicxx.lo intercepts.lo comm.lo -lsocket -lnsl -lrt -lm -lthread g++ -shared -nostdlib -export-dynamic /opt/kirkby/gcc-4.4.2/bin/../lib/gcc/sparc-sun-solaris2.10/4.4.2/crti.o /usr/ccs/lib/values-Xa.o /opt/kirkby/gcc-4.4.2/bin/../lib/gcc/sparc-sun-solaris2.10/4.4.2/crtbegin.o .libs/mpicxx.o .libs/intercepts.o .libs/comm.o -Wl,-R -Wl,/opt/kirkby/gcc-4.4.2//lib -Wl,-R -Wl,/opt/kirkby/gcc-4.4.2//lib -lsocket -lnsl -lrt -lthread -L/opt/kirkby/gcc-4.4.2/bin/../lib/gcc/sparc-sun-solaris2.10/4.4.2 -L/opt/kirkby/gcc-4.4.2/bin/../lib/gcc -L/export/home/drkirkby/sage-4.2/local/lib -L/usr/ccs/lib -L/opt/kirkby/gcc-4.4.2/bin/../lib/gcc/sparc-sun-solaris2.10/4.4.2/../../.. /opt/kirkby/gcc-4.4.2//lib/libstdc++.so -lm -lgcc_s /opt/kirkby/gcc-4.4.2/bin/../lib/gcc/sparc-sun-solaris2.10/4.4.2/crtend.o /opt/kirkby/gcc-4.4.2/bin/../lib/gcc/sparc-sun-solaris2.10/4.4.2/crtn.o -Wl,-h -Wl,libmpi_cxx.so.0 -o .libs/libmpi_cxx.so.0.0.0 collect2: ld returned 1 exit status make[3]: *** [libmpi_cxx.la] Error 1 make[3]: Leaving directory `/export/home/drkirkby/sage-4.2/spkg/build/openmpi-1.1.4/ompi/mpi/cxx' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/drkirkby/sage-4.2/spkg/build/openmpi-1.1.4/ompi/mpi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/drkirkby/sage-4.2/spkg/build/openmpi-1.1.4/ompi' make: *** [all-recursive] Error 1 Error building real 64m37.134s user 24m1.867s sys 35m30.485s sage: An error occurred while installing openmpi-1.1.4 12) p_group_cohomology-1.1/.hg/store/fncache p_group_cohomology-1.1/.hg/store/00manifest.i p_group_cohomology-1.1/.hg/requires Finished extraction **************************************************** Host system uname -a: SunOS kestrel 5.10 Generic_141444-09 sun4u sparc SUNW,UltraAX-i2 **************************************************** **************************************************** CC Version gcc -v Using built-in specs. Target: sparc-sun-solaris2.10 Configured with: ../gcc-4.4.2/configure --prefix=/opt/kirkby/gcc-4.4.2/ --with-gmp=/usr/local/ --with-mpfr=/usr/local --with-build-time-tools=/usr/ccs/bin --enable-languages=c,c++,fortran Thread model: posix gcc version 4.4.2 (GCC) **************************************************** Failed to find SmallGroups library. Please install the database_gap spkg real 0m0.108s user 0m0.027s sys 0m0.069s sage: An error occurred while installing p_group_cohomology-1.1 13) phc-2.3.39.p0/SPKG.txt Finished extraction **************************************************** Host system uname -a: SunOS kestrel 5.10 Generic_141444-09 sun4u sparc SUNW,UltraAX-i2 **************************************************** **************************************************** CC Version gcc -v Using built-in specs. Target: sparc-sun-solaris2.10 Configured with: ../gcc-4.4.2/configure --prefix=/opt/kirkby/gcc-4.4.2/ --with-gmp=/usr/local/ --with-mpfr=/usr/local --with-build-time-tools=/usr/ccs/bin --enable-languages=c,c++,fortran Thread model: posix gcc version 4.4.2 (GCC) **************************************************** ('SunOS', 'kestrel', '5.10', 'Generic_141444-09', 'sun4u') SunOS sun4u /export/home/drkirkby/sage-4.2/local Traceback (most recent call last): File "./spkg-install", line 22, in <module> os.system('mv ' + 'binaries/phc_' + ARCH + ' ' + sage_local + '/bin/phc') NameError: name 'ARCH' is not defined real 0m0.181s user 0m0.103s sys 0m0.069s sage: An error occurred while installing phc-2.3.39.p0 14) Valgring does not work on non-Linux yet real 0m0.061s user 0m0.017s sys 0m0.040s sage: An error occurred while installing valgrind_3.3.1 > William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---