[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: List of FTBFS in Ubuntu

On 03-12-2010, Sylvain Le Gall <gildor@debian.org> wrote:
> On 03-12-2010, Ralf Treinen <treinen@free.fr> wrote:
>> On Fri, Dec 03, 2010 at 08:43:23AM +0100, Lucas Nussbaum wrote:
>>> >From time to time, I do archive rebuilds for Ubuntu too, and I thought
>>> that the results would be interesting for DDs as well, since a FTBFS in
>>> Ubuntu might indicate that the package will FTBFS in the future in
>>> Debian, due to toolchain changes for example.
>>> http://udd.debian.org/cgi-bin/ubuntu_ftbfs.cgi.
>> Thanks, Lucas, that is useful.
>> There are quite some problems related to pcre (several ocaml packages
>> are bitten by that, but not only). Any idea to what this may be due?
> There is a problem with inversion of flags for library in pcre-ocaml. I
> had a discussion about this issue with Arch Linux pcre-ocaml (and oasis)
> maintainer. 

On 06/11/10 21:10, Sylvain Le Gall wrote:                                                                                                                                                                                               
> On Sat, Nov 06, 2010 at 08:54:13PM +0000, Magnus Therning wrote:                                                                                                                                                                      
>> On 06/11/10 17:34, Sylvain Le Gall wrote:

>> I found a rather hackish way to fix it.  'ocamlobjinfo' now says                                                                                                                                                                     
>>    Extra C object files: -lpcre_stubs -L/usr/lib -lpcre -lpcre_stubs                                                                                                                                                                 
>> Not the clean fix I would have liked, but it soves the problem. :-)                                                                                                                                                                  
>> Now I only have some minor clean-ups and then I can update OASIS and its                                                                                                                                                             
>> dependencies.                                                                                                                                                                                                                        
>> Thanks for your help with this!                                                                                                                                                                                                      
> Do you fix it in the pcre-ocaml package? or just for ocaml-expect build?                                                                                                                                                              
I fixed it in the pcre-ocaml package:                                                                                                                                                                                                   
  --- pcre-ocaml.orig/src/pcre-ocaml-release-6.1.1/lib/Makefile                                                                                                                                                                         
  +++ pcre-ocaml/src/pcre-ocaml-release-6.1.1/lib/Makefile                                                                                                                                                                              
  @@ -3,7 +3,7 @@ OCAMLMAKEFILE = ../OCamlMakefile                                                                                                                                                                                      
   SOURCES := pcre.mli pcre.ml pcre_stubs.c                                                                                                                                                                                             
   CFLAGS := -O2 $(shell pcre-config --cflags)                                                                                                                                                                                          
   PCRE_FLAGS := $(shell pcre-config --libs)                                                                                                                                                                                            
  -OCAMLLDFLAGS := -cclib "$(PCRE_FLAGS)"                                                                                                                                                                                               
  +OCAMLLDFLAGS := -cclib -lpcre_stubs -cclib "$(PCRE_FLAGS)"                                                                                                                                                                           
   OCAMLMKLIB_FLAGS := $(PCRE_FLAGS)                                                                                                                                                                                                    
   RESULT := pcre                                                                                                                                                                                                                       
(the patch is from Magnus Therning)

Sylvain Le Gall

Reply to: