Bug#841879: freetennis: FTBFS: libasmrun.a(backtrace.o): relocation R_X86_64_32 against symbol `caml_backtrace_last_exn' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output
Chris Lamb
lamby at debian.org
Mon Oct 24 05:13:57 UTC 2016
Source: freetennis
Version: 0.4.8-10
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
freetennis fails to build from source in unstable/amd64:
[…]
Setting up x11proto-xext-dev (7.3.0-1) ...
Setting up libfreetype6-dev (2.6.3-3+b1) ...
Setting up libice-dev:amd64 (2:1.0.9-1+b1) ...
Setting up aspell-en (2016.06.26-0-0.1) ...
Setting up libxcomposite1:amd64 (1:0.4.4-1) ...
Setting up libxcb-shm0:amd64 (1.12-1) ...
Setting up libxt6:amd64 (1:1.1.5-1) ...
Setting up libxcb-shape0:amd64 (1.12-1) ...
Setting up libxrender1:amd64 (1:0.9.9-2) ...
Setting up libxcb1-dev:amd64 (1.12-1) ...
Setting up libxcb-glx0-dev:amd64 (1.12-1) ...
Setting up libavahi-client3:amd64 (0.6.32-1) ...
Setting up libx11-dev:amd64 (2:1.6.3-1) ...
Setting up libxft2:amd64 (2.3.2-1) ...
Setting up libharfbuzz-dev:amd64 (1.2.7-1+b1) ...
Setting up libxcb-sync-dev:amd64 (1.12-1) ...
Setting up fontconfig (2.11.0-6.7) ...
Regenerating fonts cache... done.
Setting up libcups2:amd64 (2.2.1-1) ...
Setting up libfontconfig1-dev:amd64 (2.11.0-6.7) ...
Setting up libenchant1c2a:amd64 (1.6.0-11+b1) ...
Setting up libx11-xcb-dev:amd64 (2:1.6.3-1) ...
Setting up libsm-dev:amd64 (2:1.2.2-1+b1) ...
Setting up mesa-common-dev:amd64 (12.0.3-2) ...
Setting up libxext6:amd64 (2:1.3.3-1) ...
Setting up libxfixes3:amd64 (1:5.0.2-1) ...
Setting up libxmu-headers (2:1.1.2-2) ...
Setting up libxss1:amd64 (1:1.2.2-1) ...
Setting up x11proto-fixes-dev (1:5.0-2) ...
Setting up libgdk-pixbuf2.0-0:amd64 (2.36.0-1) ...
Setting up libxcb-shm0-dev:amd64 (1.12-1) ...
Setting up gir1.2-gdkpixbuf-2.0:amd64 (2.36.0-1) ...
Setting up libxrender-dev:amd64 (1:0.9.9-2) ...
Setting up libxmu6:amd64 (2:1.1.2-2) ...
Setting up libxcb-dri2-0-dev:amd64 (1.12-1) ...
Setting up libxcb-render0-dev:amd64 (1.12-1) ...
Setting up x11proto-damage-dev (1:1.2.1-2) ...
Setting up libxft-dev (2.3.2-1) ...
Setting up gtk-update-icon-cache (3.22.1-1) ...
Setting up libgdk-pixbuf2.0-dev (2.36.0-1) ...
Setting up libxcb-dri3-dev:amd64 (1.12-1) ...
Setting up libxcursor1:amd64 (1:1.1.14-1+b1) ...
Setting up libtk8.5:amd64 (8.5.19-1) ...
Setting up libxext-dev:amd64 (2:1.3.3-1) ...
Setting up libpango-1.0-0:amd64 (1.40.3-2) ...
Setting up libxcb-shape0-dev:amd64 (1.12-1) ...
Setting up libxxf86vm1:amd64 (1:1.1.4-1) ...
Setting up libenchant-dev (1.6.0-11+b1) ...
Setting up libxxf86vm-dev:amd64 (1:1.1.4-1) ...
Setting up libxfixes-dev:amd64 (1:5.0.2-1) ...
Setting up x11proto-composite-dev (1:0.4.2-2) ...
Setting up libxrandr2:amd64 (2:1.5.0-1) ...
Setting up tk8.5 (8.5.19-1) ...
Setting up libxi6:amd64 (2:1.7.6-1) ...
Setting up libcairo2:amd64 (1.14.6-1+b1) ...
Setting up libxinerama1:amd64 (2:1.1.3-1+b1) ...
Setting up libxcursor-dev:amd64 (1:1.1.14-1+b1) ...
Setting up libxcb-randr0-dev:amd64 (1.12-1) ...
Setting up libxt-dev:amd64 (1:1.1.5-1) ...
Setting up libxdamage1:amd64 (1:1.1.4-2+b1) ...
Setting up libxrandr-dev:amd64 (2:1.5.0-1) ...
Setting up libxcomposite-dev (1:0.4.4-1) ...
Setting up libxmu-dev:amd64 (2:1.1.2-2) ...
Setting up libcairo-script-interpreter2:amd64 (1.14.6-1+b1) ...
Setting up libxcb-xfixes0-dev:amd64 (1.12-1) ...
Setting up libtk8.6:amd64 (8.6.6-1) ...
Setting up libcairo-gobject2:amd64 (1.14.6-1+b1) ...
Setting up libxdamage-dev:amd64 (1:1.1.4-2+b1) ...
Setting up libxss-dev:amd64 (1:1.2.2-1) ...
Setting up libxtst6:amd64 (2:1.2.2-1+b1) ...
Setting up libpangoft2-1.0-0:amd64 (1.40.3-2) ...
Setting up libgl1-mesa-glx:amd64 (12.0.3-2) ...
Setting up tk8.5-dev:amd64 (8.5.19-1) ...
Setting up libxinerama-dev:amd64 (2:1.1.3-1+b1) ...
Setting up libglu1-mesa:amd64 (9.0.0-2.1) ...
Setting up libxcb-present-dev:amd64 (1.12-1) ...
Setting up libxi-dev (2:1.7.6-1) ...
Setting up liblabltk-ocaml (8.06.0+dfsg-3) ...
Setting up freeglut3:amd64 (2.8.1-3) ...
Setting up libcairo2-dev (1.14.6-1+b1) ...
Setting up gir1.2-freedesktop:amd64 (1.50.0-1) ...
Setting up liblablgl-ocaml (1:1.05-2) ...
Setting up libpangoxft-1.0-0:amd64 (1.40.3-2) ...
Setting up libpangocairo-1.0-0:amd64 (1.40.3-2) ...
Setting up libpulse0:amd64 (9.0-4) ...
Setting up gir1.2-pango-1.0:amd64 (1.40.3-2) ...
Setting up libgl1-mesa-dev:amd64 (12.0.3-2) ...
Setting up libpango1.0-dev (1.40.3-2) ...
Setting up libfluidsynth1:amd64 (1.1.6-3+b1) ...
Setting up libglu1-mesa-dev:amd64 (9.0.0-2.1) ...
Setting up libpulse-mainloop-glib0:amd64 (9.0-4) ...
Setting up libpulse-dev:amd64 (9.0-4) ...
Setting up librsvg2-2:amd64 (2.40.16-1) ...
Setting up libsdl1.2debian:amd64 (1.2.15+dfsg1-4) ...
Setting up librsvg2-common:amd64 (2.40.16-1) ...
Setting up libmikmod3:amd64 (3.3.10-1) ...
Setting up libsdl-ttf2.0-0:amd64 (2.0.11-3+b1) ...
Setting up libsdl1.2-dev (1.2.15+dfsg1-4) ...
Setting up libsdl-ttf2.0-dev:amd64 (2.0.11-3+b1) ...
Setting up libsdl-image1.2:amd64 (1.2.12-5+b7) ...
Setting up freeglut3-dev:amd64 (2.8.1-3) ...
Setting up libsdl-gfx1.2-5:amd64 (2.0.25-5) ...
Setting up libsdl-image1.2-dev:amd64 (1.2.12-5+b7) ...
Setting up libsdl-mixer1.2:amd64 (1.2.12-11+b1) ...
Setting up libmikmod-dev:amd64 (3.3.10-1) ...
Setting up gnome-icon-theme (3.12.0-2) ...
update-alternatives: using /usr/share/icons/gnome/scalable/places/debian-swirl.svg to provide /usr/share/icons/gnome/scalable/places/start-here.svg (start-here.svg) in auto mode
Setting up libsdl-ocaml (0.9.1-2+b3) ...
Setting up libsdl-gfx1.2-dev:amd64 (2.0.25-5) ...
Setting up libsdl-mixer1.2-dev:amd64 (1.2.12-11+b1) ...
Setting up libgtk2.0-0:amd64 (2.24.31-1) ...
Setting up libgtkspell0 (2.0.16-1.1) ...
Setting up libglade2-0:amd64 (1:2.6.4-2) ...
Setting up gir1.2-gtk-2.0 (2.24.31-1) ...
Setting up liblablgtk2-ocaml (2.18.3+dfsg-2) ...
Setting up libgtk2.0-dev (2.24.31-1) ...
Setting up libglade2-dev:amd64 (1:2.6.4-2) ...
Setting up libgtkspell-dev (2.0.16-1.1) ...
Setting up ocaml-compiler-libs (4.02.3-7) ...
Setting up ocaml-interp (4.02.3-7) ...
Setting up ocaml-nox (4.02.3-7) ...
Setting up liblabltk-ocaml-dev (8.06.0+dfsg-3) ...
Setting up liblablgl-ocaml-dev (1:1.05-2) ...
Setting up ocaml (4.02.3-7) ...
Setting up liblablgtk2-ocaml-dev (2.18.3+dfsg-2) ...
Setting up libsdl-ocaml-dev (0.9.1-2+b3) ...
Setting up freetennis-build-deps (0.4.8-10) ...
Processing triggers for libc-bin (2.24-5) ...
Processing triggers for systemd (231-9) ...
Processing triggers for dictionaries-common (1.27.2) ...
aspell-autobuildhash: processing: en [en-common].
aspell-autobuildhash: processing: en [en-variant_0].
aspell-autobuildhash: processing: en [en-variant_1].
aspell-autobuildhash: processing: en [en-variant_2].
aspell-autobuildhash: processing: en [en-w_accents-only].
aspell-autobuildhash: processing: en [en-wo_accents-only].
aspell-autobuildhash: processing: en [en_CA-variant_0].
aspell-autobuildhash: processing: en [en_CA-variant_1].
aspell-autobuildhash: processing: en [en_CA-w_accents-only].
aspell-autobuildhash: processing: en [en_CA-wo_accents-only].
aspell-autobuildhash: processing: en [en_GB-ise-w_accents-only].
aspell-autobuildhash: processing: en [en_GB-ise-wo_accents-only].
aspell-autobuildhash: processing: en [en_GB-ize-w_accents-only].
aspell-autobuildhash: processing: en [en_GB-ize-wo_accents-only].
aspell-autobuildhash: processing: en [en_GB-variant_0].
aspell-autobuildhash: processing: en [en_GB-variant_1].
aspell-autobuildhash: processing: en [en_US-w_accents-only].
aspell-autobuildhash: processing: en [en_US-wo_accents-only].
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.36.0-1) ...
**************************************************************************************
** Environment **
**************************************************************************************
PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=00cf1676b11b
TERM=xterm
PAGER=more
DISPLAY=:0
DOCKER_IMAGE=lamby-debian-sid
DEB_BUILD_OPTIONS=parallel=9
PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
HOME=/home/lamby
LOGNAME=lamby
SHLVL=1
PWD=/home/lamby/temp/cdt.20161024070957.tDP5jcXfUr.db.freetennis/freetennis-0.4.8
OLDPWD=/home/lamby/temp/cdt.20161024070957.tDP5jcXfUr.db.freetennis
GPG_TTY=/dev/console
QUILT_PATCHES=debian/patches
QUILT_NO_DIFF_INDEX=1
QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
DEBEMAIL=lamby at debian.org
DEBFULLNAME=Chris Lamb
EDITOR=vim
LESS=-cgiFx4M
GPG_KEY=1E953E27D4311E58
BLASTER=A220 I5 D1 H5 P330 T6
_=/usr/bin/env
**************************************************************************************
** Building freetennis 0.4.8-10 on amd64 **
**************************************************************************************
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: info: source package freetennis
dpkg-buildpackage: info: source version 0.4.8-10
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Stéphane Glondu <glondu at debian.org>
dpkg-source --before-build freetennis-0.4.8
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh --with quilt,ocaml clean
dh: Compatibility levels before 9 are deprecated (level 7 in use)
dh_testdir
debian/rules override_dh_auto_clean
make[1]: Entering directory '/home/lamby/temp/cdt.20161024070957.tDP5jcXfUr.db.freetennis/freetennis-0.4.8'
/usr/bin/make -f debian/Makefile clean
make[2]: Entering directory '/home/lamby/temp/cdt.20161024070957.tDP5jcXfUr.db.freetennis/freetennis-0.4.8'
rm -f *.cm[oixa] *.cmxa *.o *.a *~ freetennis.opt freetennis.byte
make[2]: Leaving directory '/home/lamby/temp/cdt.20161024070957.tDP5jcXfUr.db.freetennis/freetennis-0.4.8'
make[1]: Leaving directory '/home/lamby/temp/cdt.20161024070957.tDP5jcXfUr.db.freetennis/freetennis-0.4.8'
dh_quilt_unpatch
quilt --quiltrc /dev/null pop -a || test $? = 2
Removing patch 0001-Fix-sfx-path.patch
Restoring freetennis.ml
No patches applied
rm -rf .pc
dh_ocamlclean
rm -f ocamlinit-stamp
dh_clean
rm -f debian/debhelper-build-stamp
rm -f debian/freetennis-common.substvars
rm -f debian/freetennis-common.*.debhelper
rm -rf debian/freetennis-common/
rm -f debian/freetennis.substvars
rm -f debian/freetennis.*.debhelper
rm -rf debian/freetennis/
rm -rf debian/.debhelper/
rm -f debian/*.debhelper.log
dh_clean: Compatibility levels before 9 are deprecated (level 7 in use)
rm -f debian/files
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
rm -f *-stamp
debian/rules build
dh --with quilt,ocaml build
dh: Compatibility levels before 9 are deprecated (level 7 in use)
dh_testdir
dh_update_autotools_config
dh_quilt_patch
quilt --quiltrc /dev/null push -a || test $? = 2
Applying patch 0001-Fix-sfx-path.patch
patching file freetennis.ml
Now at patch 0001-Fix-sfx-path.patch
dh_ocamlinit
touch ocamlinit-stamp
dh_auto_configure
dh_auto_configure: Compatibility levels before 9 are deprecated (level 7 in use)
debian/rules override_dh_auto_build
make[1]: Entering directory '/home/lamby/temp/cdt.20161024070957.tDP5jcXfUr.db.freetennis/freetennis-0.4.8'
/usr/bin/make -f debian/Makefile freetennis.opt
make[2]: Entering directory '/home/lamby/temp/cdt.20161024070957.tDP5jcXfUr.db.freetennis/freetennis-0.4.8'
ocamlopt -I +camlimages -I +lablGL -I +lablgtk2 -I +sdl -w Aelzy -o freetennis bigarray.cmxa sdl.cmxa lablgtk.cmxa lablgl.cmxa graphics.cmxa sdlmixer.cmxa sdlttf.cmxa unix.cmxa freetennis.ml
File "freetennis.ml", line 1271, characters 6-19:
Warning 21: this statement never returns (or has an unsound type.)
File "freetennis.ml", line 7271, characters 29-30:
Warning 3: deprecated: Pervasives.&
Use (&&) instead.
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(startup.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(fail.o): relocation R_X86_64_32 against symbol `caml_exn_Failure' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(roots.o): relocation R_X86_64_32 against symbol `caml_frametable' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(globroots.o): relocation R_X86_64_32 against symbol `caml_global_roots' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(signals.o): relocation R_X86_64_32S against undefined symbol `caml_pending_signals' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(signals_asm.o): relocation R_X86_64_32S against symbol `caml_system__code_end' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(freelist.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(major_gc.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(minor_gc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(memory.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(alloc.o): relocation R_X86_64_32S against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(compare.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(ints.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(floats.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(str.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(array.o): relocation R_X86_64_32 against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(io.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(extern.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(intern.o): relocation R_X86_64_32S against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(hash.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(sys.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(parsing.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(gc_ctrl.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(obj.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(printexc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(callback.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(weak.o): relocation R_X86_64_32 against symbol `caml_weak_ref_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(compact.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(finalise.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(custom.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(unix.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(backtrace.o): relocation R_X86_64_32 against symbol `caml_backtrace_last_exn' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
debian/Makefile:15: recipe for target 'freetennis.opt' failed
make[2]: *** [freetennis.opt] Error 2
make[2]: Leaving directory '/home/lamby/temp/cdt.20161024070957.tDP5jcXfUr.db.freetennis/freetennis-0.4.8'
debian/rules:9: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/lamby/temp/cdt.20161024070957.tDP5jcXfUr.db.freetennis/freetennis-0.4.8'
debian/rules:15: recipe for target 'build' failed
make: *** [build] Error 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: freetennis.0.4.8-10.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 16635 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161024/00ed0875/attachment.obj>
More information about the Reproducible-builds
mailing list