build/bin/sage-logger [V=0]: Show more lines of the log of failing builds #36715
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When using
make V=0
, we build packages silently, and on errors we print out the tail of the log. For example, inhttps://github.com/sagemath/sage/actions/runs/6842945144/job/18611620859#step:11:7349
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/6842945144/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.
📝 Checklist
⌛ Dependencies