Bug#853325: berusky2: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:29:54 UTC 2017


Package: src:berusky2
Version: 0.10-5
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/berusky2_0.10-5_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-7/porting_to.html

[...]
       __bos (__s), __fmt, __va_arg_pack ());
                                           ^
komat/Berusky3d_load.cpp:315:6: warning: '%d' directive writing between 1 and 10 bytes into a region of size 0 [-Wformat-overflow=]
 void ber_materialy_rozkopiruj(G_KONFIG * p_ber, GAME_MESH_OLD * p_mesh,
      ^~~~~~~~~~~~~~~~~~~~~~~~
komat/Berusky3d_load.cpp:315:6: note: directive argument in the range [0, 2147483647]
In file included from /usr/include/stdio.h:938:0,
                 from komat/Berusky3d_load.cpp:4:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:43: note: format output between 3 and 61 bytes into a destination of size 50
       __bos (__s), __fmt, __va_arg_pack ());
                                           ^
Makefile:1262: recipe for target 'Menu.o' failed
make[4]: *** [Menu.o] Error 1
komat/Load.cpp: In function 'EDIT_OBJEKT* slep_objekty(EDIT_OBJEKT*, EDIT_OBJEKT*)':
komat/Load.cpp:418:14: warning: '%s' directive writing between 0 and 49 bytes into a region of size 0 [-Wformat-overflow=]
 EDIT_OBJEKT *slep_objekty(EDIT_OBJEKT * p_obj1, EDIT_OBJEKT * p_obj2)
              ^~~~~~~~~~~~
In file included from /usr/include/stdio.h:938:0,
                 from kofola/apak_types.h:5,
                 from kofola/Apak.h:4,
                 from komat/Load.cpp:6:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:43: note: format output between 2 and 100 bytes into a destination of size 50
       __bos (__s), __fmt, __va_arg_pack ());
                                           ^
komat/Load.cpp: In function 'EDIT_MESH_POLY* lo_nahraj_poly_list(char*, int*, EDIT_TEXT*, EDIT_MATERIAL**, int)':
komat/Load.cpp:3148:17: warning: may write format character 'a' at offset 3 past the end of the destination [-Wformat-overflow=]
 EDIT_MESH_POLY *lo_nahraj_poly_list(char *p_file, int *p_polynum,
                 ^~~~~~~~~~~~~~~~~~~
komat/Load.cpp:3148:17: note: directive argument in the range [0, 2147483647]
In file included from /usr/include/stdio.h:938:0,
                 from kofola/apak_types.h:5,
                 from kofola/Apak.h:4,
                 from komat/Load.cpp:6:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:43: note: format output between 5 and 63 bytes into a destination of size 50
       __bos (__s), __fmt, __va_arg_pack ());
                                           ^
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
Makefile:495: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
Makefile:406: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j64 returned exit code 2
debian/rules:13: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Pkg-games-devel mailing list