Currently if a package fails to build in Sage, one gets a message like:

============================
sage: An error occurred while installing pynac-0.2.0.p3
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /export/home/drkirkby/sage-4.5.alpha0/install.log. Describe your computer, operating system, etc.
==========================


It would be quite easy to make that a bit more informatative, and dump at least some basic information, like the output of 'uname -a' and /etc/release (Solaris), /etc/issue (Linux).

That way, if someone posts their failed build, we already have some information.

Then we change the above wording to

===============================================
sage: An error occurred while installing pynac-0.2.0.p3
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and preserving the rest of this error message, which will aid the Sage developers to help you resolve the problem.

SunOS hawk 5.11 snv_134 i86pc i386 i86pc

                       OpenSolaris Development snv_134 X86
           Copyright 2010 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                             Assembled 01 March 2010

Memory size: 12279 Megabytes

  7:56am  up 19 day(s), 11:56,  2 users,  load average: 0.07, 0.10, 0.11

Physical processors: 1

Cores: 4

Threads: 8

Processor speed: 3325 MHz

 kthr      memory            page            disk          faults      cpu
 r b w   swap  free  re  mf pi po fr de sr lf s0 s1 s2   in   sy   cs us sy id
 0 0 0 6042992 1462324 300 2344 0 0 0 0  4  0  0  8 16 9970 403608 1423 6 4 90

  tty       lofi1          sd0           sd1           sd2            cpu
 tin tout kps tps serv  kps tps serv  kps tps serv  kps tps serv   us sy wt id
   0  737   0   0    3    3   0    0  152   8    4  1221  16   11    6  4  0 90

CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  0  270   0 1384  1991  145  197    2    7    6    0 28751    5   4   0  92
  1  267   0 1081  1205   34  220    2    8    6    0 46942    5   4   0  91
  2  286   0 1074  1566   43  165    2    6    5    0 51322    6   5   0  89
  3  260   0 1540  1501  170  184    2    7    6    0 68906    7   7   0  86
  4  356   0  746  1000   39  194    1    8    6    0 57084    6   5   0  89
  5  322   0  495   923   26  150    1    6    5    0 47470    4   3   0  92
  6  275   0  898   940   36  185    1    7    5    0 52295    6   5   0  89
  7  308   0  612   842   32  128    1    6    5    0 50816    5   4   0  91

Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: /export/home/drkirkby/gcc-4.4.4/configure --prefix=/usr/local/gcc-4.4.4-multilib --enable-languages=c,c++,fortran --with-gmp=/usr/local/gcc-4.4.4-multilib --with-mpfr=/usr/local/gcc-4.4.4-multilib --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.4.4 (GCC)

  pool: bpool
 state: ONLINE
 scrub: scrub completed after 4h43m with 0 errors on Fri Jun 25 08:15:41 2010
config:

        NAME        STATE     READ WRITE CKSUM
        bpool       ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            c7t3d0  ONLINE       0     0     0
            c7t4d0  ONLINE       0     0     0

errors: No known data errors

  pool: rpool
 state: ONLINE
 scrub: scrub completed after 0h51m with 0 errors on Fri Jun 25 04:23:29 2010
config:

        NAME          STATE     READ WRITE CKSUM
        rpool         ONLINE       0     0     0
          mirror-0    ONLINE       0     0     0
            c7t1d0s0  ONLINE       0     0     0
            c7t2d0s0  ONLINE       0     0     0

errors: No known data errors

Filesystem             size   used  avail capacity  Mounted on
rpool/ROOT/opensolaris-8
                       457G    16G   392G     4%    /
/devices                 0K     0K     0K     0%    /devices
/dev                     0K     0K     0K     0%    /dev
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   5.6G   372K   5.6G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                       408G    16G   392G     4%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   5.9G   273M   5.6G     5%    /tmp
swap                   5.6G    76K   5.6G     1%    /var/run
bpool                  1.8T    21K   982G     1%    /bpool
bpool/chess            1.8T   200G   982G    17%    /chess
bpool/downloads        1.8T   2.4G   982G     1%    /downloads
rpool/export           457G    23K   392G     1%    /export
rpool/export/home      457G    25G   392G     6%    /export/home
bpool/users            1.8T   306G   982G    24%    /export/home/drkirkby
bpool/sage             1.8T    21K   982G     1%    /export/home/drkirkby/sage
bpool/jaap             1.8T    15G   982G     2%    /export/home/jaap
bpool/madler           1.8T    27K   982G     1%    /export/home/madler
bpool/mvngu            1.8T   360M   982G     1%    /export/home/mvngu
bpool/old-swan         1.8T    54G   982G     6%    /old-swan
bpool/onair            1.8T   2.8G   982G     1%    /onair
rpool                  457G    86K   392G     1%    /rpool
bpool/sage-downloads   1.8T   1.3G   982G     1%    /sage-downloads
bpool/shared           1.8T    18G   982G     2%    /shared
bpool/local            1.8T   9.8G   982G     1%    /usr/local
bpool/virtual-machines
                       1.8T   100G   982G    10%    /virtual-machines
bpool/zones            1.8T    26K   982G     1%    /zones
df: cannot statvfs /zones/apache: Permission denied
bpool/writeable        1.8T    21K   982G     1%    /writeable
df: cannot statvfs /zones/sage: Permission denied
df: cannot statvfs /zones/sage/root: Permission denied

================================================


--
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

Reply via email to