Skip to content
This repository was archived by the owner on Dec 29, 2018. It is now read-only.
This repository was archived by the owner on Dec 29, 2018. It is now read-only.

Build fails #3

Description

@superbobry
$ omake -debug-deps --verbose
Removing .omakedb
Removing .omakedb.lock
Removing OMakefile.omc
Removing OMakeroot.omc
Removing src/OMakefile.omc
Removing src/lexer.ml
Removing src/parser.ml
Removing src/parser.mli
*** omake: reading OMakefiles
--- Checking for ocamlfind... (found /Users/bobry/.homebrew/bin/ocamlfind)
--- Checking for ocamlc.opt... (found /Users/bobry/.homebrew/bin/ocamlc.opt)
--- Checking for ocamlopt.opt... (found /Users/bobry/.homebrew/bin/ocamlopt.opt)
--- Checking whether ocamlc understands the "z" warnings... (yes)
*** omake: finished reading OMakefiles (0.03 sec)
- build src lexer.ml
+ ocamllex -q lexer.mll
- exit src lexer.ml, 0.05 sec, code 0
--- Checking if ocamldep understands -modules... (yes)
- scan src scan-ocaml-lexer.ml
+ <compute 2 value dependencies>
- scan src scan-ocaml-lexer.ml
+ ocamlfind ocamldep -modules lexer.ml | Shell.ocamldep-postproc()
- exit src scan-ocaml-lexer.ml, 0.03 sec, code 0
Scanner: /var/folders/kf/2qxhhnpn57z45cxwpztz5zg00000gn/T/omake951dc2.deps
   targets = lexer.cmo sources = lexer_state.cmi parser.cmi
   targets = lexer.cmx lexer.o sources = lexer_state.cmi parser.cmi lexer_state.cmx parser.cmx lexer_state.o parser.o
- scan src scan-ocaml-parse.ml
+ <compute 2 value dependencies>
- scan src scan-ocaml-parse.ml
+ ocamlfind ocamldep -modules parse.ml | Shell.ocamldep-postproc()
- exit src scan-ocaml-parse.ml, 0.03 sec, code 0
Scanner: /var/folders/kf/2qxhhnpn57z45cxwpztz5zg00000gn/T/omake4ebf38.deps
   targets = parse.cmo sources = ast.cmi lexer.cmi lexer_state.cmi parser.cmi
   targets = parse.cmx parse.o sources = ast.cmi lexer.cmi lexer_state.cmi parser.cmi ast.cmx lexer.cmx lexer_state.cmx parser.cmx ast.o lexer.o lexer_state.o parser.o
- build src parser.ml
+ ocamlyacc -bgen_parser parser.mly
1 shift/reduce conflict.
- build src parser.ml
+ Shell.mv(gen_parser.ml src/parser.ml)
- build src parser.ml
+ Shell.rm(gen_parser.mli)
- exit src parser.ml, 0.03 sec, code 0
- build src parser.mli
+ ocamlc -i parser.ml > src/parser.mli
File "parser.mly", line 2, characters 19-28:
Error: Unbound module Ast
- exit src parser.mli, 0.12 sec, code 2
*** omake: 19/73 targets are up to date
*** omake: failed (0.33 sec, 2/2 scans, 3/3 rules, 12/75 digests)
*** omake: targets were not rebuilt because of errors:
   src/parser.mli

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions