Package: pcre-ocaml Version: 5.10.0-2 Severity: serious Tags: patch Hi,
Your package is failing to build with the following error: make[3]: Entering directory `/build/buildd/pcre-ocaml-5.10.0/lib' ocamlc -c -cc "cc" -ccopt "-g -Wall -O2 \ -DPIC \ -o pcre_stubs.o " pcre_stubs.c ar rcs libpcre_stubs.a pcre_stubs.o ocamlc -c pcre.mli ocamlc -c pcre.ml ocamlmklib \ -o pcre_stubs pcre_stubs.o -lpcre \ /usr/bin/ld: pcre_stubs.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC pcre_stubs.o: could not read symbols: Bad value collect2: ld returned 1 exit status It has a -DPIC, but it requires the -fPIC options too. Here is a patch for it: --- OCamlMakefile.old 2005-07-30 19:56:03.089321016 +0200 +++ OCamlMakefile 2005-07-30 19:55:43.630279240 +0200 @@ -162,7 +162,7 @@ PIC_CFLAGS := -fPIC endif ifndef PIC_CPPFLAGS - PIC_CPPFLAGS := -DPIC + PIC_CPPFLAGS := -fPIC -DPIC endif endif Kurt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]