Bug#480708: bin-prot: FTBFS: Not using -fPIC to create shared library.
Package: bin-prot
Version: 1.0.5-3
Severity: serious
Hi,
Your package is failing to build with the following error:
ocamlmklib -I +camlp4 \
-o bin_prot_stubs common_stubs.o read_stubs.o write_stubs.o \
/usr/bin/ld: write_stubs.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
write_stubs.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [dllbin_prot_stubs.so] Error 2
To make a shared library, the files need to be compiled using -fPIC.
Please see section 10.2 of the policy.
Kurt
Reply to: