1 | | in `build/make/install`. |
| 1 | This 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 | |
| 7 | Example output: |
| 8 | {{{ |
| 9 | Error building Sage. |
| 10 | |
| 11 | The following package(s) may have failed to build (not necessarily |
| 12 | during 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 | |
| 32 | It is safe to delete any log files and build directories, but they |
| 33 | contain information that is helpful for debugging build problems. |
| 34 | WARNING: If you now run 'make' again, the build directory of the |
| 35 | same version of the package will, by default, be deleted. Set the |
| 36 | environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. |
| 37 | |
| 38 | make: *** [xyzzy] Error 1 |
| 39 | }}} |