Bug#733934: libmikmatch-ocaml-dev: an attempt to compile a program using the provided library fails
Package: libmikmatch-ocaml-dev
Version: 1.0.6-3
Severity: grave
Justification: renders package unusable
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
I was using "mikmatch" library on Debian stable (Wheezy) and with GODI.
I have found out that in Debian testing (Jessie), the provided library
somehow cannot be used. The attempt to compile a program that tries to
link it fails.
* What exactly did you do (or not do) that was effective (or
ineffective)?
- I took a fresh Debian testing system.
- I installed some packages I wanted to use:
apt-get install libbatteries-ocaml-dev libsexplib-camlp4-dev libmikmatch-ocaml-dev libfindlib-ocaml-dev libxml-light-ocaml-dev libbin-prot-camlp4-dev
- and did this:
touch main.ml
ocamlfind c -c -syntax camlp4o -package mikmatch_pcre main.ml
* What was the outcome of this action?
- ocamlfind terminated with exit status 1
- ocamlfind did not generate executable binary
- ocamlfind printed the following:
Camlp4: Uncaught exception: Delete.Rule_not_found (("LIDENT ((_))", "patt: [ \"as\" LEFTA\n [ SELF; \"as\"; a_LIDENT ]\n| \"|\" LEFTA\n [ SELF; \"|\"; SELF ]\n| \",\" LEFTA\n [ SELF; \",\"; LIST1 NEXT SEP \",\" ]\n| \"::\" RIGHTA\n [ SELF; \"::\"; SELF ]\n| \"apply\" RIGHTA\n [ \"lazy\"; SELF\n | ANTIQUOT ((\"\" | \"pat\" | \"anti\"), _)\n | patt_constr; SELF\n | patt_constr ]\n| \"simple\" LEFTA\n [ ANTIQUOT ((\"\" | \"pat\" | \"anti\"), _)\n | ANTIQUOT (\"tup\", _)\n | ANTIQUOT (\"`bool\", _)\n | QUOTATION _\n | \"-\"; a_INT\n | \"-\"; a_INT32\n | \"-\"; a_INT64\n | \"-\"; a_NATIVEINT\n | \"-\"; a_FLOAT\n | \"false\"\n | \"true\"\n | \"[\"; \"]\"\n | \"[\"; sem_patt_for_list; \"::\"; SELF; \"]\"\n | \"[\"; sem_patt_for_list; \"]\"\n | \"[|\"; \"|]\"\n | \"[|\"; sem_patt; \"|]\"\n | \"{\"; label_patt_list; \"}\"\n | \"(\"; \")\"\n | \"(\"; \"module\"; a_UIDENT; \")\"\n | \"(\"; \"module\"; a_UIDENT; \":\"; package_type; \")\"\n | \"(\"; SELF; \":\"; ctyp
; \")\"\n | \"(\"; SELF; \")\"\n | \"_\"\n | \"`\"; a_ident\n | \"#\"; type_longident\n | ident\n | a_INT\n | a_INT32\n | a_INT64\n | a_NATIVEINT\n | a_FLOAT\n | a_STRING\n | a_CHAR; \"..\"; a_CHAR\n | a_CHAR ] ]"))
Error while running external preprocessor Command line: camlp4 '-I' '/usr/lib/ocaml/camlp4' '-I' '/usr/lib/ocaml/pcre' '-I' '/usr/lib/ocaml' '-I' '/usr/lib/ocaml/mikmatch_pcre' '-parser' 'o' '-parser' 'op' '-printer' 'p' 'pcre.cma' 'unix.cma' 'pa_mikmatch_pcre.cma' 'main.ml' > /tmp/ocamlppa8c5b2
* What outcome did you expect instead?
- ocamlfind should terminate with exit status 0
- ocamlfind should generate executable binary
(which in this case should do nothing)
*** End of the template - remove these lines ***
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.11-2-amd64 (SMP w/2 CPU cores)
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 libmikmatch-ocaml-dev depends on:
ii camlp4 [camlp4-4.01.0] 4.01.0-3
ii libmikmatch-ocaml [libmikmatch-ocaml-lrjk2] 1.0.6-3
ii libpcre-ocaml-dev [libpcre-ocaml-dev-36gi0] 7.0.2-4
ii ocaml-nox [ocaml-nox-4.01.0] 4.01.0-3
Versions of packages libmikmatch-ocaml-dev recommends:
ii ocaml-findlib 1.4-2
libmikmatch-ocaml-dev suggests no packages.
-- no debconf information
Reply to: