#8512: Optional database_stein_watkins_mini uses 'cp -v' which fails on Solaris.
---------------------------------+------------------------------------------
   Reporter:  drkirkby           |       Owner:  drkirkby    
       Type:  defect             |      Status:  needs_review
   Priority:  major              |   Milestone:  sage-4.3.4  
  Component:  optional packages  |    Keywords:              
     Author:  David Kirkby       |    Upstream:  N/A         
   Reviewer:                     |      Merged:              
Work_issues:                     |  
---------------------------------+------------------------------------------
Changes (by drkirkby):

  * owner:  tbd => drkirkby


Old description:

> The optional package  "database_stein_watkins_mini" fails to install on
> Solaris 10:
>
> {{{
> database_stein_watkins_mini/spkg-install
> Finished extraction
> ****************************************************
> Host system
> uname -a:
> SunOS redstart 5.10 Generic sun4u sparc SUNW,Sun-Blade-1000
> ****************************************************
> ****************************************************
> CC Version
> gcc -v
> Using built-in specs.
> Target: sparc-sun-solaris2.10
> Configured with: ../gcc-4.4.3/configure --prefix=/usr/local/gcc-4.4.3
> --with-mpfr=/usr/local/gcc-4.4.3 --with-build-time-tools=/usr/ccs/bin
> --with-gmp=/usr/local/gcc-4.4.3 --enable-languages=c,c++,fortran
> Thread model: posix
> gcc version 4.4.3 (GCC)
> ****************************************************
> 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.013s
> user    0m0.004s
> sys     0m0.009s
> sage: An error occurred while installing database_stein_watkins_mini
>
> }}}
> This is because 'cp' uses an illegal option -v, which is not defined by
> POSIX.
>
> http://www.opengroup.org/onlinepubs/9699919799/utilities/cp.html
>
> Since the GNU version of 'cp' only uses the -v option to show what is
> being done, it is not important. Consulting rom the 'cp' man page on
> Linux:
>
> {{{
>        -v, --verbose
>               explain what is being done
> }}}
>
> The -v option can simply be removed.

New description:

 The optional package  "database_stein_watkins_mini" fails to install on
 Solaris 10:
 == Hardware & associated software ==

  * Sun Blade 1000
  * 2 x 900 MHz UltraSPARC III+ CPUs
  * 2 GB RAM
  * Solaris 10 03/2005 (first release of Solaris 10)
  * gcc 4.4.3 (uses Sun linker and assembler)

  == Sage version ==
  * 4.3.4.alpha1
  * Patch #8509 removing the -o option to grep to allow packages to
 install.

  == The problem ==
 {{{
 database_stein_watkins_mini/spkg-install
 Finished extraction
 ****************************************************
 Host system
 uname -a:
 SunOS redstart 5.10 Generic sun4u sparc SUNW,Sun-Blade-1000
 ****************************************************
 ****************************************************
 CC Version
 gcc -v
 Using built-in specs.
 Target: sparc-sun-solaris2.10
 Configured with: ../gcc-4.4.3/configure --prefix=/usr/local/gcc-4.4.3
 --with-mpfr=/usr/local/gcc-4.4.3 --with-build-time-tools=/usr/ccs/bin
 --with-gmp=/usr/local/gcc-4.4.3 --enable-languages=c,c++,fortran
 Thread model: posix
 gcc version 4.4.3 (GCC)
 ****************************************************
 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.013s
 user    0m0.004s
 sys     0m0.009s
 sage: An error occurred while installing database_stein_watkins_mini

 }}}

  == The solution ==
 This is because 'cp' uses an illegal option -v, which is not defined by
 POSIX.

 http://www.opengroup.org/onlinepubs/9699919799/utilities/cp.html

 Since the GNU version of 'cp' only uses the -v option to show what is
 being done, it is not important. Consulting rom the 'cp' man page on
 Linux:

 {{{
        -v, --verbose
               explain what is being done
 }}}

 The -v option can simply be removed.

--

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