Package: libcamomile-ocaml-dev Version: 0.7.2-2+b2 Severity: normal --- Please enter the report below this line. ---
The testcase below fails using the camomile package from Debian, but works with latest upstream. I think it is due to this bug which was fixed in 0.7.3: http://sourceforge.net/tracker/?func=detail&aid=2881864&group_id=40603&atid=428416 Debian package is 0.7.2 which is more than a year old and has this bug. I think the package should be upgraded to latest upstream. Reduced testcase: $ cat >camobug.ml <<EOF open CamomileLibrary;; let set = ref USet.empty;; let _ = set := USet.add_range (UChar.chr 0xffffe) (UChar.chr 0xfffff) !set; set := USet.add_range (UChar.chr 0x10fffe) (UChar.chr 0x10ffff) !set; set := USet.add_range (UChar.chr 0xf0000) (UChar.chr 0xffffd) !set; set := USet.compl !set;; EOF $ ocamlfind ocamlc -package camomile camobug.ml -linkpkg -g -o camobug $ OCAMLRUNPARAM=b ./camobug Fatal error: exception Invalid_argument("ISet.add_range") Raised at file "pervasives.ml", line 23, characters 25-45 Called from file "public/iSet.ml", line 160, characters 42-65 Called from file "public/iSet.ml", line 161, characters 42-65 Called from file "public/iSet.ml", line 160, characters 42-65 Called from file "camobug.ml", line 9, characters 11-26 As a workaround I use a for loop that calls USet.add instead of USet.add_range. --- System information. --- Architecture: amd64 Kernel: Linux 3.0.0-rc4 Debian Release: wheezy/sid 500 unstable ftp.lug.ro 500 testing security.debian.org 500 testing ftp.ro.debian.org 500 stable ftp.ro.debian.org 1 experimental ftp.lug.ro --- Package information. --- Depends (Version) | Installed ======================================-+-============ libcamomile-ocaml-data (= 0.7.2-2) | 0.7.2-2 libc6 (>= 2.7) | 2.13-7 ocaml-nox-3.12.0 | Package's Recommends field is empty. Package's Suggests field is empty. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

