#10288: Experimental package 'CHomP' fails to install on OpenSolaris x86
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  drkirkby       
       Type:  defect    |      Status:  positive_review
   Priority:  major     |   Milestone:  sage-4.6.1     
  Component:  solaris   |    Keywords:                 
     Author:            |    Upstream:  N/A            
   Reviewer:            |      Merged:                 
Work_issues:            |  
------------------------+---------------------------------------------------
Changes (by drkirkby):

  * status:  needs_review => positive_review


Comment:

 Sorry John.

 This is odd. When I try to install with 'sage -i', the variable SAGE64 was
 ignored, which concluded me to believe you had not updated the .spkg.

 {{{
 drkir...@hawk:~/sage-4.6.1.alpha2$ export SAGE64=yes
 drkir...@hawk:~/sage-4.6.1.alpha2$ ./sage -i
 http://sage.math.washington.edu/home/palmieri/SPKG/chomp-20100213.p2.spkg
 Building Sage on Solaris in 64-bit mode
 Creating SAGE_LOCAL/lib/sage-64.txt since it does not exist
 Detected SAGE64 flag
 Building Sage on Solaris in 64-bit mode
 Installing
 http://sage.math.washington.edu/home/palmieri/SPKG/chomp-20100213.p2.spkg
 Calling sage-spkg on
 http://sage.math.washington.edu/home/palmieri/SPKG/chomp-20100213.p2.spkg
 Warning: Attempted to overwrite SAGE_ROOT environment variable
 Building Sage on Solaris in 64-bit mode
 Creating SAGE_LOCAL/lib/sage-64.txt since it does not exist
 Detected SAGE64 flag
 Building Sage on Solaris in 64-bit mode
 chomp-20100213.p2
 Machine:
 SunOS hawk 5.11 snv_134 i86pc i386 i86pc
 Deleting directories from past builds of previous/current versions of
 chomp-20100213.p2
 Extracting package
 /export/home/drkirkby/sage-4.6.1.alpha2/spkg/optional/chomp-20100213.p2.spkg
 ...
 -rw-r--r--   1 drkirkby staff     804047 Nov 19 01:23
 /export/home/drkirkby/sage-4.6.1.alpha2/spkg/optional/chomp-20100213.p2.spkg
 Finished extraction
 ****************************************************
 Host system
 uname -a:
 SunOS hawk 5.11 snv_134 i86pc i386 i86pc
 ****************************************************
 ****************************************************
 CC Version
 gcc -v
 Using built-in specs.
 COLLECT_GCC=/usr/local/gcc-4.5.0/bin/gcc
 COLLECT_LTO_WRAPPER=/usr/local/gcc-4.5.0/libexec/gcc/i386-pc-
 solaris2.10/4.5.0/lto-wrapper
 Target: i386-pc-solaris2.10
 Configured with: ../gcc-4.5.0/configure --prefix=/usr/local/gcc-4.5.0
 --build=i386-pc-solaris2.10 --enable-languages=c,c++,fortran --with-
 gmp=/usr/local/gcc-4.5.0 --with-mpfr=/usr/local/gcc-4.5.0 --disable-nls
 --enable-checking=release --enable-werror=no --enable-multilib -with-
 system-zlib --enable-bootstrap --with-gnu-as --with-
 as=/usr/local/binutils-2.20/bin/as --without-gnu-ld --with-
 ld=/usr/ccs/bin/ld
 Thread model: posix
 gcc version 4.5.0 (GCC)
 ****************************************************
 make -C make target=sun
 make[1]: Entering directory
 `/export/home/drkirkby/sage-4.6.1.alpha2/spkg/build/chomp-20100213.p2/src/make'
 make -f makemain target=sun module=bitmaps
 make[2]: Entering directory
 `/export/home/drkirkby/sage-4.6.1.alpha2/spkg/build/chomp-20100213.p2/src/make'
 g++ -O2 -ansi -pedantic -Wall -I../include  -o ../obj/bitmaps/bitmaps.o -c
 \
         ../src/bitmaps/bitmaps.cpp
 ar cru ../lib/libchompbitmaps.a ../obj/bitmaps/bitmaps.o
 ranlib ../lib/libchompbitmaps.a
 make[2]: Leaving directory
 `/export/home/drkirkby/sage-4.6.1.alpha2/spkg/build/chomp-20100213.p2/src/make'
 make -f makemain target=sun module=capd-auxil
 make[2]: Entering directory
 `/export/home/drkirkby/sage-4.6.1.alpha2/spkg/build/chomp-20100213.p2/src/make'
 g++ -O2 -ansi -pedantic -Wall -I../include  -o ../obj/capd-auxil/memSize.o
 -c \
         ../src/capd-auxil/memSize.cpp
 }}}

 '''i.e. there are not -m64's anywhere'''

 Now having copied the spkg to /tmp


 {{{
 drkir...@hawk:~/sage-4.6.1.alpha2$ ./sage -f /tmp/chomp-20100213.p2.spkg
 Building Sage on Solaris in 64-bit mode
 Creating SAGE_LOCAL/lib/sage-64.txt since it does not exist
 Detected SAGE64 flag
 Building Sage on Solaris in 64-bit mode
 Force installing /tmp/chomp-20100213.p2.spkg
 Calling sage-spkg on /tmp/chomp-20100213.p2.spkg
 Warning: Attempted to overwrite SAGE_ROOT environment variable
 Building Sage on Solaris in 64-bit mode
 Creating SAGE_LOCAL/lib/sage-64.txt since it does not exist
 Detected SAGE64 flag
 Building Sage on Solaris in 64-bit mode
 chomp-20100213.p2
 Machine:
 SunOS hawk 5.11 snv_134 i86pc i386 i86pc
 Deleting directories from past builds of previous/current versions of
 chomp-20100213.p2
 Extracting package /tmp/chomp-20100213.p2.spkg ...
 -rw-r--r--   1 drkirkby staff     803975 Nov 21 01:08
 /tmp/chomp-20100213.p2.spkg
 Finished extraction
 ****************************************************
 Host system
 uname -a:
 SunOS hawk 5.11 snv_134 i86pc i386 i86pc
 ****************************************************
 ****************************************************
 CC Version
 gcc -v
 Using built-in specs.
 COLLECT_GCC=/usr/local/gcc-4.5.0/bin/gcc
 COLLECT_LTO_WRAPPER=/usr/local/gcc-4.5.0/libexec/gcc/i386-pc-
 solaris2.10/4.5.0/lto-wrapper
 Target: i386-pc-solaris2.10
 Configured with: ../gcc-4.5.0/configure --prefix=/usr/local/gcc-4.5.0
 --build=i386-pc-solaris2.10 --enable-languages=c,c++,fortran --with-
 gmp=/usr/local/gcc-4.5.0 --with-mpfr=/usr/local/gcc-4.5.0 --disable-nls
 --enable-checking=release --enable-werror=no --enable-multilib -with-
 system-zlib --enable-bootstrap --with-gnu-as --with-
 as=/usr/local/binutils-2.20/bin/as --without-gnu-ld --with-
 ld=/usr/ccs/bin/ld
 Thread model: posix
 gcc version 4.5.0 (GCC)
 ****************************************************
 make -C make target=sun
 make[1]: Entering directory
 `/export/home/drkirkby/sage-4.6.1.alpha2/spkg/build/chomp-20100213.p2/src/make'
 make -f makemain target=sun module=bitmaps
 make[2]: Entering directory
 `/export/home/drkirkby/sage-4.6.1.alpha2/spkg/build/chomp-20100213.p2/src/make'
 g++  -m64 -O2 -pedantic -Wall -I../include  -o ../obj/bitmaps/bitmaps.o -c
 \
         ../src/bitmaps/bitmaps.cpp
 ar cru ../lib/libchompbitmaps.a ../obj/bitmaps/bitmaps.o
 ranlib ../lib/libchompbitmaps.a
 make[2]: Leaving directory
 `/export/home/drkirkby/sage-4.6.1.alpha2/spkg/build/chomp-20100213.p2/src/make'
 make -f makemain target=sun module=capd-auxil
 make[2]: Entering directory
 `/export/home/drkirkby/sage-4.6.1.alpha2/spkg/build/chomp-20100213.p2/src/make'
 g++  -m64 -O2 -pedantic -Wall -I../include  -o ../obj/capd-auxil/memSize.o
 -c \
         ../src/capd-auxil/memSize.cpp
 g++  -m64 -O2 -pedantic -Wall -I../include  -o ../obj/capd-
 auxil/ofstreamcout.o -c \
         ../src/capd-auxil/ofstreamcout.cpp

 }}}

 Very odd. But positive review.

 Thank you for fixing this.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10288#comment:17>
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