Bug#848063: ri-li: FTBFS randomly (Impossible d'initialiser SDL:Couldn't open X11 display)

Santiago Vila sanvila at debian.org
Tue Dec 13 17:08:02 UTC 2016


Package: src:ri-li
Version: 2.0.1+ds-3
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
I: ri-li_2.0.1+ds
dh build-indep --with autoreconf
   dh_testdir -i
   dh_update_autotools_config -i
   dh_autoreconf -i
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:5: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:13: installing './compile'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<BUILDDIR>>/ri-li-2.0.1+ds'
I: ri-li_2.0.1+ds
dh_auto_configure -- \
	--datadir=/usr/share/games/ri-li \
	--bindir=/usr/games
	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --datadir=/usr/share/games/ri-li --bindir=/usr/games
configure: WARNING: unrecognized options: --disable-maintainer-mode
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... none
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for SDL_Init in -lSDL... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for pthread_create in -lpthread... yes
checking for sqrt in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking SDL/SDL.h usability... yes
checking SDL/SDL.h presence... yes
checking for SDL/SDL.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking SDL/SDL_mixer.h usability... yes
checking SDL/SDL_mixer.h presence... yes
checking for SDL/SDL_mixer.h... yes
checking for sqrt... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating Sounds/Makefile
config.status: creating gentoo/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
make[1]: Leaving directory '/<<BUILDDIR>>/ri-li-2.0.1+ds'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<BUILDDIR>>/ri-li-2.0.1+ds'
I: ri-li_2.0.1+ds
dh_auto_build -Ddata-src
	make -j1
make[2]: Entering directory '/<<BUILDDIR>>/ri-li-2.0.1+ds/data-src'
c++ -c -O3 -Wall -Wno-switch -Wno-deprecated -ffast-math -I/usr/X11R6/include -I/usr/include -DLINUX `sdl-config --cflags` -o sprite.o sprite.cc
sprite.cc: In member function 'bool Sprite::Load(char*, char*, int)':
sprite.cc:74:18: warning: variable 'VideoInfo' set but not used [-Wunused-but-set-variable]
   SDL_VideoInfo *VideoInfo;
                  ^~~~~~~~~
sprite.cc: In member function 'bool Sprite::LoadCaractaire(char*)':
sprite.cc:273:18: warning: variable 'VideoInfo' set but not used [-Wunused-but-set-variable]
   SDL_VideoInfo *VideoInfo;
                  ^~~~~~~~~
c++ -c -O3 -Wall -Wno-switch -Wno-deprecated -ffast-math -I/usr/X11R6/include -I/usr/include -DLINUX `sdl-config --cflags` -o main.o main.cc
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
 };
 ^
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:91:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:96:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
 };
 ^
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
 };
 ^
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cc:180:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
c++ -O3 -Wall -Wno-switch -Wno-deprecated -ffast-math -I/usr/X11R6/include -I/usr/include -DLINUX `sdl-config --cflags` main.o sprite.o -o MakeDat -L/usr/lib `sdl-config --libs` -lSDL_image -I./
make[2]: Leaving directory '/<<BUILDDIR>>/ri-li-2.0.1+ds/data-src'
cd data-src && xvfb-run --server-args="-screen 0 1024x768x24" ./MakeDat
Impossible d'initialiser SDL:Couldn't open X11 display
debian/rules:20: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 255
make[1]: Leaving directory '/<<BUILDDIR>>/ri-li-2.0.1+ds'
debian/rules:12: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

It does not always fail, but it fails often enough that it also fails here:

https://buildd.debian.org/status/package.php?p=ri-li

If you need a full build log, just say so, but the failure rate
observed here is around 93%. I guess some build-dependency changed
behaviour since this package was uploaded for the last time 376 days ago.

Thanks.



More information about the Pkg-games-devel mailing list