Re: Bug#619344: Not ready for multiarchified libx11-dev
On 03/23/2011 09:02 PM, Steve Langasek wrote:
>
> Attached is a patch to fix the libX11 lookup error when converted to
> multiarch. It's not a perfect patch; ideally, libX11 would be handled the
> same as other libraries, using 'hasgot' to determine if it's already on the
> linker path before probing around in other directories. But it does fix the
> problem, though it can't really be applied to ocaml until dpkg 1.16.0 is
> uploaded to Debian.
>
Thanks for working on this. I must admit that I'm still not convinced that
this bug should be kept open as affecting Debian… but, Meh…
> After applying this patch, I unfortunately still get a build failure in
> natty, but this appears to be unrelated to multiarch so may be
> Ubuntu-specific:
>
> ../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags random.cmx` -c random.ml
> /tmp/camlasm0c9c8e.s: Assembler messages:
> /tmp/camlasm0c9c8e.s:1959: Error: .size expression for camlRandom__rawfloat_126 does not evaluate to a constant
> File "random.ml", line 1, characters 0-1:
> Error: Assembler error, input left in file /tmp/camlasm0c9c8e.s
> make[3]: *** [random.cmx] Error 2
> make[3]: Leaving directory `/home/vorlon/multiarch/ocaml-3.11.2/stdlib'
>
I think that this is #617404 which is fixed using this patch:
http://patch-tracker.debian.org/patch/series/view/ocaml/3.11.2-4/0007-Fix-ocamlopt-w.r.t.-binutils-2.21.patch
applied in ocaml (3.11.2-4).
You may want to sync src:ocaml in Natty.
Regards,
--
Mehdi Dogguy مهدي الدڤي
http://dogguy.org/
Reply to: