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

Bug#601297: marked as done (libcairo-ocaml-dev: Cannot compile programs due to outdated cairo-ocaml-dev)



Your message dated Mon, 25 Oct 2010 15:38:36 +0200
with message-id <4CC5885C.5080900@debian.org>
and subject line Re: Bug#601297: #601297 - libcairo-ocaml-dev: Cannot compile programs due to outdated cairo-ocaml-dev
has caused the Debian Bug report #601297,
regarding libcairo-ocaml-dev: Cannot compile programs due to outdated cairo-ocaml-dev
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
601297: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601297
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libcairo-ocaml-dev
Version: 20090223-3+b2
Severity: grave
Justification: renders package unusable


I cannot compile any programs which use libcairo-ocaml, due to the following
error:

Error on dynamically loaded library: /usr/lib/ocaml/stublibs/dllmlcairo.so:
/usr/lib/ocaml/stublibs/dllmlcairo.so: undefined symbol: caml_ba_byte_size

This appears to be a binary compatibility issue, as addressed here:

http://www.math.nagoya-u.ac.jp/~garrigue/soft/olabl/lablgtk-list/643.txt

This seems to only affect bytecode compilation.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcairo-ocaml-dev depends on:
ii  libcairo-ocaml [libcair 20090223-3+b2    OCaml bindings for Cairo (runtime)
ii  libcairo2-dev           1.8.8-2          Development files for the Cairo 2D
ii  liblablgtk2-ocaml-dev [ 2.14.0+dfsg-2+b1 OCaml bindings to Gtk+ version 2
ii  ocaml-nox [ocaml-nox-3. 3.11.2-1         ML implementation with a class-bas

libcairo-ocaml-dev recommends no packages.

Versions of packages libcairo-ocaml-dev suggests:
ii  ocaml-findlib          1.2.5+debian-1+b1 management tool for OCaml librarie

-- no debconf information



--- End Message ---
--- Begin Message ---
tags 601297 + wontfix
severity 601297 normal
retitle libcairo-ocaml-dev: dllmlcairo.so depends on dllbigarray.so
thanks

Le 25/10/2010 12:38, Evgeni Golov a écrit :
Ok, sorry, what actually fails is:
% ocamlc -o cubec -I /usr/lib/ocaml/cairo/ -I /usr/lib/ocaml/lablgtk2
lablgtk.cma cairo.cma cairo_lablgtk.cma gtkInit.cmo cube.ml
File "cube.ml", line 1, characters 0-1:
Error: Error on dynamically loaded library:
/usr/lib/ocaml/stublibs/dllmlcairo.so:
/usr/lib/ocaml/stublibs/dllmlcairo.so: undefined symbol: caml_ba_byte_size

But adding bigarray.cma to the command line works. The dependency to bigarray.cma is documented in the META file. The error message might not be clear, but what you are trying to do is not expected to work.


Best regards,

--
Stéphane


--- End Message ---

Reply to: