Bug#841758: ocamldsort: FTBFS: relocation R_X86_64_32 against symbol `caml_backtrace_last_exn' can not be used when making a shared object; recompile with -fPIC
Chris Lamb
lamby at debian.org
Sun Oct 23 08:00:09 UTC 2016
Source: ocamldsort
Version: 0.16.0-2
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,
ocamldsort fails to build from source in unstable/amd64:
[…]
**************************************************************************************
** Starting build **
**************************************************************************************
Package: ocamldsort
Version: 0.16.0-2
Build architecture: amd64
Date: Sun, 23 Oct 2016 09:38:41 +0200
Hostname: d56422bd8eb1
Uname: Linux d56422bd8eb1 4.7.0-1-amd64 #1 SMP Debian 4.7.6-1 (2016-10-07) x86_64 GNU/Linux
/etc/timezone: Europe/Belgrade
**************************************************************************************
** Installing build dependencies **
**************************************************************************************
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'ocamldsort-build-deps' in '../ocamldsort-build-deps_0.16.0-2_all.deb'.
The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package ocamldsort-build-deps.
(Reading database ... 23456 files and directories currently installed.)
Preparing to unpack ocamldsort-build-deps_0.16.0-2_all.deb ...
Unpacking ocamldsort-build-deps (0.16.0-2) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
camlp4 dh-ocaml libcamlp4-ocaml-dev libncurses5-dev libtinfo-dev
ocaml-base-nox ocaml-compiler-libs ocaml-interp ocaml-nox
Suggested packages:
ncurses-doc ocaml-doc tuareg-mode | ocaml-mode
Recommended packages:
ocaml-findlib ledit | readline-editor
The following NEW packages will be installed:
camlp4 dh-ocaml libcamlp4-ocaml-dev libncurses5-dev libtinfo-dev
ocaml-base-nox ocaml-compiler-libs ocaml-interp ocaml-nox
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 32.2 MB of archives.
After this operation, 219 MB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian sid/main amd64 ocaml-base-nox amd64 4.02.3-7 [539 kB]
Get:2 http://httpredir.debian.org/debian sid/main amd64 libtinfo-dev amd64 6.0+20160917-1 [77.3 kB]
Get:3 http://httpredir.debian.org/debian sid/main amd64 libncurses5-dev amd64 6.0+20160917-1 [173 kB]
Get:4 http://httpredir.debian.org/debian sid/main amd64 ocaml-compiler-libs amd64 4.02.3-7 [9443 kB]
Get:5 http://httpredir.debian.org/debian sid/main amd64 ocaml-interp amd64 4.02.3-7 [360 kB]
Get:6 http://httpredir.debian.org/debian sid/main amd64 ocaml-nox amd64 4.02.3-7 [5539 kB]
Get:7 http://httpredir.debian.org/debian sid/main amd64 libcamlp4-ocaml-dev amd64 4.02.1+3-2 [12.5 MB]
Get:8 http://httpredir.debian.org/debian sid/main amd64 camlp4 amd64 4.02.1+3-2 [3454 kB]
Get:9 http://httpredir.debian.org/debian sid/main amd64 dh-ocaml all 1.0.10 [83.7 kB]
Fetched 32.2 MB in 0s (46.2 MB/s)
Selecting previously unselected package ocaml-base-nox.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23460 files and directories currently installed.)
Preparing to unpack .../0-ocaml-base-nox_4.02.3-7_amd64.deb ...
Unpacking ocaml-base-nox (4.02.3-7) ...
Selecting previously unselected package libtinfo-dev:amd64.
Preparing to unpack .../1-libtinfo-dev_6.0+20160917-1_amd64.deb ...
Unpacking libtinfo-dev:amd64 (6.0+20160917-1) ...
Selecting previously unselected package libncurses5-dev:amd64.
Preparing to unpack .../2-libncurses5-dev_6.0+20160917-1_amd64.deb ...
Unpacking libncurses5-dev:amd64 (6.0+20160917-1) ...
Selecting previously unselected package ocaml-compiler-libs.
Preparing to unpack .../3-ocaml-compiler-libs_4.02.3-7_amd64.deb ...
Unpacking ocaml-compiler-libs (4.02.3-7) ...
Selecting previously unselected package ocaml-interp.
Preparing to unpack .../4-ocaml-interp_4.02.3-7_amd64.deb ...
Unpacking ocaml-interp (4.02.3-7) ...
Selecting previously unselected package ocaml-nox.
Preparing to unpack .../5-ocaml-nox_4.02.3-7_amd64.deb ...
Unpacking ocaml-nox (4.02.3-7) ...
Selecting previously unselected package libcamlp4-ocaml-dev.
Preparing to unpack .../6-libcamlp4-ocaml-dev_4.02.1+3-2_amd64.deb ...
Unpacking libcamlp4-ocaml-dev (4.02.1+3-2) ...
Selecting previously unselected package camlp4.
Preparing to unpack .../7-camlp4_4.02.1+3-2_amd64.deb ...
Unpacking camlp4 (4.02.1+3-2) ...
Selecting previously unselected package dh-ocaml.
Preparing to unpack .../8-dh-ocaml_1.0.10_all.deb ...
Unpacking dh-ocaml (1.0.10) ...
Setting up ocaml-base-nox (4.02.3-7) ...
Setting up libtinfo-dev:amd64 (6.0+20160917-1) ...
Setting up dh-ocaml (1.0.10) ...
Setting up libncurses5-dev:amd64 (6.0+20160917-1) ...
Processing triggers for man-db (2.7.5-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 libcamlp4-ocaml-dev (4.02.1+3-2) ...
Setting up camlp4 (4.02.1+3-2) ...
Setting up ocamldsort-build-deps (0.16.0-2) ...
**************************************************************************************
** Environment **
**************************************************************************************
PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=d56422bd8eb1
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.20161023093839.kt032FYttS.db.ocamldsort/ocamldsort-0.16.0
OLDPWD=/home/lamby/temp/cdt.20161023093839.kt032FYttS.db.ocamldsort
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 ocamldsort 0.16.0-2 on amd64 **
**************************************************************************************
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: info: source package ocamldsort
dpkg-buildpackage: info: source version 0.16.0-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Ralf Treinen <treinen at debian.org>
dpkg-source --before-build ocamldsort-0.16.0
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean --with=ocaml
dh: Compatibility levels before 9 are deprecated (level 8 in use)
dh_testdir
dh_auto_clean
dh_auto_clean: Compatibility levels before 9 are deprecated (level 8 in use)
dh_ocamlclean
dh_clean
dh_clean: Compatibility levels before 9 are deprecated (level 8 in use)
debian/rules build
dh build --with=ocaml
dh: Compatibility levels before 9 are deprecated (level 8 in use)
dh_testdir
dh_update_autotools_config
dh_ocamlinit
debian/rules override_dh_auto_configure
make[1]: Entering directory '/home/lamby/temp/cdt.20161023093839.kt032FYttS.db.ocamldsort/ocamldsort-0.16.0'
./configure --host=x86_64-linux-gnu \
--build=x86_64-linux-gnu \
--prefix=/usr \
--bindir=\${prefix}/bin \
--mandir=\${prefix}/share/man
checking for ocamlc... /usr/bin/ocamlc
checking for ocaml... /usr/bin/ocaml
checking for camlp4... /usr/bin/camlp4
OCaml version 4.02.3 is ok
OCaml library path is /usr/lib/ocaml
checking for ocamlopt... /usr/bin/ocamlopt
checking ocamlopt version... ok
checking for ocamlc.opt... no
checking for ocamlopt.opt... no
checking for ocamldep... /usr/bin/ocamldep
configure: creating ./config.status
config.status: creating Makefile
make[1]: Leaving directory '/home/lamby/temp/cdt.20161023093839.kt032FYttS.db.ocamldsort/ocamldsort-0.16.0'
dh_auto_build
dh_auto_build: Compatibility levels before 9 are deprecated (level 8 in use)
make -j1
make[1]: Entering directory '/home/lamby/temp/cdt.20161023093839.kt032FYttS.db.ocamldsort/ocamldsort-0.16.0'
/usr/bin/ocamlc -pp camlp4o -c files.ml
/usr/bin/ocamlc -pp camlp4o -c dep_debug.ml
/usr/bin/ocamlc -pp camlp4o -c dep_error.ml
/usr/bin/ocamlc -pp camlp4o -c dep_parse.ml
/usr/bin/ocamlc -pp camlp4o -c params.ml
/usr/bin/ocamlc -pp camlp4o -c dependencies.ml
/usr/bin/ocamlc -pp camlp4o -c dep_sort.ml
/usr/bin/ocamlc -pp camlp4o -c main.ml
/usr/bin/ocamlc -o ocamldsort unix.cma files.cmo dep_debug.cmo dep_error.cmo dep_parse.cmo params.cmo dependencies.cmo dep_sort.cmo main.cmo
/usr/bin/ocamlopt -pp camlp4o -c files.ml
/usr/bin/ocamlopt -pp camlp4o -c dep_debug.ml
/usr/bin/ocamlopt -pp camlp4o -c dep_error.ml
/usr/bin/ocamlopt -pp camlp4o -c dep_parse.ml
/usr/bin/ocamlopt -pp camlp4o -c params.ml
/usr/bin/ocamlopt -pp camlp4o -c dependencies.ml
/usr/bin/ocamlopt -pp camlp4o -c dep_sort.ml
/usr/bin/ocamlopt -pp camlp4o -c main.ml
/usr/bin/ocamlopt -o ocamldsort.opt unix.cmxa files.cmx dep_debug.cmx dep_error.cmx dep_parse.cmx params.cmx dependencies.cmx dep_sort.cmx main.cmx
/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
Makefile:54: recipe for target 'ocamldsort.opt' failed
make[1]: *** [ocamldsort.opt] Error 2
make[1]: Leaving directory '/home/lamby/temp/cdt.20161023093839.kt032FYttS.db.ocamldsort/ocamldsort-0.16.0'
dh_auto_build: make -j1 returned exit code 2
debian/rules:7: 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: ocamldsort.0.16.0-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3147 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161023/a1a4badf/attachment.obj>
More information about the Reproducible-builds
mailing list