Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not compile with ocaml.4.08.0 #46

Open
jrochel opened this issue Aug 13, 2019 · 1 comment
Open

does not compile with ocaml.4.08.0 #46

jrochel opened this issue Aug 13, 2019 · 1 comment

Comments

@jrochel
Copy link

jrochel commented Aug 13, 2019

Here's the relevant part of the compilation log :

+ /home/jan/.opam/4.08.0/bin/ocamlfind ocamldep -syntax camlp4o -syntax camlp4o -ppopt syntax/common/pa_deriving_common.cma -syntax camlp4o -package camlp4.quotations.o -package camlp4.extend -package camlp4 -package bytes -modules syntax/std/pa_deriving_std.ml > syntax/std/pa_deriving_std.ml.depends
Camlp4: Uncaught exception: DynLoader.Error ("./syntax/common/pa_deriving_common.cma", "no implementation available for Pa_deriving_common.Id")

File "syntax/std/pa_deriving_std.ml", line 1:
Error: Error while running external preprocessor
Command line: camlp4 '-I' '/home/jan/.opam/4.08.0/lib/ocaml/camlp4' '-I' '/home/jan/.opam/4.08.0/lib/ocaml/camlp4' '-I' '/home/jan/.opam/4.08.0/lib/ocaml/camlp4' '-parser' 'o' '-parser' 'op' '-printer' 'p' '-parser' 'Camlp4QuotationCommon' '-parser' 'Camlp4OCamlOriginalQuotationExpander' '-parser' 'Camlp4GrammarParser' 'syntax/common/pa_deriving_common.cma' 'syntax/std/pa_deriving_std.ml' > /tmp/ocamlppe0e1ea

Command exited with code 2.
Compilation unsuccessful after building 39 targets (37 cached) in 00:00:00.
E: Failure("Command ''/home/jan/.opam/4.08.0/bin/ocamlbuild' syntax/common/pa_deriving_common.cma syntax/common/pa_deriving_common.cmxa syntax/common/pa_deriving_common.a syntax/common/pa_deriving_common.cmxs syntax/std/pa_deriving_std.cma syntax/std/pa_deriving_std.cmxa syntax/std/pa_deriving_std.a syntax/std/pa_deriving_std.cmxs syntax/classes/pa_deriving_classes.cma syntax/classes/pa_deriving_classes.cmxa syntax/classes/pa_deriving_classes.a syntax/classes/pa_deriving_classes.cmxs lib/deriving.cma lib/deriving.cmxa lib/deriving.a lib/deriving.cmxs lib/deriving_num.cma lib/deriving_num.cmxa lib/deriving_num.a lib/deriving_num.cmxs -use-ocamlfind -tag debug' terminated with error code 10")
make: *** [Makefile:7: build] Error 1
@jrochel
Copy link
Author

jrochel commented Aug 13, 2019

Configuration:
ocamlfind: ........................................... /home/jan/.opam/4.08.0/bin/ocamlfind
ocamlc: .............................................. /home/jan/.opam/4.08.0/bin/ocamlc.opt
ocamlopt: ............................................ /home/jan/.opam/4.08.0/bin/ocamlopt.opt
ocamlbuild: .......................................... /home/jan/.opam/4.08.0/bin/ocamlbuild
Package name: ........................................ deriving
Package version: ..................................... 0.8.1
os_type: ............................................. Unix
system: .............................................. linux
architecture: ........................................ amd64
ccomp_type: .......................................... cc
ocaml_version: ....................................... 4.08.0
standard_library_default: ............................ /home/jan/.opam/4.08.0/lib/ocaml
standard_library: .................................... /home/jan/.opam/4.08.0/lib/ocaml
bytecomp_c_compiler: ................................. gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT
native_c_compiler: ................................... gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT
model: ............................................... default
ext_obj: ............................................. .o
ext_asm: ............................................. .s
ext_lib: ............................................. .a
ext_dll: ............................................. .so
default_executable_name: ............................. a.out
systhread_supported: ................................. true
Install architecture-independent files dir: .......... /usr/local
Install architecture-dependent files in dir: ......... $prefix
User executables: .................................... $exec_prefix/bin
System admin executables: ............................ $exec_prefix/sbin
Program executables: ................................. $exec_prefix/libexec
Read-only single-machine data: ....................... $prefix/etc
Modifiable architecture-independent data: ............ $prefix/com
Modifiable single-machine data: ...................... $prefix/var
Object code libraries: ............................... $exec_prefix/lib
Read-only arch-independent data root: ................ $prefix/share
Read-only architecture-independent data: ............. $datarootdir
Info documentation: .................................. $datarootdir/info
Locale-dependent data: ............................... $datarootdir/locale
Man documentation: ................................... $datarootdir/man
Documentation root: .................................. $datarootdir/doc/$pkg_name
HTML documentation: .................................. $docdir
DVI documentation: ................................... $docdir
PDF documentation: ................................... $docdir
PS documentation: .................................... $docdir
findlib_version: ..................................... 1.8.1
is_native: ........................................... true
suffix_program: ......................................
Remove a file.: ...................................... rm -f
Remove a directory.: ................................. rm -rf
Turn ocaml debug flag on: ............................ true
Turn ocaml profile flag on: .......................... false
Compiler support generation of .cmxs.: ............... true
OCamlbuild additional flags: .........................
type-conv support: ................................... false
Create documentations: ............................... true
Compile tests executable and library and run them: ... false
pkg_camlp4: .......................................... /home/jan/.opam/4.08.0/lib/ocaml/camlp4
pkg_camlp4_extend: ................................... /home/jan/.opam/4.08.0/lib/ocaml/camlp4
pkg_camlp4_quotations_o: ............................. /home/jan/.opam/4.08.0/lib/ocaml/camlp4
pkg_bytes: ........................................... /home/jan/.opam/4.08.0/lib/bytes
pkg_num: ............................................. /home/jan/.opam/4.08.0/lib/num
ocamldoc: ............................................ /home/jan/.opam/4.08.0/bin/ocamldoc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant