Changes between Initial Version and Version 10 of Ticket #28755


Ignore:
Timestamp:
Jan 24, 2020, 3:53:28 PM (3 years ago)
Author:
mkoeppe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28755

    • Property Status changed from new to needs_review
    • Property Authors changed from to Matthias Koeppe
    • Property Cc saraedum added
    • Property Summary changed from "The following package(s) may have failed to build": Show timestamps of logfiles to "The following package(s) may have failed to build": Improve output
    • Property Branch changed from to u/mkoeppe/28755-show-timestamps-of-logfiles
    • Property Milestone changed from sage-9.0 to sage-9.1
    • Property Commit changed from to f48951bd789931620f35ef56d79f53ffd034138b
  • Ticket #28755 – Description

    initial v10  
    1 in `build/make/install`.
     1This ticket improves the build error summary printed by `build/make/install`:
     2- timestamps of the log files are shown, and packages are sorted chronologically by build time
     3- build directory names are only printed if the directories still exist
     4- some alignment for prettier output
     5- rephrasing a message to make it clear that log files and build directories can be safely deleted.
     6
     7Example output:
     8{{{
     9Error building Sage.
     10
     11The following package(s) may have failed to build (not necessarily
     12during this run of 'make xyzzy'):
     13
     14* package:         sage_numerical_backends_gurobi-9.0b9
     15  last build time: Dec 25 10:52
     16  log file:        /Users/mkoeppe/s/sage/sage-rebasing/worktree-algebraic-2018-spring/logs/pkgs/sage_numerical_backends_gurobi-9.0b9.log
     17
     18* package:         sage_numerical_backends_cplex-9.0b9
     19  last build time: Dec 25 10:52
     20  log file:        /Users/mkoeppe/s/sage/sage-rebasing/worktree-algebraic-2018-spring/logs/pkgs/sage_numerical_backends_cplex-9.0b9.log
     21
     22* package:         sage_numerical_backends_gurobi-9.0b12
     23  last build time: Jan 12 18:53
     24  log file:        /Users/mkoeppe/s/sage/sage-rebasing/worktree-algebraic-2018-spring/logs/pkgs/sage_numerical_backends_gurobi-9.0b12.log
     25  build directory: /Users/mkoeppe/s/sage/sage-rebasing/worktree-algebraic-2018-spring/local/var/tmp/sage/build/sage_numerical_backends_gurobi-9.0b12
     26
     27* package:         gcc-9.2.0
     28  last build time: Jan 24 10:45
     29  log file:        /Users/mkoeppe/s/sage/sage-rebasing/worktree-algebraic-2018-spring/logs/pkgs/gcc-9.2.0.log
     30  build directory: /Users/mkoeppe/s/sage/sage-rebasing/worktree-algebraic-2018-spring/local/var/tmp/sage/build/gcc-9.2.0
     31
     32It is safe to delete any log files and build directories, but they
     33contain information that is helpful for debugging build problems.
     34WARNING: If you now run 'make' again, the build directory of the
     35same version of the package will, by default, be deleted. Set the
     36environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
     37
     38make: *** [xyzzy] Error 1
     39}}}