#12729: decrease the size of SAGE_ROOT/install.log
---------------------------------+------------------------------------------
       Reporter:  jhpalmieri     |         Owner:  GeorgSWeber 
           Type:  enhancement    |        Status:  needs_review
       Priority:  minor          |     Milestone:  sage-5.0    
      Component:  build          |    Resolution:              
       Keywords:                 |   Work issues:              
Report Upstream:  N/A            |     Reviewers:              
        Authors:  John Palmieri  |     Merged in:              
   Dependencies:  #12369         |      Stopgaps:              
---------------------------------+------------------------------------------
Changes (by jhpalmieri):

  * status:  new => needs_review


Old description:

> The main install.log file is huge, and most of its contents are
> reproduced, more helpfully, in the individual log files in spkg/log/. The
> attached patch removes most of its contents.
>
> I modified the mpir package so it would fail, and then built Sage with
> this patch. The install.log file looked like this:
> {{{
> Installing GCC because your 'gcc' is not so recent.
> Installing GCC because a Fortran compiler is missing.
> *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
>
>     [...snip...]
>
> ***********************************************
> dir-0.1: installing. Log file: SAGE_ROOT/spkg/logs/dir-0.1.log.
>   dir-0.1: installed successfully.
> prereq-0.9: installing. Log file: SAGE_ROOT/spkg/logs/prereq-0.9.log.
>   prereq-0.9: installed successfully.
> bzip2-1.0.5: installing. Log file: SAGE_ROOT/spkg/logs/bzip2-1.0.5.log.
>   bzip2-1.0.5: installed successfully.
> patch-2.5.9.p2: installing. Log file:
> SAGE_ROOT/spkg/logs/patch-2.5.9.p2.log.
>   patch-2.5.9.p2: installed successfully.
> iconv-1.13.1.p3: installing. Log file:
> SAGE_ROOT/spkg/logs/iconv-1.13.1.p3.log.
> zlib-1.2.5.p0: installing. Log file:
> SAGE_ROOT/spkg/logs/zlib-1.2.5.p0.log.
>   iconv-1.13.1.p3: installed successfully.
> mpir-2.1.3.p9: installing. Log file:
> SAGE_ROOT/spkg/logs/mpir-2.1.3.p9.log.
>   zlib-1.2.5.p0: installed successfully.
> make[1]: *** [installed/mpir-2.1.3.p9] Error 1
>
> real    0m38.531s
> user    0m17.554s
> sys     0m10.304s
> }}}
> On the screen, you do not see the list of environment variables or the
> status updates for each package ("PKG: installing. Log file ...");
> instead, you see the ongoing build process for each package, just the way
> things are now.

New description:

 The main install.log file is huge, and most of its contents are
 reproduced, more helpfully, in the individual log files in spkg/log/. The
 attached patch removes most of its contents.

 I modified the mpir package so it would fail, and then built Sage with
 this patch. The install.log file looked like this:
 {{{
 Installing GCC because your 'gcc' is not so recent.
 Installing GCC because a Fortran compiler is missing.
 *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***

     [...snip...]

 ***********************************************
 dir-0.1: installing. Log file: SAGE_ROOT/spkg/logs/dir-0.1.log.
   dir-0.1: installed successfully.
 prereq-0.9: installing. Log file: SAGE_ROOT/spkg/logs/prereq-0.9.log.
   prereq-0.9: installed successfully.
 bzip2-1.0.5: installing. Log file: SAGE_ROOT/spkg/logs/bzip2-1.0.5.log.
   bzip2-1.0.5: installed successfully.
 patch-2.5.9.p2: installing. Log file:
 SAGE_ROOT/spkg/logs/patch-2.5.9.p2.log.
   patch-2.5.9.p2: installed successfully.
 iconv-1.13.1.p3: installing. Log file:
 SAGE_ROOT/spkg/logs/iconv-1.13.1.p3.log.
 zlib-1.2.5.p0: installing. Log file:
 SAGE_ROOT/spkg/logs/zlib-1.2.5.p0.log.
   iconv-1.13.1.p3: installed successfully.
 mpir-2.1.3.p9: installing. Log file:
 SAGE_ROOT/spkg/logs/mpir-2.1.3.p9.log.
   zlib-1.2.5.p0: installed successfully.
 make[1]: *** [installed/mpir-2.1.3.p9] Error 1

 real    0m38.531s
 user    0m17.554s
 sys     0m10.304s
 }}}
 On the screen, you do not see the list of environment variables or the
 status updates for each package ("PKG: installing. Log file ...");
 instead, you see the ongoing build process for each package, just the way
 things are now.

 -------

 Apply [attachment:trac_12729-small-install-log.patch] to the root
 repository.

 Note: this depends on #12369, so it might be best to grab the tarball in
 that ticket's description. You can then apply this right after unpacking
 the tarball.

--

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