Advertisement
Guest User

Untitled

a guest
Jan 6th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 3.43 KB | None | 0 0
  1. [ERROR] The compilation of L2 failed at "make".
  2. Processing 72/72: [L2: ocamlfind remove]
  3. #=== ERROR while installing L2.1.0 ============================================#
  4. # opam-version 1.2.2
  5. # os           linux
  6. # command      make
  7. # path         /home/user/.opam/4.02.3/build/L2.1.0
  8. # compiler     4.02.3
  9. # exit-code    2
  10. # env-file     /home/user/.opam/4.02.3/build/L2.1.0/L2-4058-aab1c6.env
  11. # stdout-file  /home/user/.opam/4.02.3/build/L2.1.0/L2-4058-aab1c6.out
  12. # stderr-file  /home/user/.opam/4.02.3/build/L2.1.0/L2-4058-aab1c6.err
  13. ### stdout ###
  14. # [...]
  15. # /home/user/.opam/system/bin/ocamlfind ocamldep -pp 'ppx-jane -dump-ast' -predicates ppx_driver -package yojson -package hashcons -package core_extended -package core -modules src/l2-lib/ast.ml > src/l2-lib/ast.ml.depends
  16. # /home/user/.opam/system/bin/ocamlfind ocamldep -pp 'ppx-jane -dump-ast' -predicates ppx_driver -package yojson -package hashcons -package core_extended -package core -modules src/l2-lib/collections.ml > src/l2-lib/collections.ml.depends
  17. # /home/user/.opam/system/bin/ocamlfind ocamldep -pp 'ppx-jane -dump-ast' -predicates ppx_driver -package yojson -package hashcons -package core_extended -package core -modules src/l2-lib/util.ml > src/l2-lib/util.ml.depends
  18. # /home/user/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -thread -g -pp 'ppx-jane -dump-ast' -predicates ppx_driver -package yojson -package hashcons -package core_extended -package core -I src/l2-lib -o src/l2-lib/util.cmo src/l2-lib/util.ml
  19. # + /home/user/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -thread -g -pp 'ppx-jane -dump-ast' -predicates ppx_driver -package yojson -package hashcons -package core_extended -package core -I src/l2-lib -o src/l2-lib/util.cmo src/l2-lib/util.ml
  20. # File "src/l2-lib/util.ml", line 1:
  21. # Error: /home/user/.opam/system/lib/core/core.cmi
  22. # is not a compiled interface for this version of OCaml.
  23. # It seems to be for an older version of OCaml.
  24. # Command exited with code 2.
  25. ### stderr ###
  26. # W: Cannot find source file matching module 'l2' in library l2.
  27. # W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
  28. # E: Failure("Command ''/usr/bin/ocamlbuild' src/l2-lib/l2.cma src/l2-lib/l2.cmxa src/l2-lib/l2.a src/l2-lib/l2.cmxs src/l2-cli/l2.native src/l2-cli/l2.byte src/l2-tests/tests.native -use-ocamlfind -j 8 -tag debug' terminated with error code 10")
  29. # make: *** [build] Error 1
  30.  
  31.  
  32.  
  33. =-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  34. The following actions failed
  35.   ∗  install L2 1.0
  36. The following changes have been performed
  37.   ∗  install   biniou        1.0.12        
  38.   ∗  install   conf-autoconf 0.1          
  39.   ∗  install   conf-which    1            
  40.   ∗  install   core          113.33.03    
  41.   ∗  install   core_extended 113.33.03    
  42.   ∗  install   core_kernel   113.33.03    
  43.   ∗  install   easy-format   1.2.0        
  44.   ∗  install   hashcons      1.2          
  45.   ∗  install   menhir        20151026      
  46.   ↘  downgrade ocamlfind     1.7.1 to 1.6.1
  47.   ∗  install   ounit         2.0.0        
  48.   ∗  install   re2           113.33.03    
  49.   ∗  install   textutils     113.33.03    
  50.   ∗  install   yojson        1.3.3        
  51. [NOTE] Pinning command successful, but your installed packages may be out of sync.
  52.  
  53. The former state can be restored with:
  54.     opam switch import "~/.opam/4.02.3/backup/state-20170006144414.export
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement