Commit c3eda60
Release Manager
sagemathgh-36715: build/bin/sage-logger [V=0]: Show more lines of the log of failing builds
When using `make V=0`, we build packages silently, and on errors we
print out the tail of the log. For example, in
https://github.com/sagemath/sage/actions/runs/6842945144/job/18611620859
#step:11:7349
```
[sphinxcontrib_serializinghtml-1.1.5] error installing, exit status 1.
End of log file:
[sphinxcontrib_serializinghtml-1.1.5] │ exit code: 1
[sphinxcontrib_serializinghtml-1.1.5] ╰─> See above for output.
[sphinxcontrib_serializinghtml-1.1.5]
[sphinxcontrib_serializinghtml-1.1.5] note: This error originates
from a subprocess, and is likely not a problem with pip.
[sphinxcontrib_serializinghtml-1.1.5] full command:
/sage/local/var/lib/sage/venv-python3.9/bin/python3 -c '
[sphinxcontrib_serializinghtml-1.1.5] exec(compile('"'"''"'"''"'"'
```
But as this example shows, the current setting of showing 72 lines is no
longer suitable for Python packages. It only shows lengthy output from a
setuptools wrapper and boilerplate apologies from pip.
The real error message appears earlier, as can be seen in the full
printout of the log: https://github.com/sagemath/sage/actions/runs/68429
45144/job/18611620859#step:14:8095
Here we increase it from 72 lines to 120 lines, which should still be OK
for output on the terminal.
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes sagemath#1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->
<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes sagemath#12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->
### 📝 Checklist
<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->
- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.
### ⌛ Dependencies
<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
URL: sagemath#36715
Reported by: Matthias Köppe
Reviewer(s): John H. PalmieriFile tree
3 files changed
+5
-5
lines changed- build
- bin
- pkgs/configure
3 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments