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

Re: ocamlopt failure under git-pbuilder



Le 07/03/2011 03:20, Eric Cooper a écrit :
>     [...]
>     ocamlfind ocamlopt -package "unix pcre" -c netsys_impl_util.ml
>     /tmp/camlasm44a107.s: Assembler messages:
>     /tmp/camlasm44a107.s:581: Error: .size expression does not evaluate to a constant
>     File "netsys_impl_util.ml", line 1, characters 0-1:
>     Error: Assembler error, input left in file /tmp/camlasm44a107.s
> 
> The tmp file gets deleted -- is there some way to tell gbp to keep it around?

It is created and deleted by ocamlopt itself. You can try with -S and
-verbose. If it doesn't help, you can try using hexec or similar
techniques to "hijack" this temporary file.

> Many other files were compiled successfully before this one failed.
> The strange part is that the package compiles OK when it is built with
> just "debuild".  Any suggestions would be welcome.

Looks like [1] (but I didn't look in detail).

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616357

-- 
Stéphane


Reply to: