#8216: Make David Perkinson's sandpile 2.0 module an optional package
---------------------------------+------------------------------------------
   Reporter:  mhampton           |       Owner:  tbd       
       Type:  enhancement        |      Status:  needs_work
   Priority:  major              |   Milestone:  sage-4.3.3
  Component:  optional packages  |    Keywords:  sandpile  
     Author:                     |    Upstream:  N/A       
   Reviewer:                     |      Merged:            
Work_issues:                     |  
---------------------------------+------------------------------------------
Changes (by drkirkby):

  * status:  needs_review => needs_work


Comment:

 My understanding was that experimental packages did not require a vote,
 but optional did. As such, this would require a vote.

 This is severely broken on Solaris, but reports it is successfully
 installed. One obvious problem is the use of a non-POSIX option to grep.

 {{{
 sandpile-2.0/src/
 sandpile-2.0/src/sandpile.py
 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)
 ****************************************************
 Installing glpk-4.38.p4
 Calling sage-spkg on glpk-4.38.p4
 Warning: Attempted to overwrite SAGE_ROOT environment variable
 glpk-4.38.p4
 Machine:
 SunOS redstart 5.10 Generic sun4u sparc SUNW,Sun-Blade-1000
 Deleting directories from past builds of previous/current versions of
 glpk-4.38.p4
 /export/home/drkirkby/sage-4.3.3.alpha1/local/bin/sage-spkg: file
 glpk-4.38.p4 does not exist
 Attempting to download it.
 grep: illegal option -- o
 Usage: grep -hblcnsviw pattern file . . .
 Searching for latest version of glpk-4.38.p4
 Traceback (most recent call last):
   File "/export/home/drkirkby/sage-4.3.3.alpha1/local/bin/sage-latest-
 online-package", line 54, in <module>
     packages = spkg_list(repository)
   File "/export/home/drkirkby/sage-4.3.3.alpha1/local/bin/sage-latest-
 online-package", line 43, in spkg_list
     data = urllib2.urlopen(web_url)
   File
 "/export/home/drkirkby/sage-4.3.3.alpha1/local/lib/python/urllib2.py",
 line 124, in urlopen
     return _opener.open(url, data, timeout)
   File
 "/export/home/drkirkby/sage-4.3.3.alpha1/local/lib/python/urllib2.py",
 line 389, in open
     response = self._open(req, data)
   File
 "/export/home/drkirkby/sage-4.3.3.alpha1/local/lib/python/urllib2.py",
 line 407, in _open
     '_open', req)
   File
 "/export/home/drkirkby/sage-4.3.3.alpha1/local/lib/python/urllib2.py",
 line 367, in _call_chain
     result = func(*args)
   File
 "/export/home/drkirkby/sage-4.3.3.alpha1/local/lib/python/urllib2.py",
 line 1146, in http_open
     return self.do_open(httplib.HTTPConnection, req)
   File
 "/export/home/drkirkby/sage-4.3.3.alpha1/local/lib/python/urllib2.py",
 line 1121, in do_open
     raise URLError(err)
 urllib2.URLError: <urlopen error [Errno 8] node name or service name not
 known>

 Installing 4ti2.p0
 Calling sage-spkg on 4ti2.p0
 Warning: Attempted to overwrite SAGE_ROOT environment variable
 4ti2.p0
 Machine:
 SunOS redstart 5.10 Generic sun4u sparc SUNW,Sun-Blade-1000
 Deleting directories from past builds of previous/current versions of
 4ti2.p0
 /export/home/drkirkby/sage-4.3.3.alpha1/local/bin/sage-spkg: file 4ti2.p0
 does not exist
 Attempting to download it.
 grep: illegal option -- o
 Usage: grep -hblcnsviw pattern file . . .
 Searching for latest version of 4ti2.p0
 Traceback (most recent call last):
   File "/export/home/drkirkby/sage-4.3.3.alpha1/local/bin/sage-latest-
 online-package", line 54, in <module>
     packages = spkg_list(repository)
   File "/export/home/drkirkby/sage-4.3.3.alpha1/local/bin/sage-latest-
 online-package", line 43, in spkg_list
     data = urllib2.urlopen(web_url)
   File
 "/export/home/drkirkby/sage-4.3.3.alpha1/local/lib/python/urllib2.py",
 line 124, in urlopen
     return _opener.open(url, data, timeout)
   File
 "/export/home/drkirkby/sage-4.3.3.alpha1/local/lib/python/urllib2.py",
 line 389, in open
     response = self._open(req, data)
   File
 "/export/home/drkirkby/sage-4.3.3.alpha1/local/lib/python/urllib2.py",
 line 407, in _open
     '_open', req)
   File
 "/export/home/drkirkby/sage-4.3.3.alpha1/local/lib/python/urllib2.py",
 line 367, in _call_chain
     result = func(*args)
   File
 "/export/home/drkirkby/sage-4.3.3.alpha1/local/lib/python/urllib2.py",
 line 1146, in http_open
     return self.do_open(httplib.HTTPConnection, req)
   File
 "/export/home/drkirkby/sage-4.3.3.alpha1/local/lib/python/urllib2.py",
 line 1121, in do_open
     raise URLError(err)
 urllib2.URLError: <urlopen error [Errno 8] node name or service name not
 known>


 real    0m1.394s
 user    0m0.631s
 sys     0m0.710s
 Successfully installed sandpile-2.0
 }}}

 It would need to be able to build on Solaris before it could be
 incorporated into Sage

 There's general information about building on Solaris at

   http://wiki.sagemath.org/solaris

  Information specifically for 't2' at

   http://wiki.sagemath.org/devel/Building-Sage-on-the-T5240-t2

  Both the source (4.3.0.1 is the latest to build on Solaris) and a binary
  which will run on any SPARC can be found at http://www.sagemath.org
  /download-source.html

  Dave

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