Bug#847583: titanion: FTBFS: usr/bin/ld: /tmp/ccx5V2eP.o: relocation R_X86_64_PC32 against symbol `[..]' can not be used when making a shared object; recompile with -fPIC

Chris Lamb lamby at debian.org
Fri Dec 9 16:27:59 UTC 2016


Source: titanion
Version: 0.3.dfsg1-6
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

titanion fails to build from source in unstable/amd64:

  […]

  dh build
     dh_testdir
     dh_update_autotools_config
     dh_auto_configure
     debian/rules override_dh_auto_build
  make[1]: Entering directory '«BUILDDIR»'
  dh_auto_build -- DFLAGS="-frelease"
  	make -j1 DFLAGS=-frelease
  make[2]: Entering directory '«BUILDDIR»'
  gdc -o titanion -Iimport -Isrc -Wno-deprecated -frelease -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -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/opengl.d import/openglu.d src/abagames/ttn/boot.d src/abagames/ttn/bullet.d src/abagames/ttn/enemy.d src/abagames/ttn/field.d src/abagames/ttn/frame.d src/abagames/ttn/letter.d src/abagames/ttn/particle.d src/abagames/ttn/pillar.d src/abagames/ttn/player.d src/abagames/ttn/preference.d src/abagames/ttn/replay.d src/abagames/ttn/screen.d src/abagames/ttn/shape.d src/abagames/ttn/sound.d src/abagames/ttn/stage.d src/abagames/ttn/title.d src/abagames/ttn/token.d src/abagames/util/actor.d src/abagames/util/iterator.d src/abagames/util/logger.d src/abagames/util/math.d src/abagames/util/preference.d src/abagames/util/rand.d src/abagames/util/sdl/displaylist.d src/abagames/util/sdl/frame.d src/abagames/util/sdl/input.d src/abagames/util/sdl/mainloop.d src/abagames/util/sdl/pad.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/sound.d src/abagames/util/sdl/texture.d src/abagames/util/tokenizer.d src/abagames/util/vector.d -lSDL -lGL -lGLU -lSDL_mixer
  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
  /usr/bin/ld: /tmp/ccx5V2eP.o: relocation R_X86_64_PC32 against symbol `_D6object14__T7_rawDupTaZ7_rawDupFNaNbANgaZANga' can not be used when making a shared object; recompile with -fPIC
  /usr/bin/ld: final link failed: Bad value
  collect2: error: ld returned 1 exit status
  Makefile:8: recipe for target 'titanion' failed
  make[2]: *** [titanion] Error 1
  make[2]: Leaving directory '«BUILDDIR»'
  dh_auto_build: make -j1 DFLAGS=-frelease returned exit code 2
  debian/rules:14: recipe for target 'override_dh_auto_build' failed
  make[1]: *** [override_dh_auto_build] Error 2
  make[1]: Leaving directory '«BUILDDIR»'
  debian/rules:11: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: titanion.0.3.dfsg1-6.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 8413 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20161209/3b2433df/attachment-0001.obj>


More information about the Pkg-games-devel mailing list