Bug#1142859: xsnow FTBFS on the slower riscv64 buildds

Adrian Bunk <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <178510224956.2324401.9933699031079577737.reportbug__26743.6498006404$1785102438$gmane$org@localhost>
Source: xsnow
Version: 1:3.9.3-1
Severity: serious
Tags: ftbfs patch
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: riscv64

https://buildd.debian.org/status/logs.php?pkg=xsnow&ver=1%3A3.9.3-1&arch=riscv64&suite=sid

...
NOT FOUND: id-NoSanta
FAILED NoSanta 1, got: 0
PASSED NoTrees 0
FAILED NoTrees 1, got: 0
PASSED Stars 1
FAILED Stars 0, got: 1
PASSED ShowBirds 1
PASSED ShowBirds 0
WARNING: Glycin running without sandbox.
PASSED ThemeXsnow 1
FAILED ThemeXsnow 0, got: 1
Xsnow: halting because of existence of '/build/reproducible-path/xsnow-3.9.3/debian/.debhelper/generated/_source/home/.xsnowstop'

Thanks for using xsnow
Not ok: number of failed tests: 7
FAIL test2.sh (exit status: 1)

============================================================================
Testsuite summary for xsnow 3.9.3
============================================================================
# TOTAL: 2
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See src/test-suite.log for debugging.
Some test(s) failed.  Please report this to [email protected],
together with the test-suite.log file (gzipped) and your system
information.  Thanks.
============================================================================
make[6]: *** [Makefile:1605: test-suite.log] Error 1


I had to increase the maximum retry in waitfor() by a factor of 10
for a stable build (see attached patch).


BTW:
test{1.2}.sh shouldn't be copied under debian/tests/, instead
  Tests-Directory: src
could be added to debian/tests/control
test2-waitfor.patch (text/plain, 332 B)
Description: test2.sh: retry longer in waitfor()
Author: Adrian Bunk <[email protected]>

--- xsnow-3.9.3.orig/src/test2.sh
+++ xsnow-3.9.3/src/test2.sh
@@ -128,7 +128,7 @@ fi
 waitfor()
 {
    local i
-   for i in `seq 20` ; do
+   for i in `seq 200` ; do
       #echo waitfor $1 $i
       sleep 1
       if test -f "$rcfile" ; then
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.