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

cppo_ocamlbuild missing depends on ocamlfind #12640

Closed
gares opened this issue Sep 17, 2018 · 1 comment · Fixed by #12782 or #14207
Closed

cppo_ocamlbuild missing depends on ocamlfind #12640

gares opened this issue Sep 17, 2018 · 1 comment · Fixed by #12782 or #14207

Comments

@gares
Copy link
Contributor

gares commented Sep 17, 2018

gares@gargamel:/tmp$ opam install -y cppo_ocamlbuildThe following actions will be performed:
  - install cppo_ocamlbuild 1.6.0

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[cppo_ocamlbuild] Archive in cache

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of cppo_ocamlbuild failed at "jbuilder build -p
        cppo_ocamlbuild -j 2".

#=== ERROR while installing cppo_ocamlbuild.1.6.0 =============================#
# opam-version 1.2.2
# os           linux
# command      jbuilder build -p cppo_ocamlbuild -j 2
# path         /tmp/xxx/4.02.3/build/cppo_ocamlbuild.1.6.0
# compiler     4.02.3
# exit-code    1
# env-file     /tmp/xxx/4.02.3/build/cppo_ocamlbuild.1.6.0/cppo_ocamlbuild-18926-1872ec.env
# stdout-file  /tmp/xxx/4.02.3/build/cppo_ocamlbuild.1.6.0/cppo_ocamlbuild-18926-1872ec.out
# stderr-file  /tmp/xxx/4.02.3/build/cppo_ocamlbuild.1.6.0/cppo_ocamlbuild-18926-1872ec.err
### stderr ###
# [...]
# 5 | (ocamlyacc (cppo_parser))
#     ^^^^^^^^^^^^^^^^^^^^^^^^^
# Warning: File cppo_parser.mli is both generated by a rule and present in the source tree.
# As a result, the rule is currently ignored, however this will become an error in the future.
# To keep the current behavior and get rid of this warning, add a field (fallback) to the rule.
# File "ocamlbuild_plugin/jbuild", line 8, characters 14-24:
# 8 |   (libraries (ocamlbuild))))
#                   ^^^^^^^^^^
# Error: Library "ocamlbuild" not found.
# Hint: try: dune external-lib-deps --missing -p cppo_ocamlbuild @install



=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions failed
  - install cppo_ocamlbuild 1.6.0
No changes have been performed
gares@gargamel:/tmp$ opam install -y ocamlfind
The following actions will be performed:
  - install ocamlfind 1.8.0

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ocamlfind] Archive in cache

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-> installed ocamlfind.1.8.0
Done.
gares@gargamel:/tmp$ opam install -y cppo_ocamlbuild
The following actions will be performed:
  - install cppo_ocamlbuild 1.6.0

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[cppo_ocamlbuild] Archive in cache

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-> installed cppo_ocamlbuild.1.6.0
Done.
gares@gargamel:/tmp$ 
gares pushed a commit to LPCIC/elpi that referenced this issue Sep 17, 2018
@gares gares mentioned this issue Sep 24, 2018
mseri added a commit to mseri/opam-repository that referenced this issue Oct 11, 2018
See ocaml#12640

Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
mseri added a commit to mseri/opam-repository that referenced this issue Oct 12, 2018
See ocaml#12640

Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
@db4
Copy link

db4 commented May 28, 2019

ocamlfind dependency is missing again in cppo_ocamlbuild 1.6.6. Can someone reopen the issue?

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