Bug#847615: a7xpg: FTBFS: /usr/bin/ld: /tmp/ccJGfpQx.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 21:27:53 UTC 2016
Source: a7xpg
Version: 0.11.dfsg1-9
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,
a7xpg 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 a7xpg -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_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/a7xpg/A7xBoot.d src/abagames/a7xpg/A7xGameManager.d src/abagames/a7xpg/A7xPrefManager.d src/abagames/a7xpg/A7xScreen.d src/abagames/a7xpg/Bonus.d src/abagames/a7xpg/Enemy.d src/abagames/a7xpg/Field.d src/abagames/a7xpg/Gold.d src/abagames/a7xpg/LetterRender.d src/abagames/a7xpg/LuminousActor.d src/abagames/a7xpg/LuminousActorPool.d src/abagames/a7xpg/Particle.d src/abagames/a7xpg/Ship.d src/abagames/util/Actor.d src/abagames/util/ActorInitializer.d src/abagames/util/ActorPool.d src/abagames/util/GameManager.d src/abagames/util/Logger.d src/abagames/util/PrefManager.d src/abagames/util/Rand.d src/abagames/util/Vector.d src/abagames/util/sdl/Input.d src/abagames/util/sdl/MainLoop.d src/abagames/util/sdl/SDLInitFailedException.d src/abagames/util/sdl/Screen.d src/abagames/util/sdl/Screen3D.d src/abagames/util/sdl/Sound.d src/abagames/util/sdl/Texture.d -lSDL -lGL -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/ccJGfpQx.o: relocation R_X86_64_PC32 against symbol `_D3std6random109__T21MersenneTwisterEngineTkVmi32Vmi624Vmi397Vmi31Vki2567483615Vmi11Vmi7Vki2636928640Vmi15Vki4022730752Vmi18Z21MersenneTwisterEngine9__T4seedZ4seedMFNaNbNfkZv' 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 'a7xpg' failed
make[2]: *** [a7xpg] 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: a7xpg.0.11.dfsg1-9.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 8484 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20161209/af323e5e/attachment.obj>
More information about the Pkg-games-devel
mailing list