2.3.4+dfsg.1-2 is FTBFS
Bug #1932103 reported by
Robert Ancell
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
notcurses (Debian) |
Fix Released
|
Undecided
|
nick black | ||
notcurses (Ubuntu) |
Fix Released
|
Undecided
|
nick black |
Bug Description
Fails to build due to the terminal being too small:
notcurses 2.3.4 by nick black et al on XTerm[34m
20 rows 76 cols (23.75KiB) 48B crend 8 colors
compiled with gcc-10.3.0, 16B little-endian cells
terminfo from ncurses 6.2.20201114
avformat 58.45.100 avutil 56.51.100 swscale 5.7.100
...
At least an 76x24 terminal is required (current: 76x20)
This is due to the build server simulating an 24x80 terminal, and the test running with a margin of 2, which causes it to be too small. Proposed solution is to only use left and right margins to leave enough rows to run the test.
To post a comment you must log in.
Fix is to replace debian/ test/control:
# Execute notcurses-demo with:
# -c: seed PRNG with known constant for semi-reproducible timings
# -m2: use 2-cell margins on all sides (to test margins)
# -d0: delay multiplier of 0 (no artificial delays)
Test-Command: TERM=xterm notcurses-demo -c -m2 -d0
Depends: notcurses-bin
Restrictions: allow-stderr, flaky
Features: test-name=demo
with:
# Execute notcurses-demo with:
# -c: seed PRNG with known constant for semi-reproducible timings
# -m0,2,0,2: use 2-cell margins on left and right sides (to test margins)
# -d0: delay multiplier of 0 (no artificial delays)
Test-Command: TERM=xterm notcurses-demo -c -m0,2,0,2 -d0
Depends: notcurses-bin
Restrictions: allow-stderr, flaky
Features: test-name=demo