Bug#906345: colobot: FTBFS in buster/sid

Santiago Vila sanvila at debian.org
Fri Aug 17 12:19:17 BST 2018


Package: src:colobot
Version: 0.1.11.1-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
   dh_update_autotools_config -i
   dh_autoreconf -i
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \
                     -DOFFICIAL_BUILD:BOOL=True \
                     -DTESTS:BOOL=True \
                     -DINSTALL_DOCS:BOOL=True \
                     -DMUSIC:BOOL=True -DMUSIC_FLAC:BOOL=True \
                     -DOPENAL_SOUND:BOOL=True -DCMAKE_VERBOSE_MAKEFILE=True
	cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DOFFICIAL_BUILD:BOOL=True -DTESTS:BOOL=True -DINSTALL_DOCS:BOOL=True -DMUSIC:BOOL=True -DMUSIC_FLAC:BOOL=True -DOPENAL_SOUND:BOOL=True -DCMAKE_VERBOSE_MAKEFILE=True ..
-- The C compiler identification is GNU 8.2.0

[... snipped ...]

[ 56%] Building CXX object src/CMakeFiles/colobotbase.dir/ui/mainmap.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -isystem /usr/include/AL -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/.. -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/lib/localename  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Werror -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override  -O2 -g -DNDEBUG   -o CMakeFiles/colobotbase.dir/ui/mainmap.cpp.o -c /<<PKGBUILDDIR>>/src/ui/mainmap.cpp
[ 56%] Building CXX object src/CMakeFiles/colobotbase.dir/ui/mainshort.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -isystem /usr/include/AL -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/.. -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/lib/localename  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Werror -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override  -O2 -g -DNDEBUG   -o CMakeFiles/colobotbase.dir/ui/mainshort.cpp.o -c /<<PKGBUILDDIR>>/src/ui/mainshort.cpp
[ 56%] Building CXX object src/CMakeFiles/colobotbase.dir/ui/mainui.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -isystem /usr/include/AL -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/.. -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/lib/localename  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Werror -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override  -O2 -g -DNDEBUG   -o CMakeFiles/colobotbase.dir/ui/mainui.cpp.o -c /<<PKGBUILDDIR>>/src/ui/mainui.cpp
[ 56%] Building CXX object src/CMakeFiles/colobotbase.dir/ui/object_interface.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -isystem /usr/include/AL -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/.. -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/lib/localename  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Werror -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override  -O2 -g -DNDEBUG   -o CMakeFiles/colobotbase.dir/ui/object_interface.cpp.o -c /<<PKGBUILDDIR>>/src/ui/object_interface.cpp
[ 57%] Building CXX object src/CMakeFiles/colobotbase.dir/ui/screen/screen.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -isystem /usr/include/AL -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/.. -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/lib/localename  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Werror -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override  -O2 -g -DNDEBUG   -o CMakeFiles/colobotbase.dir/ui/screen/screen.cpp.o -c /<<PKGBUILDDIR>>/src/ui/screen/screen.cpp
[ 57%] Building CXX object src/CMakeFiles/colobotbase.dir/ui/screen/screen_apperance.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -isystem /usr/include/AL -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/.. -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/lib/localename  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Werror -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override  -O2 -g -DNDEBUG   -o CMakeFiles/colobotbase.dir/ui/screen/screen_apperance.cpp.o -c /<<PKGBUILDDIR>>/src/ui/screen/screen_apperance.cpp
[ 57%] Building CXX object src/CMakeFiles/colobotbase.dir/ui/screen/screen_io.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -isystem /usr/include/AL -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/.. -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/lib/localename  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Werror -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override  -O2 -g -DNDEBUG   -o CMakeFiles/colobotbase.dir/ui/screen/screen_io.cpp.o -c /<<PKGBUILDDIR>>/src/ui/screen/screen_io.cpp
/<<PKGBUILDDIR>>/src/ui/screen/screen_io.cpp: In member function 'void Ui::CScreenIO::IOReadName()':
/<<PKGBUILDDIR>>/src/ui/screen/screen_io.cpp:84:19: error: ' - ' directive writing 3 bytes into a region of size between 1 and 100 [-Werror=format-overflow=]
     sprintf(name, "%s - %s %d", line, resume.c_str(), m_main->GetLevelRank());
                   ^~~~~~~~~~~~
In file included from /usr/include/stdio.h:862,
                 from /usr/include/c++/8/cstdio:42,
                 from /usr/include/c++/8/ext/string_conversions.h:43,
                 from /usr/include/c++/8/bits/basic_string.h:6391,
                 from /usr/include/c++/8/string:52,
                 from /usr/include/c++/8/bits/locale_classes.h:40,
                 from /usr/include/c++/8/bits/ios_base.h:41,
                 from /usr/include/c++/8/ios:42,
                 from /usr/include/c++/8/istream:38,
                 from /usr/include/c++/8/sstream:38,
                 from /<<PKGBUILDDIR>>/src/math/point.h:33,
                 from /<<PKGBUILDDIR>>/src/ui/screen/screen.h:22,
                 from /<<PKGBUILDDIR>>/src/ui/screen/screen_io.h:22,
                 from /<<PKGBUILDDIR>>/src/ui/screen/screen_io.cpp:20:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 105) into a destination of size 100
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [src/CMakeFiles/colobotbase.dir/build.make:2406: src/CMakeFiles/colobotbase.dir/ui/screen/screen_io.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:222: src/CMakeFiles/colobotbase.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:166: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_install: cd obj-x86_64-linux-gnu && make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no returned exit code 2
make: *** [debian/rules:12: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/colobot.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Pkg-games-devel mailing list