Package: src:ri-li Version: 2.0.1+ds-1 User: sanv...@debian.org Usertags: binary-indep Severity: important
Dear maintainer: I tried to build this package with "dpkg-buildpackage -A" (i.e. only architecture-independent packages), and it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep I: ri-li_2.0.1+ds dh build-indep --with autoreconf dh_testdir -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 [... snipped ...] make[1]: Leaving directory '/<<BUILDDIR>>/ri-li-2.0.1+ds' dh_auto_test -i make -j1 check make[1]: Entering directory '/<<BUILDDIR>>/ri-li-2.0.1+ds' Making check in src make[2]: Entering directory '/<<BUILDDIR>>/ri-li-2.0.1+ds/src' g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/games/ri-li/Ri-li\"" -Wno-deprecated -D_FORTIFY_SOURCE=2 -DLINUX -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o audio.o audio.cc g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/games/ri-li/Ri-li\"" -Wno-deprecated -D_FORTIFY_SOURCE=2 -DLINUX -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o ecran.o ecran.cc g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/games/ri-li/Ri-li\"" -Wno-deprecated -D_FORTIFY_SOURCE=2 -DLINUX -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o editeur.o editeur.cc g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/games/ri-li/Ri-li\"" -Wno-deprecated -D_FORTIFY_SOURCE=2 -DLINUX -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o jeux.o jeux.cc g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/games/ri-li/Ri-li\"" -Wno-deprecated -D_FORTIFY_SOURCE=2 -DLINUX -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o loco.o loco.cc g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/games/ri-li/Ri-li\"" -Wno-deprecated -D_FORTIFY_SOURCE=2 -DLINUX -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o main.o main.cc g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/games/ri-li/Ri-li\"" -Wno-deprecated -D_FORTIFY_SOURCE=2 -DLINUX -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o menu.o menu.cc g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/games/ri-li/Ri-li\"" -Wno-deprecated -D_FORTIFY_SOURCE=2 -DLINUX -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o mouse.o mouse.cc g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/games/ri-li/Ri-li\"" -Wno-deprecated -D_FORTIFY_SOURCE=2 -DLINUX -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o sprite.o sprite.cc g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/games/ri-li/Ri-li\"" -Wno-deprecated -D_FORTIFY_SOURCE=2 -DLINUX -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o tableau.o tableau.cc g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/games/ri-li/Ri-li\"" -Wno-deprecated -D_FORTIFY_SOURCE=2 -DLINUX -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o utils.o utils.cc utils.cc: In function 'long int ChargeFichier(const char*, unsigned char*&)': utils.cc:119:41: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(Po,1,(unsigned int)Compt,file); ^ g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o Ri_li audio.o ecran.o editeur.o jeux.o loco.o main.o menu.o mouse.o sprite.o tableau.o utils.o -lm -lpthread -lSDL_mixer -lSDL make[2]: Leaving directory '/<<BUILDDIR>>/ri-li-2.0.1+ds/src' Making check in data make[2]: Entering directory '/<<BUILDDIR>>/ri-li-2.0.1+ds/data' make[2]: *** No rule to make target 'sprites.dat', needed by 'all-am'. Stop. make[2]: Leaving directory '/<<BUILDDIR>>/ri-li-2.0.1+ds/data' Makefile:409: recipe for target 'check-recursive' failed make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory '/<<BUILDDIR>>/ri-li-2.0.1+ds' dh_auto_test: make -j1 check returned exit code 2 debian/rules:10: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- Sorry not to have a fix, as I am reporting many bugs similar to this one. The common hints are: * If the only architecture-independent packages are dummy transitional ones and they were released with jessie, the easy fix is to drop them now. * When using "dh", it is allowed to use (independently) optional targets override_dh_foo-arch and override_dh_foo-indep (for several values of "foo"). Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work properly, the package would be suitable to be uploaded in source-only form if you wish. Thanks.