Bug#984290: pentobi: ftbfs with GCC-11
Matthias Klose
doko at debian.org
Wed Mar 3 16:16:29 GMT 2021
Package: src:pentobi
Version: 18.3-1
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/pentobi_18.3-1_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>>/libboardgame_test/../libboardgame_base/ArrayList.h:38:19: error: ‘numeric_limits’ was not declared in this scope
38 | static_assert(numeric_limits<IntType>::is_integer);
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/libboardgame_test/../libboardgame_base/ArrayList.h:38:41: error: expected primary-expression before ‘>’ token
38 | static_assert(numeric_limits<IntType>::is_integer);
| ^
/<<PKGBUILDDIR>>/libboardgame_test/../libboardgame_base/ArrayList.h:38:44: error: ‘::is_integer’ has not been declared
38 | static_assert(numeric_limits<IntType>::is_integer);
| ^~~~~~~~~~
make[3]: *** [libboardgame_base/tests/CMakeFiles/test_libboardgame_base.dir/build.make:85: libboardgame_base/tests/CMakeFiles/test_libboardgame_base.dir/ArrayListTest.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:525: libboardgame_base/tests/CMakeFiles/test_libboardgame_base.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 45%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/Book.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/Book.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/Book.cpp
[ 45%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/CallistoGeometry.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/CallistoGeometry.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/CallistoGeometry.cpp
[ 46%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/Game.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/Game.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/Game.cpp
[ 46%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/GembloQGeometry.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/GembloQGeometry.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/GembloQGeometry.cpp
[ 47%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/GembloQTransform.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/GembloQTransform.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/GembloQTransform.cpp
[ 47%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/NexosGeometry.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/NexosGeometry.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/NexosGeometry.cpp
[ 48%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/NodeUtil.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/NodeUtil.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/NodeUtil.cpp
[ 48%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/PentobiSgfUtil.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/PentobiSgfUtil.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/PentobiSgfUtil.cpp
[ 49%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/PentobiTree.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/PentobiTree.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/PentobiTree.cpp
[ 49%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/PentobiTreeWriter.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/PentobiTreeWriter.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/PentobiTreeWriter.cpp
[ 50%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/PieceInfo.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/PieceInfo.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/PieceInfo.cpp
[ 50%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/PieceTransformsClassic.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/PieceTransformsClassic.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/PieceTransformsClassic.cpp
[ 50%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/PieceTransformsGembloQ.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/PieceTransformsGembloQ.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/PieceTransformsGembloQ.cpp
[ 51%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/PieceTransforms.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/PieceTransforms.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/PieceTransforms.cpp
[ 51%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/PieceTransformsTrigon.cpp.o
[ 52%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/PlayerBase.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/PieceTransformsTrigon.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/PieceTransformsTrigon.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/PlayerBase.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/PlayerBase.cpp
[ 52%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/StartingPoints.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/StartingPoints.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/StartingPoints.cpp
[ 53%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/SymmetricPoints.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/SymmetricPoints.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/SymmetricPoints.cpp
[ 53%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/TreeUtil.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/TreeUtil.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/TreeUtil.cpp
[ 54%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/TrigonGeometry.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/TrigonGeometry.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/TrigonGeometry.cpp
[ 54%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/TrigonTransform.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/TrigonTransform.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/TrigonTransform.cpp
[ 55%] Building CXX object libpentobi_base/CMakeFiles/pentobi_base.dir/Variant.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/c++ -I/<<PKGBUILDDIR>>/libpentobi_base/.. -I/<<PKGBUILDDIR>>/libboardgame_base/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math -Wall -Wextra -std=gnu++17 -o CMakeFiles/pentobi_base.dir/Variant.cpp.o -c /<<PKGBUILDDIR>>/libpentobi_base/Variant.cpp
[ 55%] Linking CXX static library libpentobi_base.a
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/cmake -P CMakeFiles/pentobi_base.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libpentobi_base && /usr/bin/cmake -E cmake_link_script CMakeFiles/pentobi_base.dir/link.txt --verbose=1
/usr/bin/ar qc libpentobi_base.a CMakeFiles/pentobi_base.dir/BoardConst.cpp.o CMakeFiles/pentobi_base.dir/Board.cpp.o CMakeFiles/pentobi_base.dir/BoardUpdater.cpp.o CMakeFiles/pentobi_base.dir/BoardUtil.cpp.o CMakeFiles/pentobi_base.dir/Book.cpp.o CMakeFiles/pentobi_base.dir/CallistoGeometry.cpp.o CMakeFiles/pentobi_base.dir/Game.cpp.o CMakeFiles/pentobi_base.dir/GembloQGeometry.cpp.o CMakeFiles/pentobi_base.dir/GembloQTransform.cpp.o CMakeFiles/pentobi_base.dir/NexosGeometry.cpp.o CMakeFiles/pentobi_base.dir/NodeUtil.cpp.o CMakeFiles/pentobi_base.dir/PentobiSgfUtil.cpp.o CMakeFiles/pentobi_base.dir/PentobiTree.cpp.o CMakeFiles/pentobi_base.dir/PentobiTreeWriter.cpp.o CMakeFiles/pentobi_base.dir/PieceInfo.cpp.o CMakeFiles/pentobi_base.dir/PieceTransformsClassic.cpp.o CMakeFiles/pentobi_base.dir/PieceTransformsGembloQ.cpp.o CMakeFiles/pentobi_base.dir/PieceTransforms.cpp.o CMakeFiles/pentobi_base.dir/PieceTransformsTrigon.cpp.o CMakeFiles/pentobi_base.dir/PlayerBase.cpp.o CMakeFiles/pentobi_base.dir/StartingPoints.cpp.o CMakeFiles/pentobi_base.dir/SymmetricPoints.cpp.o CMakeFiles/pentobi_base.dir/TreeUtil.cpp.o CMakeFiles/pentobi_base.dir/TrigonGeometry.cpp.o CMakeFiles/pentobi_base.dir/TrigonTransform.cpp.o CMakeFiles/pentobi_base.dir/Variant.cpp.o
/usr/bin/ranlib libpentobi_base.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 55%] Built target pentobi_base
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:163: all] Error 2
make[1]: 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: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list