Bug#984021: colobot: ftbfs with GCC-11
Matthias Klose
doko at debian.org
Wed Mar 3 16:11:22 GMT 2021
Package: src:colobot
Version: 0.1.12-7
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11
[This bug is not targeted to the upcoming bullseye release]
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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.
The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/colobot_0.1.12-7_unstable_gcc11.log
The last lines of the build log are at the end of this report.
To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html
GCC 11 defaults to the GNU++17 standard. If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.
[...]
/<<PKGBUILDDIR>>/src/graphics/engine/camera.cpp: In member function ‘bool Gfx::CCamera::EventFrameBack(const Event&)’:
/<<PKGBUILDDIR>>/src/graphics/engine/camera.cpp:1236:77: error: ‘this’ pointer is null [-Werror=nonnull]
1236 | ground = dynamic_cast<CMovableObject*>(m_cameraObj)->GetPhysics()->GetLand();
| ^
In file included from /<<PKGBUILDDIR>>/src/graphics/engine/camera.cpp:42:
/<<PKGBUILDDIR>>/src/object/interface/movable_object.h:46:23: note: in a call to non-static member function ‘virtual CPhysics* CMovableObject::GetPhysics()’
46 | virtual CPhysics* GetPhysics() = 0;
| ^~~~~~~~~~
/<<PKGBUILDDIR>>/src/graphics/engine/camera.cpp: In member function ‘bool Gfx::CCamera::EventFrameOnBoard(const Event&)’:
/<<PKGBUILDDIR>>/src/graphics/engine/camera.cpp:1329:131: error: ‘this’ pointer is null [-Werror=nonnull]
1329 | dynamic_cast<CControllableObject*>(m_cameraObj)->AdjustCamera(m_eyePt, m_directionH, m_directionV, lookatPt, upVec, m_type);
| ^
In file included from /<<PKGBUILDDIR>>/src/graphics/engine/camera.cpp:41:
/<<PKGBUILDDIR>>/src/object/interface/controllable_object.h:68:18: note: in a call to non-static member function ‘virtual void CControllableObject::AdjustCamera(Math::Vector&, float&, float&, Math::Vector&, Math::Vector&, Gfx::CameraType)’
68 | virtual void AdjustCamera(Math::Vector &eye, float &dirH, float &dirV,
| ^~~~~~~~~~~~
[ 57%] Building CXX object src/CBot/CMakeFiles/CBot.dir/CBotVar/CBotVarClass.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CBot && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DCBot_EXPORTS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -I/usr/include/AL -I/<<PKGBUILDDIR>>/src/CBot/.. -g -O2 -ffile-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 -fPIC -o CMakeFiles/CBot.dir/CBotVar/CBotVarClass.cpp.o -c /<<PKGBUILDDIR>>/src/CBot/CBotVar/CBotVarClass.cpp
[ 57%] Building CXX object src/CMakeFiles/colobotbase.dir/graphics/engine/engine.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 -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/.. -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -isystem /usr/include/AL -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/lib/localename -g -O2 -ffile-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/graphics/engine/engine.cpp.o -c /<<PKGBUILDDIR>>/src/graphics/engine/engine.cpp
cc1plus: all warnings being treated as errors
make[4]: *** [src/CMakeFiles/colobotbase.dir/build.make:566: src/CMakeFiles/colobotbase.dir/graphics/engine/camera.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
[ 57%] Building CXX object src/CBot/CMakeFiles/CBot.dir/CBotVar/CBotVarFloat.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CBot && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DCBot_EXPORTS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -I/usr/include/AL -I/<<PKGBUILDDIR>>/src/CBot/.. -g -O2 -ffile-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 -fPIC -o CMakeFiles/CBot.dir/CBotVar/CBotVarFloat.cpp.o -c /<<PKGBUILDDIR>>/src/CBot/CBotVar/CBotVarFloat.cpp
[ 57%] Building CXX object src/CBot/CMakeFiles/CBot.dir/CBotVar/CBotVarInt.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CBot && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DCBot_EXPORTS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -I/usr/include/AL -I/<<PKGBUILDDIR>>/src/CBot/.. -g -O2 -ffile-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 -fPIC -o CMakeFiles/CBot.dir/CBotVar/CBotVarInt.cpp.o -c /<<PKGBUILDDIR>>/src/CBot/CBotVar/CBotVarInt.cpp
[ 57%] Building CXX object src/CBot/CMakeFiles/CBot.dir/CBotVar/CBotVarPointer.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CBot && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DCBot_EXPORTS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -I/usr/include/AL -I/<<PKGBUILDDIR>>/src/CBot/.. -g -O2 -ffile-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 -fPIC -o CMakeFiles/CBot.dir/CBotVar/CBotVarPointer.cpp.o -c /<<PKGBUILDDIR>>/src/CBot/CBotVar/CBotVarPointer.cpp
[ 58%] Building CXX object src/CBot/CMakeFiles/CBot.dir/CBotVar/CBotVarString.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CBot && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DCBot_EXPORTS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -I/usr/include/AL -I/<<PKGBUILDDIR>>/src/CBot/.. -g -O2 -ffile-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 -fPIC -o CMakeFiles/CBot.dir/CBotVar/CBotVarString.cpp.o -c /<<PKGBUILDDIR>>/src/CBot/CBotVar/CBotVarString.cpp
[ 58%] Building CXX object src/CBot/CMakeFiles/CBot.dir/stdlib/Compilation.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CBot && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DCBot_EXPORTS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -I/usr/include/AL -I/<<PKGBUILDDIR>>/src/CBot/.. -g -O2 -ffile-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 -fPIC -o CMakeFiles/CBot.dir/stdlib/Compilation.cpp.o -c /<<PKGBUILDDIR>>/src/CBot/stdlib/Compilation.cpp
[ 58%] Building CXX object src/CBot/CMakeFiles/CBot.dir/stdlib/FileFunctions.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CBot && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DCBot_EXPORTS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -I/usr/include/AL -I/<<PKGBUILDDIR>>/src/CBot/.. -g -O2 -ffile-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 -fPIC -o CMakeFiles/CBot.dir/stdlib/FileFunctions.cpp.o -c /<<PKGBUILDDIR>>/src/CBot/stdlib/FileFunctions.cpp
[ 58%] Building CXX object src/CBot/CMakeFiles/CBot.dir/stdlib/MathFunctions.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CBot && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DCBot_EXPORTS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -I/usr/include/AL -I/<<PKGBUILDDIR>>/src/CBot/.. -g -O2 -ffile-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 -fPIC -o CMakeFiles/CBot.dir/stdlib/MathFunctions.cpp.o -c /<<PKGBUILDDIR>>/src/CBot/stdlib/MathFunctions.cpp
[ 59%] Building CXX object src/CBot/CMakeFiles/CBot.dir/stdlib/StringFunctions.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CBot && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DCBot_EXPORTS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -I/usr/include/AL -I/<<PKGBUILDDIR>>/src/CBot/.. -g -O2 -ffile-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 -fPIC -o CMakeFiles/CBot.dir/stdlib/StringFunctions.cpp.o -c /<<PKGBUILDDIR>>/src/CBot/stdlib/StringFunctions.cpp
[ 59%] Linking CXX shared library libCBot.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CBot && /usr/bin/cmake -E cmake_link_script CMakeFiles/CBot.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-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 -Wl,-z,relro -shared -Wl,-soname,libCBot.so -o libCBot.so CMakeFiles/CBot.dir/CBotCStack.cpp.o CMakeFiles/CBot.dir/CBotClass.cpp.o CMakeFiles/CBot.dir/CBotDebug.cpp.o CMakeFiles/CBot.dir/CBotDefParam.cpp.o CMakeFiles/CBot.dir/CBotExternalCall.cpp.o CMakeFiles/CBot.dir/CBotFileUtils.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotBlock.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotBoolExpr.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotBreak.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotCase.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotCatch.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotCondition.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotDefArray.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotDefBoolean.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotDefClass.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotDefFloat.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotDefInt.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotDefString.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotDo.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotEmpty.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotExprLitBool.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotExprLitNan.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotExprLitNull.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotExprLitNum.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotExprLitString.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotExprRetVar.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotExprUnaire.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotExprVar.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotExpression.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotFieldExpr.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotFor.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotFunction.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotIf.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotIndexExpr.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotInstr.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotInstrCall.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotInstrMethode.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotInstrUtils.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotLeftExpr.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotLeftExprVar.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotListArray.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotListExpression.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotListInstr.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotLogicExpr.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotNew.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotParExpr.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotPostIncExpr.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotPreIncExpr.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotReturn.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotSwitch.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotThrow.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotTry.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotTwoOpExpr.cpp.o CMakeFiles/CBot.dir/CBotInstr/CBotWhile.cpp.o CMakeFiles/CBot.dir/CBotProgram.cpp.o CMakeFiles/CBot.dir/CBotStack.cpp.o CMakeFiles/CBot.dir/CBotToken.cpp.o CMakeFiles/CBot.dir/CBotTypResult.cpp.o CMakeFiles/CBot.dir/CBotUtils.cpp.o CMakeFiles/CBot.dir/CBotVar/CBotVar.cpp.o CMakeFiles/CBot.dir/CBotVar/CBotVarArray.cpp.o CMakeFiles/CBot.dir/CBotVar/CBotVarBoolean.cpp.o CMakeFiles/CBot.dir/CBotVar/CBotVarClass.cpp.o CMakeFiles/CBot.dir/CBotVar/CBotVarFloat.cpp.o CMakeFiles/CBot.dir/CBotVar/CBotVarInt.cpp.o CMakeFiles/CBot.dir/CBotVar/CBotVarPointer.cpp.o CMakeFiles/CBot.dir/CBotVar/CBotVarString.cpp.o CMakeFiles/CBot.dir/stdlib/Compilation.cpp.o CMakeFiles/CBot.dir/stdlib/FileFunctions.cpp.o CMakeFiles/CBot.dir/stdlib/MathFunctions.cpp.o CMakeFiles/CBot.dir/stdlib/StringFunctions.cpp.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 59%] Built target CBot
make -f test/cbot/CMakeFiles/CBot_compile_graph.dir/build.make test/cbot/CMakeFiles/CBot_compile_graph.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/test/cbot /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/cbot /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/cbot/CMakeFiles/CBot_compile_graph.dir/DependInfo.cmake --color=
Dependee "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/cbot/CMakeFiles/CBot_compile_graph.dir/DependInfo.cmake" is newer than depender "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/cbot/CMakeFiles/CBot_compile_graph.dir/depend.internal".
Dependee "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/cbot/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/cbot/CMakeFiles/CBot_compile_graph.dir/depend.internal".
Scanning dependencies of target CBot_compile_graph
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f test/cbot/CMakeFiles/CBot_compile_graph.dir/build.make test/cbot/CMakeFiles/CBot_compile_graph.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 59%] Building CXX object test/cbot/CMakeFiles/CBot_compile_graph.dir/compile_graph.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/cbot && /usr/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTESTS -DTEST_VIRTUAL=virtual -I/usr/include/AL -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/.. -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/test/cbot -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/cbot -g -O2 -ffile-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 -pthread -O2 -g -DNDEBUG -o CMakeFiles/CBot_compile_graph.dir/compile_graph.cpp.o -c /<<PKGBUILDDIR>>/test/cbot/compile_graph.cpp
[ 59%] Linking CXX executable ../../CBot_compile_graph
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/cbot && /usr/bin/cmake -E cmake_link_script CMakeFiles/CBot_compile_graph.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-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 -pthread -O2 -g -DNDEBUG -Wl,-z,relro -rdynamic CMakeFiles/CBot_compile_graph.dir/compile_graph.cpp.o -o ../../CBot_compile_graph -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CBot ../../src/CBot/libCBot.so
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 59%] Built target CBot_compile_graph
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:769: src/CMakeFiles/colobotbase.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:185: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:34: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:21: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list