Bug#1013054: titanion: ftbfs with GCC-12
Matthias Klose
doko at debian.org
Thu Jun 16 13:14:31 BST 2022
Package: src:titanion
Version: 0.3.dfsg1-7
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-12
[This bug is targeted to the upcoming bookworm 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-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.
The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/titanion_0.3.dfsg1-7_unstable_gcc12.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.
[...]
src/abagames/ttn/enemy.d:586:17: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
586 | sizeVel *= 0.95f;
| ^
src/abagames/ttn/enemy.d:621:11: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
621 | vel *= 0.9f;
| ^
src/abagames/ttn/enemy.d:622:11: error: ‘opAddAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "+")’ instead.
622 | pos += vel;
| ^
src/abagames/ttn/field.d:299:13: error: ‘opAddAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "+")’ instead.
299 | ringOfs += centerPos;
| ^
src/abagames/ttn/particle.d:203:11: error: ‘opAddAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "+")’ instead.
203 | pos += vel;
| ^
src/abagames/ttn/particle.d:207:11: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
207 | vel *= (1 - SLOW_DOWN_RATIO);
| ^
src/abagames/ttn/particle.d:230:13: error: ‘opDivAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "/")’ instead.
230 | vel /= cr;
| ^
src/abagames/ttn/particle.d:319:11: error: ‘opAddAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "+")’ instead.
319 | pos += vel;
| ^
src/abagames/ttn/particle.d:323:11: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
323 | vel *= (1 - SLOW_DOWN_RATIO);
| ^
src/abagames/ttn/player.d:448:11: error: ‘opAddAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "+")’ instead.
448 | pos += vel;
| ^
src/abagames/ttn/player.d:449:11: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
449 | vel *= 0.9f;
| ^
src/abagames/ttn/player.d:630:8: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
630 | rv *= 5;
| ^
src/abagames/ttn/player.d:631:12: error: ‘opAddAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "+")’ instead.
631 | ps.vel += rv;
| ^
src/abagames/util/vector.d:43:16: error: ‘opMul’ is obsolete. Use ‘opBinary(string op)(...) if (op == "*")’ instead.
43 | float ll = v * v;
| ^
src/abagames/util/vector.d:45:19: error: ‘opMul’ is obsolete. Use ‘opBinary(string op)(...) if (op == "*")’ instead.
45 | float mag = this * v;
| ^
src/abagames/util/vector.d:55:16: error: ‘opMul’ is obsolete. Use ‘opBinary(string op)(...) if (op == "*")’ instead.
55 | float ll = v * v;
| ^
src/abagames/util/vector.d:57:19: error: ‘opMul’ is obsolete. Use ‘opBinary(string op)(...) if (op == "*")’ instead.
57 | float mag = this * v;
| ^
src/abagames/util/vector.d:66:11: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
66 | rsl *= (min / d);
| ^
src/abagames/util/vector.d:68:11: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
68 | rsl *= (max / d);
| ^
src/abagames/util/vector.d:325:16: error: ‘opMul’ is obsolete. Use ‘opBinary(string op)(...) if (op == "*")’ instead.
325 | float ll = v * v;
| ^
src/abagames/util/vector.d:327:19: error: ‘opMul’ is obsolete. Use ‘opBinary(string op)(...) if (op == "*")’ instead.
327 | float mag = this * v;
| ^
make[2]: *** [Makefile:8: titanion] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" DFLAGS=-frelease returned exit code 2
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list