Bug#835712: torus-trooper: FTBFS: src/abagames/tt/shape.d:442:48: error: std.math.fabs called with argument types (int) matches both:

Lucas Nussbaum lucas at debian.org
Sun Aug 28 09:18:19 UTC 2016


Source: torus-trooper
Version: 0.22.dfsg1-10
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160828 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> gdc -o torus-trooper 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/opengl.d import/openglu.d src/abagames/tt/barrage.d src/abagames/tt/boot.d src/abagames/tt/bulletactor.d src/abagames/tt/bulletactorpool.d src/abagames/tt/bulletimpl.d src/abagames/tt/bullettarget.d src/abagames/tt/camera.d src/abagames/tt/enemy.d src/abagames/tt/floatletter.d src/abagames/tt/gamemanager.d src/abagames/tt/letter.d src/abagames/tt/particle.d src/abagames/tt/prefmanager.d src/abagames/tt/replay.d src/abagames/tt/screen.d src/abagames/tt/shape.d src/abagames/tt/ship.d src/abagames/tt/shot.d src/abagames/tt/soundmanager.d src/abagames/tt/stagemanager.d src/abagames/tt/title.d src/abagames/tt/tunnel.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/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/luminous.d src/abagames/util/sdl/mainloop.d src/abagames/util/sdl/pad.d src/abagames/util/sdl/recordablepad.d src/abagames/util/sdl/screen.d src/abagames/util/sdl/screen3d.d src/abagames/util/sdl/sdlexception.d src/abagames/util/sdl/sound.d src/abagames/util/sdl/texture.d src/abagames/util/tokenizer.d src/abagames/util/vector.d -Iimport -Isrc -Wno-deprecated -frelease -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -lSDL -lGL -lGLU -lSDL_mixer -lbulletml
> cc1d: warning: command line option '-Wformat=1' is valid for C/C++/ObjC/ObjC++ but not for D
> cc1d: warning: command line option '-Wdate-time' is valid for C/C++/Fortran/ObjC/ObjC++ but not for D
> src/abagames/tt/shape.d:442:48: error: std.math.fabs called with argument types (int) matches both:
> /usr/lib/gcc/x86_64-linux-gnu/6/include/d/std/math.d:3419:6:     std.math.fabs(real x)
> and:
> /usr/lib/gcc/x86_64-linux-gnu/6/include/d/std/math.d:3425:7:     std.math.fabs(float x)
>          float y1 = -0.5 + (1.0 / divNum) * fabs(i - divNum / 2) * 2;
>                                                 ^
> Makefile:8: recipe for target 'torus-trooper' failed
> make[2]: *** [torus-trooper] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/08/28/torus-trooper_0.22.dfsg1-10_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-games-devel mailing list