Bug#656307:

2012-01-18 Thread Romeyke, Andreas
Package: libsexplib-camlp4-dev
Version: 7.0.4-1
Severity: normal

Dear Maintainer,

After upgrading Debian Squeeze to Testing, our ocaml based project does not
compile anymore,
because something is wrong now with sexplib.

We got the message Error: Unbound value string_of_sexp.

With sexplib from Squeeze, all will compile fine.

Here a short log:

ocamlbuild.native -verbose 10 -ocamlrun ocamlrun.opt -ocamlc ocamlc.opt
-ocamlopt ocamlopt.opt   -j 4 -tags annot -tags thread  -tags debug  -no-links
-I helper -I io -I img -I preprocessing -I dictionary -I ocr -I glyphs -I bbox
-I segment -I structure -I form -I composite -I pdf -I test -I examples -cflags
-w Aez -I +dynlink -I /usr/local/lib/ocaml/3.12.1/bolt -I +threads -I
+lablgtk2 -I +extlib -I +pcre -I +netsys -I +netstring -I +json-wheel   -I +num
-I +nums -I +sexplib -I +zip -I +xml-light -I +xmlrpc-light -I +equeue -I
+netclient -I /home/andreas/projekte/core_umbau_daemon_steuerung/_build   
-lflags -I +num -I +nums -I +sexplib -I +dynlink -I
/usr/local/lib/ocaml/3.12.1/bolt -I +threads -I +lablgtk2 -I +extlib -I +pcre
-I +netsys -I +netstring -I +json-wheel   -I +num -I +nums -I +sexplib -I +zip
-I +xml-light -I +xmlrpc-light -I +equeue -I +netclient -I
/home/andreas/projekte/core_umbau_daemon_steuerung/_build-libs
unix,pcre,netsys,netstring,equeue,netclient,jsonwheel,bigarray,str,dynlink,bolt,extLib,nums,sexplib,zip
,xml-light,xmlrpc-light -pp camlp4o
/usr/local/lib/ocaml/3.12.1/bolt/bolt_pp.cmo -logger 'leibnizcored.native'
-level DEBUG --   -I /usr/lib/ocaml/sexplib -I /usr/lib/ocaml/type-conv
pa_type_conv.cma pa_sexp_conv.cma leibnizcored.native
+ ocamlopt.opt -c -w Aez -I +dynlink -I /usr/local/lib/ocaml/3.12.1/bolt -I
+threads -I +lablgtk2 -I +extlib -I +pcre -I +netsys -I +netstring -I +json-
wheel -I +num -I +nums -I +sexplib -I +zip -I +xml-light -I +xmlrpc-light -I
+equeue -I +netclient -I
/home/andreas/projekte/core_umbau_daemon_steuerung/_build -g -annot -thread -pp
'camlp4o /usr/local/lib/ocaml/3.12.1/bolt/bolt_pp.cmo -logger
'\''leibnizcored.native'\'' -level DEBUG -- -I /usr/lib/ocaml/sexplib -I
/usr/lib/ocaml/type-conv pa_type_conv.cma pa_sexp_conv.cma' -I io -I bbox -I
ocr -I examples -I img -I test -I dictionary -I structure -I segment -I
preprocessing -I pdf -I composite -I helper -I glyphs -I form -o
io/io_types.cmx io/io_types.ml
File io/io_types.ml, line 70, characters 27-33:
Error: Unbound value string_of_sexp
Command exited with code 2.
Compilation unsuccessful after building 86 targets (0 cached) in 00:00:21.


The same problem could be reported here:
http://forge.ocamlcore.org/tracker/?func=detailatid=334aid=1072group_id=62

Thanks in advance,

with best regards

Andreas



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libsexplib-camlp4-dev depends on:
ii  camlp4 [camlp4-3.12.1]   3.12.1-2
ii  libtype-conv-camlp4-dev [libtype-conv-camlp4-dev-oich0]  3.0.4-1
ii  ocaml-findlib1.2.7+debian-1+b1
ii  ocaml-nox [ocaml-nox-3.12.1] 3.12.1-2

libsexplib-camlp4-dev recommends no packages.

libsexplib-camlp4-dev suggests no packages.

-- no debconf information




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#656307:

2012-01-18 Thread Stéphane Glondu
Le 18/01/2012 11:28, Romeyke, Andreas a écrit :
 After upgrading Debian Squeeze to Testing, our ocaml based project does not
 compile anymore,
 because something is wrong now with sexplib.
 
 We got the message Error: Unbound value string_of_sexp.
 
 With sexplib from Squeeze, all will compile fine.

You'll have to be more specific. Do you call string_of_sexp directly
from your code? If so, you are affected by an upstream API change, and
this is merely a porting issue and doesn't qualify as a bug (or, put
differently, is a bug on your side), IMHO.

By grepping through current sexplib310 source package, I can see there
is a Std.string_of_sexp... did you try that?


Cheers,

-- 
Stéphane



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#656307:

2012-01-18 Thread Mehdi Dogguy

On 18/01/12 11:28, Romeyke, Andreas wrote:

Package: libsexplib-camlp4-dev Version: 7.0.4-1 Severity: normal

Dear Maintainer,

After upgrading Debian Squeeze to Testing, our ocaml based project
does not compile anymore, because something is wrong now with
sexplib.

We got the message Error: Unbound value string_of_sexp.



There was a thread on caml-list about this specific issue (I beleive it
is the same). The relevant message from Markus Mottl (sexplib's 
upstream) is:


http://article.gmane.org/gmane.comp.lang.caml.general/52962

Can you please check that the proposed change works for you?

Regards,

--
Mehdi Dogguy



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#656307:

2012-01-18 Thread Andreas Romeyke
Hello,

Am Mittwoch, den 18.01.2012, 11:43 +0100 schrieb Stéphane Glondu:
 You'll have to be more specific. Do you call string_of_sexp directly
 from your code? If so, you are affected by an upstream API change, and
 this is merely a porting issue and doesn't qualify as a bug (or, put
 differently, is a bug on your side), IMHO.
 
 By grepping through current sexplib310 source package, I can see there
 is a Std.string_of_sexp... did you try that?

All stuff is generated throug sexplib-preprocessor for camlp4.
The hint from Mehdi Dogguy was helpful, the problem was an undocumented
open Sexplib.Std, thanks

-- 
Andreas Romeyke
- Abteilung Blindenschrift -
Deutsche Zentralbücherei für Blinde zu Leipzig (DZB)
Gustav-Adolf-Straße 7, 04105 Leipzig
Tel: +49 341 7113-..., Fax: +49 341 7113-125
Internet: www.dzb.de
E-Mail: andreas.rome...@dzb.de


signature.asc
Description: This is a digitally signed message part


Bug#656307:

2012-01-18 Thread Andreas Romeyke
Hello,

Am Mittwoch, den 18.01.2012, 11:44 +0100 schrieb Mehdi Dogguy:

 http://article.gmane.org/gmane.comp.lang.caml.general/52962
 
 Can you please check that the proposed change works for you?

This hint works, thanks :)

Please, could you add this hint
to /usr/share/doc/libsexplib-camlp4-dev/?

Thanks a lot :)


-- 
Andreas Romeyke
- Abteilung Blindenschrift -
Deutsche Zentralbücherei für Blinde zu Leipzig (DZB)
Gustav-Adolf-Straße 7, 04105 Leipzig
Tel: +49 341 7113-..., Fax: +49 341 7113-125
Internet: www.dzb.de
E-Mail: andreas.rome...@dzb.de


signature.asc
Description: This is a digitally signed message part