Bug#1013001: mu-cade: ftbfs with GCC-12
Matthias Klose
doko at debian.org
Thu Jun 16 13:11:50 BST 2022
Package: src:mu-cade
Version: 0.11.dfsg1-12
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/mu-cade_0.11.dfsg1-12_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.
[...]
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- DFLAGS="-frelease"
make -j8 "INSTALL=install --strip-program=true" DFLAGS=-frelease
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gdc -o mu-cade -Iimport -Isrc -Wdeprecated -frelease -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro import/SDL.d import/SDL_active.d import/SDL_audio.d import/SDL_byteorder.d import/SDL_cdrom.d import/SDL_copying.d import/SDL_endian.d import/SDL_error.d import/SDL_events.d import/SDL_getenv.d import/SDL_joystick.d import/SDL_keyboard.d import/SDL_keysym_.d import/SDL_mixer.d import/SDL_mouse.d import/SDL_mutex.d import/SDL_quit.d import/SDL_rwops.d import/SDL_syswm.d import/SDL_thread.d import/SDL_timer.d import/SDL_types.d import/SDL_version_.d import/SDL_video.d import/bulletml.d import/ode/collision.d import/ode/collision_space.d import/ode/collision_trimesh.d import/ode/common.d import/ode/compatibility.d import/ode/config.d import/ode/contact.d import/ode/error.d import/ode/export_dif.d import/ode/mass.d import/ode/matrix.d import/ode/memory.d import/ode/misc.d import/ode/objects.d import/ode/ode.d import/ode/odemath.d import/ode/rotation.d import/ode/timer.d import/opengl.d import/openglu.d src/abagames/mcd/barrage.d src/abagames/mcd/boot.d src/abagames/mcd/bullet.d src/abagames/mcd/bulletimpl.d src/abagames/mcd/bulletpool.d src/abagames/mcd/bullettarget.d src/abagames/mcd/enemy.d src/abagames/mcd/field.d src/abagames/mcd/gamemanager.d src/abagames/mcd/letter.d src/abagames/mcd/particle.d src/abagames/mcd/prefmanager.d src/abagames/mcd/replay.d src/abagames/mcd/screen.d src/abagames/mcd/shape.d src/abagames/mcd/ship.d src/abagames/mcd/shot.d src/abagames/mcd/soundmanager.d src/abagames/mcd/spec.d src/abagames/mcd/stagemanager.d src/abagames/mcd/title.d src/abagames/util/actor.d src/abagames/util/bulletml/bullet.d src/abagames/util/bulletml/bulletsmanager.d src/abagames/util/iterator.d src/abagames/util/logger.d src/abagames/util/math.d src/abagames/util/ode/odeactor.d src/abagames/util/ode/world.d src/abagames/util/prefmanager.d src/abagames/util/rand.d src/abagames/util/sdl/displaylist.d src/abagames/util/sdl/gamemanager.d src/abagames/util/sdl/input.d src/abagames/util/sdl/mainloop.d src/abagames/util/sdl/recordableinput.d src/abagames/util/sdl/screen.d src/abagames/util/sdl/screen3d.d src/abagames/util/sdl/sdlexception.d src/abagames/util/sdl/shape.d src/abagames/util/sdl/sound.d src/abagames/util/sdl/texture.d src/abagames/util/sdl/twinstickpad.d src/abagames/util/tokenizer.d src/abagames/util/vector.d -lSDL -lGL -lGLU -lSDL_mixer -lode -lbulletml
d21: warning: command-line option ‘-Wformat=1’ is valid for C/C++/ObjC/ObjC++ but not for D
d21: warning: ‘-Werror=’ argument ‘-Werror=format-security’ is not valid for D
d21: warning: command-line option ‘-Wdate-time’ is valid for C/C++/Fortran/ObjC/ObjC++ but not for D
src/abagames/mcd/particle.d:120:9: error: ‘opAddAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "+")’ instead.
120 | pos += vel;
| ^
src/abagames/mcd/particle.d:121:9: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
121 | vel *= 0.98f;
| ^
src/abagames/mcd/particle.d:251:10: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
251 | _vel *= 0.96f;
| ^
src/abagames/mcd/particle.d:260:10: error: ‘opAddAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "+")’ instead.
260 | _pos += _vel;
| ^
src/abagames/mcd/particle.d:426:9: error: ‘opAddAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "+")’ instead.
426 | pos += vel;
| ^
src/abagames/mcd/particle.d:432:9: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
432 | vel *= 0.98f;
| ^
src/abagames/mcd/particle.d:517:9: error: ‘opAddAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "+")’ instead.
517 | pos += vel;
| ^
src/abagames/mcd/particle.d:577:9: error: ‘opAddAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "+")’ instead.
577 | pos += vel;
| ^
src/abagames/mcd/ship.d:235:16: error: ‘opDivAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "/")’ instead.
235 | slideVel /= slideVel.vctSize;
| ^
src/abagames/mcd/ship.d:236:14: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
236 | slideVel *= SLIDE_FORCE_BASE;
| ^
src/abagames/util/ode/odeactor.d:203:10: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
203 | vvct *= (1 - ratio);
| ^
src/abagames/util/ode/odeactor.d:215:12: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
215 | vvct *= p;
| ^
src/abagames/util/ode/odeactor.d:225:10: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
225 | vvct *= (1 - ratio);
| ^
src/abagames/util/ode/odeactor.d:237:12: error: ‘opMulAssign’ is obsolete. Use ‘opOpAssign(string op)(...) if (op == "*")’ instead.
237 | vvct *= p;
| ^
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:300:16: error: ‘opMul’ is obsolete. Use ‘opBinary(string op)(...) if (op == "*")’ instead.
300 | float ll = v * v;
| ^
src/abagames/util/vector.d:302:19: error: ‘opMul’ is obsolete. Use ‘opBinary(string op)(...) if (op == "*")’ instead.
302 | float mag = this * v;
| ^
make[2]: *** [Makefile:8: mu-cade] 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