Bug#320624: pcre-ocaml: FTBFS: Not using -fPIC to make a shared library.

2005-08-17 Thread Markus Mottl
Hi Stefano and Kurt, sorry for the long delay, but I was extremely busy... Thanks for the bug report. This was actually a more subtle issue, which required the override directive in OCamlMakefile to override user-supplied variables. Things should work now as expected (I hope). The new

Bug#320624: pcre-ocaml: FTBFS: Not using -fPIC to make a shared library.

2005-07-31 Thread Kurt Roeckx
On Sat, Jul 30, 2005 at 02:36:29PM -0700, Steve Langasek wrote: That doesn't make any sense; CPPFLAGS refers to flags for the C preprocessor, and one can clearly see three lines above that -fPIC is already being set in the PIC_CFLAGS variable where it belongs. The fix belongs elsewhere,

Bug#320624: pcre-ocaml: FTBFS: Not using -fPIC to make a shared library.

2005-07-31 Thread Kurt Roeckx
On Sun, Jul 31, 2005 at 12:44:06AM +0200, Stefano Zacchiroli wrote: On Sat, Jul 30, 2005 at 07:57:36PM +0200, Kurt Roeckx wrote: Your package is failing to build with the following error: On which architecture the package FTBFS? On buildd.debian.org all attempted built have been completed

Bug#320624: pcre-ocaml: FTBFS: Not using -fPIC to make a shared library.

2005-07-31 Thread Stefano Zacchiroli
On Sun, Jul 31, 2005 at 12:25:14PM +0200, Kurt Roeckx wrote: On which architecture the package FTBFS? On buildd.debian.org all attempted built have been completed successfully ... The log was from amd64, but it failed on hppa too. Yes, I discovered it this morning, since yesterday evening

Bug#320624: pcre-ocaml: FTBFS: Not using -fPIC to make a shared library.

2005-07-31 Thread Stefano Zacchiroli
On Sun, Jul 31, 2005 at 12:25:14PM +0200, Kurt Roeckx wrote: The log was from amd64, but it failed on hppa too. Could you please try the attached patch to see if it fixes the problem? TIA, Cheers. -- Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy [EMAIL

Bug#320624: pcre-ocaml: FTBFS: Not using -fPIC to make a shared library.

2005-07-31 Thread Kurt Roeckx
On Sun, Jul 31, 2005 at 12:35:46PM +0200, Stefano Zacchiroli wrote: On Sun, Jul 31, 2005 at 12:25:14PM +0200, Kurt Roeckx wrote: The log was from amd64, but it failed on hppa too. Could you please try the attached patch to see if it fixes the problem? No it doesn't. You're now using -fPIC

Bug#320624: pcre-ocaml: FTBFS: Not using -fPIC to make a shared library.

2005-07-31 Thread Stefano Zacchiroli
On Sun, Jul 31, 2005 at 12:48:41PM +0200, Kurt Roeckx wrote: No it doesn't. You're now using -fPIC at link time while you should do it at compile time. Thanks, I will then wait for some feedback from OCamlMakefile upstream author since -fPIC should be handled properly by it without adding

Bug#320624: pcre-ocaml: FTBFS: Not using -fPIC to make a shared library.

2005-07-31 Thread Stefano Zacchiroli
On Sun, Jul 31, 2005 at 12:29:11PM +0200, Stefano Zacchiroli wrote: AFAICT the bug is in OCamlMakefile which fails to pass PIC_CFLAGS when inovking ocamlmklib. I thus suppose that adding -ccopt -fPIC in the $(DLLSONAME) rule would be enough. Still, since I don't know OCamlMakefile in detail I

Bug#320624: pcre-ocaml: FTBFS: Not using -fPIC to make a shared library.

2005-07-31 Thread Kurt Roeckx
On Sun, Jul 31, 2005 at 10:09:12PM +0200, Stefano Zacchiroli wrote: Dear Markus, since I will be away in the next days and I don't want the pcre-ocaml debian package to be unbuildable for long I applied a quick and dirty patch to OCamlMakefile, which simply passes -fPIC to the building of

Bug#320624: pcre-ocaml: FTBFS: Not using -fPIC to make a shared library.

2005-07-30 Thread Kurt Roeckx
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 \

Bug#320624: pcre-ocaml: FTBFS: Not using -fPIC to make a shared library.

2005-07-30 Thread Steve Langasek
On Sat, Jul 30, 2005 at 07:57:36PM +0200, Kurt Roeckx wrote: Package: pcre-ocaml Version: 5.10.0-2 Severity: serious Tags: patch 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

Bug#320624: pcre-ocaml: FTBFS: Not using -fPIC to make a shared library.

2005-07-30 Thread Stefano Zacchiroli
On Sat, Jul 30, 2005 at 07:57:36PM +0200, Kurt Roeckx wrote: Your package is failing to build with the following error: On which architecture the package FTBFS? On buildd.debian.org all attempted built have been completed successfully ... Before forwarding the patch upstream I would like to